Use the TokenHub console
Activate TokenHub, prepare resources, connect AI coding tools, monitor calls, and manage asynchronous tasks.
Use the TokenHub console to prepare account access, activate the product, purchase resources, connect AI coding tools, and monitor model calls.
1. Sign in and activate TokenHub
- Sign in to the InnoPaaS console.
- Open the TokenHub product.
- Follow the activation prompt to enable TokenHub for the current Workspace.
- Confirm that the account has a valid payment method or an available resource package.
2. Prepare resources
TokenHub uses prepaid resource packages. Before production use, estimate model traffic and purchase enough capacity for a test window and a production window. Resource use is reported by model, so a single package can serve multiple models while consumption is tracked separately.
3. Connect AI coding tools
- Choose the protocol required by your tool: OpenAI-compatible, Anthropic-compatible, or Gemini-compatible.
- Set the provider base URL to
https://router.chbcloud.com/v1for OpenAI-compatible tools, orhttps://router.chbcloud.comfor Anthropic- and Gemini-compatible tools. - Enter the TokenHub credential issued for the tool in its secret or credential field. Do not use an InnoPaaS account API key; TokenHub credentials are managed separately.
- Restart the tool after changing the provider configuration.
- Send one short prompt and confirm the request in the TokenHub usage log.
Use one TokenHub credential per tool or environment so usage, quota, and incident handling remain easy to separate.
4. Monitor requests
Use model monitoring and usage logs to answer these questions:
- Which model consumed the most tokens?
- Did failures cluster around one model, region, or time window?
- Was a request rejected before reaching an upstream provider?
- What request ID should be retained for support?
5. Manage asynchronous tasks
Image and video generation APIs often return a task ID before the media is ready. Keep the task ID, check task status until a terminal state is reached, and do not automatically resubmit a generation request after a network timeout. Query the task first to determine whether it was created.
Connect AI coding tools · Call models and check usage · TokenHub FAQ
Last updated on