Skip to content
中文

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:

text
Base URL: https://gptapi.asia
Authorization: Bearer YOUR_API_KEY

If your SDK expects an OpenAI-compatible base URL, use:

text
https://gptapi.asia/v1

Do 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.

GroupRecommended Use
anthropicClaude official channel. This is the best choice for calling Claude models, Anthropic Messages payloads, or Claude-specific workflows.
enterpriseEnterprise 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.
defaultDefault 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.
discountDiscount 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.
  • Calling Claude: create an anthropic token and use Claude model names first.
  • Production systems that need the widest model coverage: create an enterprise token.
  • Regular application traffic: use a default token.
  • Domestic model testing, batch jobs, or cost-sensitive workloads: use a discount token.

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.