OpenRouter migration

A focused OpenRouter alternative for Chinese frontier AI models

SmarToken gives global developers one OpenAI-compatible API for DeepSeek, Qwen, Kimi, GLM, Doubao, Hunyuan and MiniMax. Keep familiar SDKs while moving China-model traffic to a gateway built for that job.

China-first catalog

Model pages, use cases and pricing focus on DeepSeek, Qwen, Kimi, GLM and other Chinese families.

Low-friction migration

Common OpenRouter-style aliases are normalized so SDK code needs fewer model-name changes.

Production controls

Budget-limited keys, usage logs and prepaid balance help teams test Chinese models without runaway spend.

Change the base URL and key

If your OpenRouter traffic is mostly Chinese models, the migration path can be as small as replacing credentials and keeping the model alias.

const client = new OpenAI({
  apiKey: process.env.OPENROUTER_API_KEY,
  baseURL: "https://openrouter.ai/api/v1",
});

await client.chat.completions.create({
  model: "deepseek/deepseek-chat",
  messages,
});
const client = new OpenAI({
  apiKey: process.env.SMTOKEN_API_KEY,
  baseURL: "https://thesmartoken.com/v1",
});

await client.chat.completions.create({
  model: "deepseek/deepseek-chat",
  messages,
});

Alias map

OpenRouter-style IDs for Chinese models

Inspect /v1/models
SmarToken modelProviderOpenRouter-style aliasesBest for
deepseek-chatDeepSeekdeepseek/deepseek-chatcoding copilots, support agents
kimi-k2Moonshot AImoonshot/kimi-k2research assistants, codebase analysis
qwen-plusAlibaba Cloudqwen/qwen-plus, alibaba/qwen-plusmultilingual chat, structured extraction
glm-4-flashZ.aiz-ai/glm-4-flash, thudm/glm-4-flashinternal tools, knowledge assistants
doubao-seedByteDancebytedance/doubao-seedconsumer chat, content workflows
ernie-4-turboBaidubaidu/ernie-4-turboChinese knowledge QA, enterprise search
hunyuan-turbosTencent Cloudtencent/hunyuan-turbosenterprise assistants, code generation
minimax-m2MiniMaxminimax/minimax-m2coding agents, tool-use workflows
step-3StepFunstepfun/step-3coding tools, agent platforms
baichuan4-turboBaichuan AIbaichuan/baichuan4-turbodomain assistants, Chinese knowledge QA

Is SmarToken a full OpenRouter replacement?

SmarToken is not trying to mirror every global model on OpenRouter. It is a focused alternative for teams whose priority is Chinese frontier models such as DeepSeek, Qwen, Kimi, GLM, Doubao, Hunyuan and MiniMax.

Can I keep using the OpenAI SDK?

Yes. Keep the OpenAI SDK, set baseURL to https://thesmartoken.com/v1, use a SmarToken API key and choose a supported model ID or OpenRouter-style alias.

Which OpenRouter-style model IDs work?

Common Chinese model aliases such as deepseek/deepseek-chat, qwen/qwen-plus and moonshot/kimi-k2 are normalized to SmarToken model IDs.

Get API Key