TokenHub FAQ
Common answers about TokenHub access, protocols, model selection, streaming, security, and billing.
Answers to common questions about TokenHub access, protocols, model selection, timeouts, security, and billing.
Access and authentication
Where do I create a TokenHub API key?
Create it in the TokenHub console. Copy the key once and store it in a server-side secret manager. See Create API keys.
Why does my request return 401?
Check that the key exists, has not been revoked, and was copied without extra spaces. Then confirm the protocol and header: OpenAI and Gemini-compatible requests use Authorization: Bearer, while Anthropic-compatible tools use the Anthropic authentication convention.
Model selection
How do I confirm a model ID?
Call GET /v1/models and copy the ID exactly. Model IDs are case-sensitive and may use hyphens or periods.
Can I use Claude through the Responses API?
Last updated on