Your privacy choices

Allow optional cookies for referral attribution, visit analytics, and Google Ads purchase measurement.

Chinese LLM API

Buy a Chinese LLM API key from outside China

Kimi, Qwen, GLM, DeepSeek, MiniMax, Doubao, MiMo and StepFun behind a single OpenAI-compatible endpoint. No China payment method, no per-provider signup, no separate SDKs.

Compare token costs

Input / 1M¥8.00
Output / 1M¥24.00
Cached input / 1M¥1.00
Effective rate per 1M¥10.6667
Estimated monthly cost¥128.00

CNY per million tokens. This estimates metered usage, not the cash price of a prepaid package.

Make a test API call qwen3.8-max · cURL

Set GATEWAY_API_KEY in your terminal. Running this request uses credits. The response reports input and output tokens in usage.prompt_tokens and usage.completion_tokens.

curl -sS 'https://api.llm-token.cn/v1/chat/completions' \
  -H "Authorization: Bearer ${GATEWAY_API_KEY:?Set GATEWAY_API_KEY}" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "qwen3.8-max",
  "messages": [
    {
      "role": "user",
      "content": "Reply with OK."
    }
  ]
}
JSON

One gateway vs. signing up with each Chinese provider

You can integrate each Chinese model vendor directly, or reach them all through one compatible endpoint. Here is the difference for an overseas developer.

This gatewayDirect per-provider
Accounts to manageOne key for all supported Chinese modelsOne account and key per provider
API formatOpenAI Chat Completions / Responses compatibleVaries by provider, sometimes China-only SDKs
PaymentPrepaid API credits in USDOften requires a domestic China payment method
Overseas accessSingle overseas-reachable endpointSome endpoints are geofenced or domestic-only
Switching modelsChange the model string, keep the codeRe-integrate per provider
Direct vendor featuresCommon surface; vendor-specific extras may not pass throughFull vendor-specific feature set

Who this is for

A good fit if you

  • Are outside mainland China and want to call Kimi, Qwen, GLM, or DeepSeek
  • Don't want to manage a separate account, key, and SDK per provider
  • Can't easily get a domestic Chinese payment method
  • Want OpenAI-compatible calls so your existing client just works

Not the right fit if you

  • Need a provider-specific feature that only the vendor's native API exposes
  • Require a contract signed directly with the model vendor
  • Depend on a Chinese model this gateway does not route

Honest limitations

What an aggregating gateway can and cannot do.

  • Vendor-specific parameters or beta features may not pass through a compatible surface.
  • Pay in USD for prepaid API credits. Model rates are listed in CNY. Usage depends on the model and its input, output and cache rates.
  • The catalog is curated — confirm your target model is on the pricing page.
  • We do not publish overseas latency numbers we have not measured. Latency depends on your region; test first.

Make your first Chinese model API call

Choose a Kimi, Qwen, GLM or DeepSeek model from the model and pricing catalog. Use its exact model ID, not the family name. For this example, choose a model enabled for your key that supports Chat Completions.

With the Python openai package installed, set GATEWAY_API_KEY and GATEWAY_MODEL in your environment. Running the example uses your API credit.

import os
from openai import OpenAI

client = OpenAI(base_url="https://api.llm-token.cn/v1", api_key=os.environ["GATEWAY_API_KEY"])
reply = client.chat.completions.create(
    model=os.environ["GATEWAY_MODEL"],
    messages=[{"role": "user", "content": "Reply with OK."}],
)
print(reply.choices[0].message.content)

Using a coding client instead? Follow the OpenCode configuration guide.

MiMo-V2.6 Pro/Flash API: Pricing, Benchmarks & CodeMidas

Choose MiMo-V2.6 Pro or Flash with the AA 46-point context, $3.47M Live RL disclosure, CodeMidas method, official cached API prices, and platform multipliers.

Chinese LLM API — FAQ

Can I call Chinese models from outside China?

Yes. The gateway exposes a single overseas-reachable, OpenAI-compatible endpoint that routes to Kimi, Qwen, GLM, DeepSeek and more, so you don't depend on geofenced domestic endpoints.

Do I need a Chinese phone number or payment method?

Use international checkout to buy credits in USD with one account for the gateway.

Will my OpenAI SDK code work?

Yes for Chat Completions and Responses-style calls. Set the base URL to https://api.llm-token.cn/v1 and change the model string to the Chinese model you want.

Which Chinese models are supported?

Kimi, Qwen, GLM, DeepSeek, MiniMax, Doubao, MiMo and StepFun families today. Check the pricing page for the current list and per-model multipliers.

Get Chinese model API access today

Buy one key, point your OpenAI client at the gateway, and ask Telegram support for the fastest route if you are outside China.