AI API Pricing Hub: Compare Token Costs Across Providers

Compare pricing for OpenAI, Anthropic, Google, DeepSeek, xAI, Groq, and more in one place. Filter by brand, price, context length, and capabilities.

๐Ÿ”ฅ Model Pricing Overview

Click price to open calculator, check models to compare ยท 100 models

Clear Filters
Brand Model Input /1M Output /1M Context Capabilities
Inclusionai Inclusionai Ling 3.0 Tiny (free) Free Long Free Free 262k
chatreasoningtool_use
DeepSeek DeepSeek DeepSeek V4 Flash Latest Long $0.09 $0.18 1.0M
chatcodereasoningtool_use
DeepSeek DeepSeek DeepSeek V4 Flash 0731 Long $0.14 $0.28 1.0M
chatcodereasoningtool_use
Inclusionai Inclusionai Ling-3.0-flash Long $0.02 $0.06 262k
chatreasoningtool_use
Poolside Poolside Laguna S 2.1 (free) Free Long Free Free 262k
chatreasoningtool_use
Poolside Poolside Laguna S 2.1 Long $0.09 $0.18 1.0M
chatreasoningtool_use
Meituan Meituan LongCat 2.0 Long $0.30 $1.20 1.0M
chatreasoningtool_use
Kwaipilot Kwaipilot KAT-Coder-Air V2.5 Long $0.15 $0.60 256k
chatcodetool_use
Kwaipilot Kwaipilot KAT-Coder-Pro V2.5 Long $0.74 $2.96 256k
chatcodetool_use
Aion Labs Aion Labs Aion-3.0-Mini $0.70 $1.40 131k
chatreasoningtool_use
Aion Labs Aion Labs Aion-3.0 $3.00 $6.00 131k
chatreasoningtool_use
Tencent Tencent Hy3 Long $0.14 $0.58 262k
chatreasoningtool_use
Poolside Poolside Laguna XS 2.1 (free) Free Long Free Free 262k
chatreasoningtool_use
Poolside Poolside Laguna XS 2.1 Long $0.06 $0.12 262k
chatreasoningtool_use
Cohere Cohere North Mini Code (free) Free Long Free Free 256k
chatcodereasoningtool_use
Zhipu Ai Zhipu Ai GLM 5.2 (batch) Long $0.70 $2.20 512k
chatreasoningtool_use
Zhipu Ai Zhipu Ai GLM 5.2 Long $1.40 $4.40 1.0M
chatreasoningtool_use
OpenRouter OpenRouter Fusion Long $-1000000.0000 $-1000000.0000 1.0M
chat
NVIDIA NVIDIA Nemotron 3 Ultra (free) Free Long Free Free 1.0M
chatreasoningtool_use
NVIDIA NVIDIA Nemotron 3 Ultra (batch) Long $0.30 $1.80 512k
chatreasoningtool_use
NVIDIA NVIDIA Nemotron 3 Ultra Long $0.60 $2.40 512k
chatreasoningtool_use
Alibaba Qwen Alibaba Qwen Qwen3.7 Max Long $1.48 $4.42 1.0M
chatcodereasoningtool_use
Inclusionai Inclusionai Ring-2.6-1T Long $0.07 $0.63 262k
chatreasoningtool_use
IBM Granite IBM Granite Granite 4.1 8B $0.05 $0.10 131k
chattool_use
Alibaba Qwen Alibaba Qwen Qwen3.6 Max Preview Long $1.03 $6.16 262k
chatcodereasoningtool_use
DeepSeek DeepSeek DeepSeek V4 Flash 0423 Long $0.14 $0.28 1.0M
chatcodereasoningtool_use
DeepSeek DeepSeek DeepSeek V4 Pro Long $1.17 $2.34 1.0M
chatcodereasoningtool_use
Inclusionai Inclusionai Ling-2.6-1T Long $0.07 $0.63 262k
chattool_use
Tencent Tencent Hy3 preview Long $0.06 $0.21 262k
chatreasoningtool_use
Xiaomi Xiaomi MiMo-V2.5-Pro Long $1.00 $3.00 1.1M
chatreasoningtool_use
OpenRouter OpenRouter Pareto Code Router Long $-1000000.0000 $-1000000.0000 2.0M
chatcode
Inclusionai Inclusionai Ling-2.6-flash Cheapest Long $0.01 $0.03 262k
chattool_use
Zhipu Ai Zhipu Ai GLM 5.1 Long $1.40 $4.40 205k
chatreasoningtool_use
Arcee Ai Arcee Ai Trinity Large Thinking Long $0.25 $0.80 262k
chatreasoningtool_use
Kwaipilot Kwaipilot KAT-Coder-Pro V2 Long $0.30 $1.20 262k
chatcodetool_use
MiniMax MiniMax MiniMax M2.7 Long $0.24 $0.96 205k
chatreasoningtool_use
Zhipu Ai Zhipu Ai GLM 5 Turbo Long $1.20 $4.00 203k
chatreasoningtool_use
NVIDIA NVIDIA Nemotron 3 Super (free) Free Long Free Free 262k
chatreasoningtool_use
NVIDIA NVIDIA Nemotron 3 Super Long $0.17 $0.36 1.0M
chatreasoningtool_use
Inception Inception Mercury 2 $0.25 $0.75 128k
chatreasoningtool_use
Other Other LFM2-24B-A2B Free Free 33k
chattool_use
Aion Labs Aion Labs Aion-2.0 $0.80 $1.60 131k
chatreasoningtool_use
MiniMax MiniMax MiniMax M2.5 Long $0.27 $0.95 205k
chatreasoningtool_use
MiniMax MiniMax MiniMax M2.5 Long $0.30 $1.20 205k
chatreasoningtool_use
Zhipu Ai Zhipu Ai GLM 5 Long $0.60 $2.08 205k
chatreasoningtool_use
Zhipu Ai Zhipu Ai GLM 5 Long $0.72 $2.30 205k
chatreasoningtool_use
OpenRouter OpenRouter Aurora Alpha Free Free Free 128k
chatreasoning
Alibaba Qwen Alibaba Qwen Qwen3 Max Thinking Long $0.78 $3.90 262k
chatcodereasoningtool_use
Alibaba Qwen Alibaba Qwen Qwen3 Max Thinking Long $0.78 $3.90 262k
chatcodereasoningtool_use
OpenRouter OpenRouter Pony Alpha Free Long Free Free 200k
chatreasoning
Alibaba Qwen Alibaba Qwen Qwen3 Coder Next Long $0.12 $0.75 262k
chatcodetool_use
Alibaba Qwen Alibaba Qwen Qwen3 Coder Next Long $0.12 $0.80 262k
chatcodetool_use
Stepfun Stepfun Step 3.5 Flash (free) Long $0.10 $0.30 262k
chatreasoningtool_use
Stepfun Stepfun Step 3.5 Flash (free) Long $0.10 $0.30 262k
chatreasoningtool_use
Upstage Upstage Solar Pro 3 $0.15 $0.60 131k
chatreasoningtool_use
Upstage Upstage Solar Pro 3 $0.15 $0.60 131k
chatreasoningtool_use
Other Other Trinity Large Preview (free) Free Free Free 131k
chattool_use
MiniMax MiniMax MiniMax M2-her $0.30 $1.20 66k
chat
Writer Writer Palmyra X5 Long $0.60 $6.00 1.0M
chat
Other Other LFM2.5-1.2B-Thinking (free) Free Free Free 33k
chatreasoningtool_use
Other Other LFM2.5-1.2B-Instruct (free) Free Free Free 33k
chattool_use
Zhipu Ai Zhipu Ai GLM 4.7 Flash Long $0.06 $0.40 203k
chatreasoningtool_use
Zhipu Ai Zhipu Ai GLM 4.7 Flash Long $0.06 $0.40 203k
chatreasoningtool_use
Allen AI Allen AI Olmo 3.1 32B Instruct $0.20 $0.60 66k
chattool_use
MiniMax MiniMax MiniMax M2.1 Long $0.27 $0.95 205k
chatreasoningtool_use
MiniMax MiniMax MiniMax M2.1 Long $0.30 $1.20 205k
chatreasoningtool_use
Zhipu Ai Zhipu Ai GLM 4.7 Long $0.38 $1.98 205k
chatreasoningtool_use
Zhipu Ai Zhipu Ai GLM 4.7 Long $0.40 $1.50 205k
chatreasoningtool_use
Zhipu Ai Zhipu Ai GLM 4.7 Long $0.60 $2.20 205k
chatreasoningtool_use
Allen AI Allen AI Olmo 3.1 32B Think $0.15 $0.50 66k
chatreasoningtool_use
Mistral Mistral Mistral Small Creative $0.10 $0.30 33k
chattool_use
NVIDIA NVIDIA Nemotron 3 Nano 30B A3B (free) Free Long Free Free 256k
chatreasoningtool_use
Other Other MiMo-V2-Flash (free) Long Free Free 262k
chatreasoningtool_use
NVIDIA NVIDIA Nemotron 3 Nano 30B A3B Long Free Free 262k
chatreasoningtool_use
NVIDIA NVIDIA Nemotron 3 Nano 30B A3B Long $0.05 $0.20 262k
chatreasoningtool_use
NVIDIA NVIDIA Nemotron 3 Nano 30B A3B Long $0.05 $0.20 262k
chatreasoningtool_use
NVIDIA NVIDIA Nemotron 3 Nano 30B A3B Long $0.06 $0.24 262k
chatreasoningtool_use
Other Other MiMo-V2-Flash (free) Long $0.09 $0.29 262k
chatreasoningtool_use
Mistral Mistral Devstral 2 2512 Long $0.05 $0.22 262k
chattool_use
Mistral Mistral Devstral 2 2512 Long $0.40 $2.00 262k
chattool_use
Other Other DeepSeek V3.1 Nex N1 $0.27 $1.00 131k
chattool_use
Relace Relace Relace Search Long $1.00 $3.00 256k
chattool_use
Other Other Rnj 1 Instruct $0.15 $0.15 33k
chatreasoningtool_use
OpenRouter OpenRouter Body Builder (beta) $-1000000.0000 $-1000000.0000 128k
chat
OpenRouter OpenRouter Body Builder (beta) Free Free 128k
chat
OpenRouter OpenRouter Body Builder (beta) Free Free 128k
chat
Other Other Trinity Mini Free Free 131k
chatreasoningtool_use
Other Other Trinity Mini $0.04 $0.15 131k
chatreasoningtool_use
DeepSeek DeepSeek DeepSeek V3.2 $0.25 $0.38 164k
chatcodereasoningtool_use
DeepSeek DeepSeek DeepSeek V3.2 $0.26 $0.38 164k
chatcodereasoningtool_use
DeepSeek DeepSeek DeepSeek V3.2 Speciale $0.27 $0.41 164k
chatreasoningtool_use
DeepSeek DeepSeek DeepSeek V3.2 Speciale $0.40 $1.20 164k
chatreasoningtool_use
DeepSeek DeepSeek DeepSeek V3.2 $0.56 $1.68 164k
chatcodereasoningtool_use
Other Other INTELLECT-3 $0.20 $1.10 131k
chatreasoningtool_use
Other Other R1T Chimera Free Free Free 164k
chatreasoning
Other Other R1T Chimera Free Free Free 164k
chatreasoning
Allen AI Allen AI Olmo 3 7B Think $0.12 $0.20 66k
chatreasoningtool_use
Allen AI Allen AI Olmo 3 32B Think $0.15 $0.50 66k
chatreasoning
Allen AI Allen AI Olmo 3 32B Think $0.15 $0.50 66k
chatreasoning
Allen AI Allen AI Olmo 3 7B Instruct $0.10 $0.20 66k
chattool_use
๐Ÿ“ฆ

