每百万 Token 多少钱?2026 年主流 LLM API 价格全表
> 核心结论:2026 年 LLM API 价格从 $0.05/M Input(GPT-5 Nano)到 $168.00/M Output(GPT-5.2 Pro),跨度超过 3,360 倍。最便宜的 5 个模型:GPT-5 Nano、Gemini Flash-Lite、GPT-4.1 Nano、Grok 4.1 Fast、DeepSeek V3.2。
>
> 数据来源:各平台官方定价页(2026 年 5 月);TLDL;PricePerToken;CostGoat;MorphLLM
---
一、完整定价表
OpenAI 全系列
| 模型 | Input/M | Output/M | 缓存 Input/M | Batch Input/M | Batch Output/M | 上下文 |
|---|---|---|---|---|---|---|
| **GPT-5 Nano** | **$0.05** | **$0.40** | $0.0125 | $0.025 | $0.20 | 128K |
| **GPT-4.1 Nano** | **$0.10** | **$0.40** | $0.025 | $0.05 | $0.20 | **1M** |
| **GPT-5 Mini** | $0.25 | $2.00 | $0.0625 | $0.125 | $1.00 | 200K |
| **GPT-4.1 Mini** | $0.40 | $1.60 | $0.10 | $0.20 | $0.80 | **1M** |
| **GPT-5** | $1.25 | $10.00 | $0.3125 | $0.625 | $5.00 | 200K |
| GPT-5.2 | $1.75 | $14.00 | $0.4375 | $0.875 | $7.00 | 200K |
| GPT-4.1 | $2.00 | $8.00 | $0.50 | $1.00 | $4.00 | **1M** |
| GPT-5.4 | $2.50 | $10.00 | $0.625 | $1.25 | $5.00 | 200K |
| GPT-5.2 Pro | $21.00 | $168.00 | $5.25 | $10.50 | $84.00 | 200K |
| o4-mini | $1.10 | $4.40 | — | $0.55 | $2.20 | 200K |
| o3 | $2.00 | $8.00 | — | $1.00 | $4.00 | 200K |
| o3-pro | $20.00 | $80.00 | — | $10.00 | $40.00 | 200K |
> 详细分析见 openai-api-pricing-2026
Anthropic Claude 系列
| 模型 | Input/M | Output/M | 缓存 Input/M | 上下文 |
|---|---|---|---|---|
| **Claude Haiku 4.5** | **$1.00** | **$5.00** | $0.10 (90%) | 200K |
| **Claude Sonnet 4.6** | **$3.00** | **$15.00** | $0.30 (90%) | 200K |
| **Claude Opus 4.6** | **$5.00** | **$25.00** | $0.50 (90%) | **1M** |
> 详细分析见 anthropic-api-pricing-2026
Google Gemini 系列
| 模型 | Input/M | Output/M | 缓存 Input/M | 上下文 |
|---|---|---|---|---|
| **Gemini 2.5 Flash-Lite** | **$0.10** | **$0.40** | $0.01 (90%) | **1M** |
| **Gemini 2.5 Flash** | **$0.30** | **$2.50** | $0.03 (90%) | **1M** |
| **Gemini 2.5 Pro** | **$1.25** | **$10.00** | $0.125 (90%) | **2M** |
| Gemini 3.1 Pro | $2.00 | $12.00 | $0.20 (90%) | 2M |
| Gemini 3 Flash | $0.50 | $3.00 | $0.05 (90%) | 1M |
> 详细分析见 google-gemini-api-pricing-2026
DeepSeek
| 模型 | Input/M | Output/M | 缓存 Input/M | 上下文 | 免费额度 |
|---|---|---|---|---|---|
| **DeepSeek V3.2** | **$0.28** | **$0.42** | $0.14 (50%) | 128K | $5 |
> 详细分析见 deepseek-api-pricing-2026
xAI Grok 系列
| 模型 | Input/M | Output/M | 缓存 Input/M | 上下文 | 免费额度 |
|---|---|---|---|---|---|
| **Grok 4.1 Fast** | **$0.20** | **$0.50** | $0.10 | **2M** | $25 |
| **Grok 4** | **$3.00** | **$15.00** | $1.50 | **2M** | $25 |
> 详细分析见 xai-grok-api-pricing-2026
Mistral AI
| 模型 | Input/M | Output/M | 上下文 | 类型 |
|---|---|---|---|---|
| **Mistral Small** | **$0.20** | **$0.60** | 128K | 开源 |
| **Mistral Medium** | **$0.50** | **$1.50** | 128K | 开源 |
| **Mistral Large 3** | **$2.00** | **$6.00** | 200K | 闭源 |
| Mistral Embed | $0.02 | — | — | 嵌入模型 |
> 详细分析见 mistral-api-pricing-2026
Together AI(热门开源模型)
| 模型 | Input/M | Output/M | 说明 |
|---|---|---|---|
| **Llama 4 Maverick** | **$0.90** | **$0.90** | Meta 旗舰开源 |
| Llama 4 Scout | $0.25 | $0.25 | 轻量级 |
| DeepSeek V3.2 | $0.30 | $0.45 | 比原生稍贵 |
| DeepSeek R1 | $0.80 | $0.80 | 推理模型 |
| Mistral Small | $0.18 | $0.55 | 比原生稍便宜 |
Fireworks AI(热门开源模型)
| 模型 | Input/M | Output/M | 说明 |
|---|---|---|---|
| Llama 4 Maverick | $1.00 | $1.00 | 比 Together 贵 |
| Llama 4 Scout | $0.20 | $0.20 | 比 Together 便宜 |
| DeepSeek V3.2 | $0.28 | $0.42 | 与原生一致 |
| Mistral Small | $0.15 | $0.45 | 最便宜的 Mistral Small |
> Together vs Fireworks 详细对比见 together-ai-fireworks-pricing-2026
---
二、按价格排序(从低到高)
Input 价格 TOP 10
| 排名 | 模型 | Input/M |
|---|---|---|
| 🥇 | **GPT-5 Nano** | **$0.05** |
| 🥈 | Gemini 2.5 Flash-Lite | $0.10 |
| 🥈 | GPT-4.1 Nano | $0.10 |
| 4 | Grok 4.1 Fast | $0.20 |
| 4 | Mistral Small | $0.20 |
| 6 | GPT-5 Mini | $0.25 |
| 6 | Llama 4 Scout (Together) | $0.25 |
| 8 | DeepSeek V3.2 | $0.28 |
| 9 | Gemini 2.5 Flash | $0.30 |
| 10 | DeepSeek V3.2 (Together) | $0.30 |
Output 价格 TOP 10
| 排名 | 模型 | Output/M |
|---|---|---|
| 🥇 | **GPT-5 Nano** | **$0.40** |
| 🥇 | Gemini 2.5 Flash-Lite | $0.40 |
| 🥇 | GPT-4.1 Nano | $0.40 |
| 🥇 | DeepSeek V3.2 | **$0.42** |
| 5 | Grok 4.1 Fast | $0.50 |
| 6 | Mistral Small | $0.60 |
| 7 | DeepSeek R1 (Together) | $0.80 |
| 8 | Llama 4 Maverick | $0.90 |
| 9 | GPT-4.1 Mini | $1.60 |
| 10 | GPT-5 Mini | $2.00 |
---
三、Batch API 价格全表
Batch API 全部是标准价格的 50%:
| 模型 | Batch Input/M | Batch Output/M |
|---|---|---|
| GPT-5 Nano | $0.025 | $0.20 |
| GPT-4.1 Nano | $0.05 | $0.20 |
| Gemini 2.5 Flash-Lite | $0.05 | $0.20 |
| DeepSeek V3.2 | $0.14 | $0.21 |
| GPT-5 Mini | $0.125 | $1.00 |
| GPT-5 | $0.625 | $5.00 |
| GPT-5.2 Pro | $10.50 | $84.00 |
| Claude Haiku 4.5 | $0.50 | $2.50 |
| Claude Sonnet 4.6 | $1.50 | $7.50 |
> Batch API 详情见 ai-api-batch-processing-discount
---
四、Prompt Caching 折扣对比
| 平台 | 折扣 | 条件 | 效果 |
|---|---|---|---|
| **Google Gemini** | **最高 90%** | 自动缓存 | 最好的缓存折扣 |
| **Anthropic Claude** | **最高 90%** | 系统提示词缓存 | 长提示词非常划算 |
| **OpenAI** | **75%** | 自动缓存 | 稳定可靠 |
| **xAI Grok** | ~50% | 自动缓存 | 中等 |
| **DeepSeek** | **50%** | 自动缓存 | 中等 |
| **Together/Fireworks** | 因模型而异 | 不同模型不同 | 不确定 |
> Prompt Caching 实操指南见 ai-api-prompt-caching-guide
---
五、免费额度一览
| 平台 | 免费额度 | 有效期 | 最佳用途 |
|---|---|---|---|
| **Google Gemini** | **无限 tokens** | 长期(速率限制) | 开发/低流量产品 |
| **xAI Grok** | **$25** | 3-6 个月 | 长上下文项目 |
| **Together AI** | **$25** | 3 个月 | 开源模型测试 |
| **Fireworks AI** | **$25** | 3 个月 | 开源模型测试 |
| **OpenAI** | **$5** | 3 个月 | GPT-5 Nano 入门 |
| **Anthropic** | **$5** | 3 个月 | Claude 测试 |
| **DeepSeek** | **$5** | 6 个月 | V3.2 主力模型 |
| **Mistral** | **~€5** | 3 个月 | 欧洲市场测试 |
> 免费额度对比详解见 ai-api-free-tier-comparison-2026
---
六、价格速查:1M tokens 能做什么?
1M tokens ≈ 750,000 英文单词 ≈ 4-5 部小说
| $1 能买到多少 Input tokens? | 值 |
|---|---|
| GPT-5 Nano | 20M tokens (≈ 15 部小说) |
| Gemini Flash-Lite | 10M tokens |
| DeepSeek V3.2 | 3.6M tokens |
| GPT-5 | 0.8M tokens |
| GPT-5.2 Pro | 0.048M tokens |
| $1 能买到多少 Output tokens? | 值 |
|---|---|
| GPT-5 Nano | 2.5M tokens |
| DeepSeek V3.2 | 2.38M tokens |
| GPT-5 Mini | 0.5M tokens |
| GPT-5 | 0.1M tokens |
| GPT-5.2 Pro | 0.006M tokens |
---
七、价格趋势总结
与 2024 年相比,2026 年 LLM API 价格变化:
| 变化 | 说明 |
|---|---|
| **最低价下降 90%+** | 2024 年最便宜 ~$0.50/M → 2026 年 $0.05/M |
| **高端价格稳定** | GPT-5.2 Pro 等旗舰仍维持高价 |
| **免费额度增加** | Google 无限免费 + 其他平台 $5-$25 |
| **开源价格趋同** | Together/Fireworks 与原生 API 价格接近 |
| **缓存折扣提升** | 从 50% 提升至最高 90% (Gemini/Claude) |
> 价格趋势预测见 ai-api-pricing-future-trends-2026-2027
---
*数据更新于 2026 年 5 月。价格可能随时变化,请以各平台官方定价页为准。建议使用 TLDL 或 PricePerToken 等第三方追踪工具实时监控价格变动。*