The definitive guide to integrating TokenBUS into your production stack.
Initialize your connection to TokenBUS in under 60 seconds.
TokenBUS provides a high-performance, OpenAI-compatible gateway. No architectural changes are required—simply update your API key and Base URL to begin.
Access your Dashboard to create a unique API key (sk-...).
?️ Security Recommendation: Immediately configure Usage Quotas in your dashboard settings after key creation. This prevents unauthorized credit depletion in the event of a leaked credential.
Point your application to our global edge gateway:
Verify your integration with DeepSeek-V4-Flash (High Speed / Low Latency):
curl https://api.tokenbus.org/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_TOKENBUS_KEY" \ -d '{ "model": "deepseek-v4-flash", "messages": [{"role": "user", "content": "Ping!"}] }'
A common point of failure in API integration is incorrect path concatenation. TokenBUS follows industry-standard routing logic to ensure compatibility across all SDKs and manual integrations.
/v1/chat/completions to the provided URL.curl, Postman).| Integration Scenario | Field Name | Recommended URL |
|---|---|---|
| SDK / Integrated Software | API Base / Base URL | https://api.tokenbus.org/ |
| Native HTTP Request | POST URL | https://api.tokenbus.org/v1/chat/completions |
https://api.tokenbus.org/v1, some SDKs may attempt to call .../v1/v1/..., resulting in a 404 Not Found error.https://api.tokenbus.org/ without additional pathing for maximum compatibility.