Get Base URL and API Key
The Base URL is usually the API domain provided by the platform. You can also find it in the console. API keys are created and managed on the token page.
Basic Configuration
Most YutoAPI integrations only need two values:
Base URL: https://gptapi.asia
Authorization: Bearer YOUR_API_KEYIf your SDK expects an OpenAI-compatible base URL, use:
https://gptapi.asia/v1Do not put real API keys in frontend code, public repositories, logs, screenshots, or configuration files that third parties can access.
Token Groups
When creating or editing a token, choose a token group. The group controls which model channel the key should prefer, so you can separate different services, model families, and reliability requirements.
| Group | Recommended Use |
|---|---|
anthropic | Claude official channel. This is the best choice for calling Claude models, Anthropic Messages payloads, or Claude-specific workflows. |
enterprise | Enterprise channel. Use it for production services, complex workflows, and mixed-model workloads. This group is designed for the broadest model compatibility, so all models stay as open as possible. |
default | Default channel. Use it for daily development, testing, and normal production calls. Most models are available here, so it is the safe default when you are unsure which group to choose. |
discount | Discount channel. Use it for Chinese domestic models, batch tests, lower-cost experiments, and non-critical tasks. Choose this group when you want discounted access to domestic models. |
Recommended Setup
- Calling Claude: create an
anthropictoken and use Claude model names first. - Production systems that need the widest model coverage: create an
enterprisetoken. - Regular application traffic: use a
defaulttoken. - Domestic model testing, batch jobs, or cost-sensitive workloads: use a
discounttoken.
Create separate tokens for production services, staging, local development, and batch jobs. This lets you disable, rotate, or troubleshoot one workload without affecting the others.