Browse by Brand

OpenAI / Anthropic / Google / DeepSeek / xAI / Groq / Mistral

View All Brands โ†’
๐Ÿ’ฐ

Find Cheapest

Chat: Ling-2.6-flash $0.01/1M

Compare More โ†’
๐Ÿงฎ

Cost Calculator

Enter your token usage, get instant monthly cost & cheaper alternatives

Open Calculator โ†’

Browse by Brand

Click a brand to view all models and pricing

OpenAI
153 models
Free - $150.00
Anthropic
66 models
Free - $30.00
Google
96 models
Free - $2.00
DeepSeek
52 models
Free - $1.17
Meta
48 models
Free - $4.00
Mistral
65 models
Free - $2.00
xAI
26 models
Free - $3.00
Cohere
15 models
Free - $2.50
Amazon
5 models
$0.04 - $2.50
Alibaba Qwen
137 models
Free - $2.00
NVIDIA
29 models
Free - $1.20
Microsoft
22 models
Free - $0.62
Databricks
2 models
Free - Free
IBM Granite
2 models
$0.02 - $0.05
Nous Research
33 models
Free - $1.00
Perplexity
21 models
Free - $3.00
Phind
2 models
Free - Free
Black Forest Labs
4 models
Free - Free
Allen AI
12 models
Free - $0.20
MiniMax
12 models
$0.15 - $0.40
Moonshot AI
24 models
Free - $3.00
Baidu
5 models
$0.07 - $0.42
ByteDance
6 models
Free - $0.10
Tencent
3 models
$0.06 - $0.14
OpenRouter
39 models
$-1000000.0000 - Free
Xiaomi
2 models
$0.14 - $1.00
Writer
1 models
$0.60 - $0.60
Upstage
2 models
$0.15 - $0.15
Undi95
2 models
$0.45 - $0.45
Thinkingmachines
3 models
$0.50 - $1.00
Thedrummer
6 models
$0.17 - $0.55
Stepfun
3 models
$0.10 - $0.20
Sao10K
5 models
$0.04 - $0.85
Sakana
1 models
$5.00 - $5.00
Relace
2 models
$0.85 - $1.00
Rekaai
4 models
Free - $0.10
Poolside
4 models
Free - $0.09
Perceptron
1 models
$0.15 - $0.15
Nex Agi
2 models
$0.03 - $0.25
Morph
2 models
$0.80 - $0.90
Meituan
1 models
$0.30 - $0.30
Mancer
1 models
$0.50 - $0.50
Kwaipilot
3 models
$0.15 - $0.74
Inclusionai
5 models
Free - $0.07
Inception
1 models
$0.25 - $0.25
Gryphe
2 models
$0.06 - $0.40
Deepcogito
1 models
$1.25 - $1.25
Cognitivecomputations
1 models
$0.20 - $0.20
Bytedance Seed
6 models
$0.07 - $0.25
Arcee Ai
2 models
$0.25 - $0.75
Anthracite Org
1 models
$3.00 - $3.00
Aion Labs
4 models
$0.70 - $3.00
Ai21
1 models
$2.00 - $2.00
Zhipu Ai
38 models
Free - $1.40
Other
256 models
Free - $4.50

