DDTokens
DDTokens is an OpenAI-compatible AI model aggregation and distribution gateway. You can use one API key to access multiple models and migrate existing OpenAI SDK projects to DDTokens.
Start Here
If this is your first time using DDTokens, read these pages in order:
- Quick Start: complete your first API call.
- Create API Key: learn about tokens, quotas, and security recommendations.
- Base URL: configure the
base_urland request path. - Model Pricing: understand token billing, discounts, and invoices.
What You Can Do with DDTokens
Access Models Through One API
Change the base_url in your client to the DDTokens API address to call supported models through an OpenAI-compatible protocol. You do not need to maintain separate integrations for every upstream provider.
Manage Costs and Quotas
DDTokens charges for actual token usage. You can control costs through API keys, account balance, model pricing, benefit tiers, and request logs.
Connect Common Clients
You can use DDTokens with Claude Code, Codex CLI, opencode, Chatbox, Cline, Open WebUI, and other tools. Each client page provides configuration values, verification steps, and troubleshooting advice.
Common Links
Contact
- Telegram: https://t.me/DDTokens
- QQ Group:
1054335639
Documentation Map
- API Overview: OpenAI-compatible endpoints, authentication, and response format.
- Errors & Troubleshooting: handle authentication, balance, rate-limit, timeout, and upstream errors.
- Benefit Tiers: user levels, discounts, rate limits, and free quotas.
- Usage Logs: use request logs to investigate costs, latency, and routing.
- Troubleshooting: diagnose issues by symptom.