# DeepSeek、GLM、Kimi、Qwen、MiniMax 写代码哪个便宜：API 价格对比

> 按官方输入价，今天列出的常用型号里最便宜的是 **glm-5.3-flash**（$0.15 / 百万 token）。这些模型都比 Claude、GPT 的主力型号便宜不少，而且官方都能用人民币充值，不用走中转站。下面是实时价格，能力要用你自己的项目试。

- 网页版：https://tokenprice.cc/guide/domestic-models-cost
- 数据更新：2026-11-04 17:07（北京时间）；正文更新于 2026-11-04，文中价格每小时跟着数据更新
- 来源：TokenPrice（tokenprice.cc），转述请注明出处并附网页链接

- 对照：claude-opus-4-8：**$5 / $25**（官方输入 / 输出）
- 对照：gpt-5.6-sol：**$4 / $20**（官方输入 / 输出）

## 官方 API 价格

| 厂商 | 型号 | 输入 | 输出 | 缓存命中 | 中转站最低 |
| --- | --- | ---: | ---: | ---: | ---: |
| DeepSeek | [deepseek-v4-pro](https://tokenprice.cc/model/deepseek-v4-pro) | $1.32 | $3.96 | $0.044 | ¥0.405 |
| DeepSeek | [deepseek-v4-flash](https://tokenprice.cc/model/deepseek-v4-flash) | $0.3 | $1.2 | $0.006 | ¥0.0983 |
| 智谱 GLM | [glm-5.3](https://tokenprice.cc/model/glm-5.3) | $1.4 | $4.4 | $0.26 | ¥0.48 |
| 智谱 GLM | [glm-5.3-flash](https://tokenprice.cc/model/glm-5.3-flash) | $0.15 | $0.5 | $0.03 | ¥0.0544 |
| Kimi | [kimi-k3](https://tokenprice.cc/model/kimi-k3) | $3 | $15 | $0.3 | ¥1.13 |
| Kimi | [kimi-k3.1-pro](https://tokenprice.cc/model/kimi-k3.1-pro) | $2 | $10 | $0.2 | ¥0.742 |
| 通义千问 Qwen | [qwen3.8-max](https://tokenprice.cc/model/qwen3.8-max) | $2 | $6 | $0.25 | ¥0.72 |
| 通义千问 Qwen | [qwen3.8-flash](https://tokenprice.cc/model/qwen3.8-flash) | $0.15 | $0.47 | $0.016 | ¥0.0716 |

注：美元 / 百万 token（各家国际版标价，国内版用人民币计价，以官网为准）；中转站最低是人民币 / 百万 token。全部型号见 [大模型 API 价格表](https://tokenprice.cc/api-price)。

## 中转站倍率

| 系列 | 进榜中转站 | 最低 | 中位 |
| --- | ---: | ---: | ---: |
| [DeepSeek 中转站榜](https://tokenprice.cc/relay/deepseek) | 1556 家 | 0.05x | 0.6x |
| [GLM 中转站榜](https://tokenprice.cc/relay/glm) | 1337 家 | 0.05x | 0.6x |
| [Kimi 中转站榜](https://tokenprice.cc/relay/kimi) | 1230 家 | 0.05x | 0.6x |
| [Qwen 中转站榜](https://tokenprice.cc/relay/qwen) | 813 家 | 0.05x | 0.8x |
| [MiniMax 中转站榜](https://tokenprice.cc/relay/minimax) | 791 家 | 0.05x | 0.7x |

国产模型官方本身就能直接买，中转站的优势主要是一个 Key 用多家。只用一家的话，先看官方价格。

## 能接进 Claude Code 吗

能。DeepSeek、智谱、月之暗面、阿里云、MiniMax 官方都提供 Anthropic 兼容接口，改地址和 Key 就能在 Claude Code 里用。每家的地址和写法见 [Claude Code 接国产模型](https://tokenprice.cc/guide/claude-code-domestic-models)。中转站卖的多是 OpenAI 格式，Claude Code 能不能用要先问清楚。

## 怎么选

- 先按预算挑两家，用你自己的项目跑同一个任务，比结果和花费。
- 写代码时输出比输入贵，算账别只看输入价；缓存命中价差别也大。
- 上下文长度和工具调用的支持程度不一样，大项目要留意。

## 常见问题

### 国产大模型哪个 API 最便宜？

今天列出的常用型号里，官方输入价最低的是 glm-5.3-flash（$0.15 / 百万 token）。不同型号差别很大，完整列表见 [大模型 API 价格表](https://tokenprice.cc/api-price)。

### 这些模型写代码能代替 Claude 吗？

本站只比价格，没有评测代码能力。建议用你自己的项目各跑一次，日常活交给便宜的模型，难题再用贵的。

### 要不要走中转站？

这些厂商官方可以直接用人民币充值，只用一家通常直接买官方更省事。想一个 Key 用多家，再看中转站。

## 相关攻略

- [Claude Code 接国产模型：DeepSeek、GLM、Kimi、通义千问、MiniMax 配置教程](https://tokenprice.cc/guide/claude-code-domestic-models)
- [Claude Code 一个月要花多少钱：按用量算官方 API、中转站和订阅](https://tokenprice.cc/guide/claude-code-monthly-cost)
- [API 中转站倍率怎么看：充值系数 × 分组倍率，算出真实价格，避开引流价和跑路](https://tokenprice.cc/guide/relay-ratio-guide)

## 更多页面（Markdown 版）

- [Claude Code 怎么用最便宜](https://tokenprice.cc/claude-code.md)
- [Codex 怎么用最便宜](https://tokenprice.cc/codex.md)
- [Cursor Pro 多少钱、哪里买便宜](https://tokenprice.cc/cursor.md)
- [Gemini 编程订阅与 API 怎么买便宜](https://tokenprice.cc/gemini.md)
- [Kiro 账号多少钱、哪里买便宜](https://tokenprice.cc/kiro.md)
- [Claude API 中转站价格榜](https://tokenprice.cc/relay.md)
- [GPT API 中转站价格榜](https://tokenprice.cc/relay/gpt.md)
- [Gemini API 中转站价格榜](https://tokenprice.cc/relay/gemini.md)
- [DeepSeek API 中转站价格榜](https://tokenprice.cc/relay/deepseek.md)
- [GLM API 中转站价格榜](https://tokenprice.cc/relay/glm.md)
- [Kimi API 中转站价格榜](https://tokenprice.cc/relay/kimi.md)
- [Qwen API 中转站价格榜](https://tokenprice.cc/relay/qwen.md)
- [MiniMax API 中转站价格榜](https://tokenprice.cc/relay/minimax.md)
- [Grok API 中转站价格榜](https://tokenprice.cc/relay/grok.md)
- [Claude Pro 多少钱、哪里买](https://tokenprice.cc/claude-code/pro.md)
- [Claude Max 多少钱、哪里买](https://tokenprice.cc/claude-code/max.md)
- [Claude Ultra 多少钱、哪里买](https://tokenprice.cc/claude-code/ultra.md)
- [ChatGPT Go 多少钱、哪里买](https://tokenprice.cc/codex/go.md)
- [ChatGPT Plus 多少钱、哪里买](https://tokenprice.cc/codex/plus.md)
- [ChatGPT Pro $100 多少钱、哪里买](https://tokenprice.cc/codex/pro-100.md)
- [ChatGPT Pro $200 多少钱、哪里买](https://tokenprice.cc/codex/pro-200.md)
- [ChatGPT Business 多少钱、哪里买](https://tokenprice.cc/codex/business.md)
- [Cursor Pro 多少钱、哪里买](https://tokenprice.cc/cursor/pro.md)
- [Google AI Pro 多少钱、哪里买](https://tokenprice.cc/gemini/pro.md)
- [Google AI Ultra 多少钱、哪里买](https://tokenprice.cc/gemini/ultra.md)
- [Kiro 多少钱、哪里买](https://tokenprice.cc/kiro/account.md)
- [大模型 API 价格表](https://tokenprice.cc/api-price.md)
- [大模型 API 价格查询（一个模型一页）](https://tokenprice.cc/model.md)
- [API 中转站大全（一家一页）](https://tokenprice.cc/relay/sites.md)
- [今日价格变动](https://tokenprice.cc/changes.md)
- [订阅还是 API 计算器](https://tokenprice.cc/calculator.md)
- [Claude Code 接中转 API 教程](https://tokenprice.cc/guide/claude-code-api-setup.md)
- [Claude Code 接国产模型](https://tokenprice.cc/guide/claude-code-domestic-models.md)
- [API 中转站比价网站横评](https://tokenprice.cc/guide/relay-price-sites.md)
- [Claude Max 和 Ultra 怎么选](https://tokenprice.cc/guide/claude-max-vs-ultra.md)
- [Codex 怎么用最省钱](https://tokenprice.cc/guide/codex-cheapest.md)
- [Claude 订阅怎么买最便宜](https://tokenprice.cc/guide/claude-subscription-cheapest.md)
- [订阅还是 API 更划算](https://tokenprice.cc/guide/subscription-vs-api.md)
- [中转站倍率怎么看](https://tokenprice.cc/guide/relay-ratio-guide.md)
- [Claude Code 和 Codex 怎么选](https://tokenprice.cc/guide/claude-code-vs-codex.md)
- [Cursor 和 Claude Code 怎么选](https://tokenprice.cc/guide/cursor-vs-claude-code.md)
- [Claude Code 一个月花多少钱](https://tokenprice.cc/guide/claude-code-monthly-cost.md)
- [中转站怎么测真假、防跑路](https://tokenprice.cc/guide/relay-safety-check.md)
- [国产模型写代码哪个便宜](https://tokenprice.cc/guide/domestic-models-cost.md)
- [ChatGPT 哪档适合用 Codex](https://tokenprice.cc/guide/chatgpt-plans-for-codex.md)
- [数据来源与排名方法](https://tokenprice.cc/about.md)
- [全站合集 llms-full.txt](https://tokenprice.cc/llms-full.txt)