Find the Cheapest for Your Use Case

Different scenarios need different metrics

๐Ÿ’ฌ

Scenario A: Chat / Customer Service

High concurrency, short output. Prioritize low input + output price.

Recommended: Ling-2.6-flash $0.01 / $0.03
๐Ÿ’ป

Scenario B: Code / Agent

Medium-long output. Focus on output price + code quality.

Recommended: DeepSeek V4 Flash Latest $0.09 / $0.18
๐Ÿง 

Scenario C: Reasoning / Math

Long chain reasoning. Look for reasoning capability + long context.

Recommended: Ling-3.0-flash $0.02 / $0.06

๐Ÿ“Š Price Visualization

Visual comparison of model costs

Cost per 1M Tokens (Input + Output)
Price vs Context Length

If you only need short conversations, you don't need the most powerful model. If you frequently generate long outputs, output price is your main cost driver.

๐Ÿ’ก Understanding Token Costs

  • Tokens are billing units, not equal to words or characters
  • English: 1 token โ‰ˆ 4 characters โ‰ˆ 0.75 words
  • Chinese: 1 token โ‰ˆ 1-2 characters (varies by model)
  • API Cost = Input Tokens ร— Input Price + Output Tokens ร— Output Price

Frequently Asked Questions

It depends on your use case. For short conversations, look at input price. For long outputs, focus on output price. Currently, DeepSeek V3 and Gemini Flash series offer the best value for most use cases.

Use the same metric: $/1M tokens. Compare input and output prices separately, then use the calculator with your actual input/output ratio to estimate real costs.

Use the calculator's text estimation mode. As a rough guide: English 1 token โ‰ˆ 4 characters โ‰ˆ 0.75 words. Chinese 1 token โ‰ˆ 1-2 characters.

Most coding tasks generate longer outputs, so output price usually has more impact on total cost. Consider weighting output price higher in your comparison.

Reasoning models (like o1, DeepSeek R1) typically generate longer thinking chains and output tokens. Consider controlling output length or using cheaper draft models before switching to powerful ones.

We regularly update pricing data from official sources. Check the 'Updated' timestamp at the bottom of each page. For critical decisions, always verify with official pricing pages.

Enter your token usage in the calculator. The system will suggest models with similar context length and capabilities at lower prices.

Different channels (official API vs cloud providers) may have different pricing, billing methods, or regional fees. We label the provider_channel field to distinguish these.