AI Calculator Pro

Output vs input tokens: which costs more?

Need to understand the cost gap between output and input tokens? Tokens are the unit AI providers bill in, and getting the count wrong throws off every cost estimate. This page helps teams optimizing token cost get an accurate count and the cost that follows from it.

Start here: Output Token Cost Calculator

Results update automatically as you type.

Result
$0.00800 per response
~$240.00/month at 1,000 calls/day
Output tokens
800 tokens
Output rate
$10/M
Per response
$0.00800
Per month
$240.00
Model max output
128,000 tokens

Then: Prompt Cost Across All Providers

Paste your prompt. Token count is measured with an accurate tokenizer (o200k_base).

Results update automatically as you type.

Result
Gemma 3 4B IT: $0.0000400 per prompt
~0 input tokens + 500 output tokens across 223 models
Cheapest
Gemma 3 4B IT — $0.0000400
Most expensive
o1-pro — $0.3000
Input tokens(estimated)
0
Gemma 3 4B ITAWS Bedrock$0.0000$0.0000400$0.0000400$0.0400
Google Gemma 3 12BAWS Bedrock$0.0000$0.0000500$0.0000500$0.0500
Ministral 3 3BAWS Bedrock$0.0000$0.0000500$0.0000500$0.0500
Amazon Nova MicroAWS Bedrock$0.0000$0.0000700$0.0000700$0.0700
Phi 4Microsoft$0.0000$0.0000700$0.0000700$0.0700
Command R7BCohere$0.0000$0.0000750$0.0000750$0.0750
Ministral 3 8BAWS Bedrock$0.0000$0.0000750$0.0000750$0.0750
Mistral NemoMistral AI$0.0000$0.0000750$0.0000750$0.0750
Open Mistral NemoMistral AI$0.0000$0.0000750$0.0000750$0.0750
Pixtral 12BMistral AI$0.0000$0.0000750$0.0000750$0.0750
Nemotron 3 Nano 30B A3BNvidia$0.0000$0.000100$0.000100$0.1000
Google Gemma 3 27B InstructAWS Bedrock$0.0000$0.000100$0.000100$0.1000
Ministral 14B 3.0AWS Bedrock$0.0000$0.000100$0.000100$0.1000
Qwen TurboAlibaba$0.0000$0.000100$0.000100$0.1000
NVIDIA Nemotron Nano 9B v2AWS Bedrock$0.0000$0.000115$0.000115$0.1150
Amazon Nova LiteAWS Bedrock$0.0000$0.000120$0.000120$0.1200
NVIDIA Nemotron Nano 3 30BAWS Bedrock$0.0000$0.000120$0.000120$0.1200
Mistral 7BMistral AI$0.0000$0.000125$0.000125$0.1250
Qwen-Omni TurboAlibaba$0.0000$0.000135$0.000135$0.1350
DeepSeek V4 FlashDeepSeek$0.0000$0.000140$0.000140$0.1400
MiMo-V2.5Xiaomi$0.0000$0.000140$0.000140$0.1400
DeepSeek ChatDeepSeek$0.0000$0.000140$0.000140$0.1400
DeepSeek ReasonerDeepSeek$0.0000$0.000140$0.000140$0.1400
MiMo-V2-FlashXiaomi$0.0000$0.000140$0.000140$0.1400
MiMo-V2-OmniXiaomi$0.0000$0.000140$0.000140$0.1400
Gemini 2.0 Flash-LiteGoogle$0.0000$0.000150$0.000150$0.1500
gpt-oss-20bAWS Bedrock$0.0000$0.000150$0.000150$0.1500
Step 3.5 FlashStepFun$0.0000$0.000150$0.000150$0.1500
Llama 4 ScoutMeta$0.0000$0.000170$0.000170$0.1700
GPT-4.1 NanoOpenAI$0.0000$0.000200$0.000200$0.2000
Gemini 2.5 Flash-LiteGoogle$0.0000$0.000200$0.000200$0.2000
Gemini 2.0 FlashGoogle$0.0000$0.000200$0.000200$0.2000
GLM-4.7-FlashZ.ai (Zhipu AI)$0.0000$0.000200$0.000200$0.2000
GLM-4.7-FlashXZ.ai (Zhipu AI)$0.0000$0.000200$0.000200$0.2000
GPT-5 NanoOpenAI$0.0000$0.000200$0.000200$0.2000
Llama-3.3-70B-InstructMeta$0.0000$0.000200$0.000200$0.2000
Qwen FlashAlibaba$0.0000$0.000200$0.000200$0.2000
Qwen2.5-Omni 7BAlibaba$0.0000$0.000200$0.000200$0.2000
GLM-4.7-FlashAWS Bedrock$0.0000$0.000200$0.000200$0.2000
DeepSeek V3.2DeepSeek$0.0000$0.000210$0.000210$0.2100
Nemotron 3 Super 120B A12BNvidia$0.0000$0.000228$0.000228$0.2275
Qwen-MT TurboAlibaba$0.0000$0.000245$0.000245$0.2450
Hunyuan A13B InstructTencent$0.0000$0.000285$0.000285$0.2850
GPT-4o miniOpenAI$0.0000$0.000300$0.000300$0.3000
Llama 3.3 70BMeta$0.0000$0.000300$0.000300$0.3000
Mistral Small 4Mistral AI$0.0000$0.000300$0.000300$0.3000
Command RCohere$0.0000$0.000300$0.000300$0.3000
NVIDIA Nemotron Nano 12B v2 VL BF16AWS Bedrock$0.0000$0.000300$0.000300$0.3000
gpt-oss-120bAWS Bedrock$0.0000$0.000300$0.000300$0.3000
Qwen-VL PlusAlibaba$0.0000$0.000315$0.000315$0.3150
NVIDIA Nemotron 3 Super 120B A12BAWS Bedrock$0.0000$0.000325$0.000325$0.3250
Mixtral 8x7BMistral AI$0.0000$0.000350$0.000350$0.3500
Qwen2.5 7B InstructAlibaba$0.0000$0.000350$0.000350$0.3500
Qwen3 8BAlibaba$0.0000$0.000350$0.000350$0.3500
Hunyuan Hy3Tencent$0.0000$0.000400$0.000400$0.4000
Llama-4-Maverick-17B-128E-Instruct-FP8Meta$0.0000$0.000400$0.000400$0.4000
Qwen3-VL 30B-A3BAlibaba$0.0000$0.000400$0.000400$0.4000
Llama 4 MaverickMeta$0.0000$0.000425$0.000425$0.4250
DeepSeek V4 ProDeepSeek$0.0000$0.000435$0.000435$0.4350
MiMo-V2.5-ProXiaomi$0.0000$0.000435$0.000435$0.4350
MiMo-V2-ProXiaomi$0.0000$0.000435$0.000435$0.4350
Devstral 2Mistral AI$0.0000$0.000450$0.000450$0.4500
GLM-4.6VZ.ai (Zhipu AI)$0.0000$0.000450$0.000450$0.4500
SonarPerplexity$0.0000$0.000500$0.000500$0.5000
Qwen2.5-VL 7B InstructAlibaba$0.0000$0.000525$0.000525$0.5250
GLM-4.5-AirZ.ai (Zhipu AI)$0.0000$0.000550$0.000550$0.5500
Step 3.7 FlashStepFun$0.0000$0.000555$0.000555$0.5550
Qwen3.6 FlashAlibaba$0.0000$0.000563$0.000563$0.5625
MiniMax-M3MiniMax$0.0000$0.000600$0.000600$0.6000
MiniMax-M2.7MiniMax$0.0000$0.000600$0.000600$0.6000
MiniMax-M2MiniMax$0.0000$0.000600$0.000600$0.6000
MiniMax-M2.1MiniMax$0.0000$0.000600$0.000600$0.6000
MiniMax-M2.5MiniMax$0.0000$0.000600$0.000600$0.6000
MiniMax M2AWS Bedrock$0.0000$0.000600$0.000600$0.6000
MiniMax M2.1AWS Bedrock$0.0000$0.000600$0.000600$0.6000
MiniMax M2.5AWS Bedrock$0.0000$0.000600$0.000600$0.6000
Qwen PlusAlibaba$0.0000$0.000600$0.000600$0.6000
GPT-5.4 nanoOpenAI$0.0000$0.000625$0.000625$0.6250
Qwen Plus Character (Japanese)Alibaba$0.0000$0.000700$0.000700$0.7000
Qwen/Qwen3-Next-80B-A3B-InstructAWS Bedrock$0.0000$0.000700$0.000700$0.7000
Qwen2.5 14B InstructAlibaba$0.0000$0.000700$0.000700$0.7000
Qwen3 14BAlibaba$0.0000$0.000700$0.000700$0.7000
Qwen3.6 35B-A3BAlibaba$0.0000$0.000743$0.000743$0.7425
Mistral Large 3Mistral AI$0.0000$0.000750$0.000750$0.7500
Gemini 3.1 Flash LiteGoogle$0.0000$0.000750$0.000750$0.7500
GPT-3.5-turboOpenAI$0.0000$0.000750$0.000750$0.7500
Magistral SmallMistral AI$0.0000$0.000750$0.000750$0.7500
Mistral Large 3AWS Bedrock$0.0000$0.000750$0.000750$0.7500
Qwen/Qwen3-VL-235B-A22B-InstructAWS Bedrock$0.0000$0.000750$0.000750$0.7500
Qwen3 Coder FlashAlibaba$0.0000$0.000750$0.000750$0.7500
GPT-4.1 MiniOpenAI$0.0000$0.000800$0.000800$0.8000
Qwen3-VL PlusAlibaba$0.0000$0.000800$0.000800$0.8000
Qwen3-Omni FlashAlibaba$0.0000$0.000830$0.000830$0.8300
GLM-4.5VZ.ai (Zhipu AI)$0.0000$0.000900$0.000900$0.9000
Qwen3 Coder NextAWS Bedrock$0.0000$0.000900$0.000900$0.9000
GPT-5 MiniOpenAI$0.0000$0.00100$0.00100$1.00
Mistral Medium 3.1Mistral AI$0.0000$0.00100$0.00100$1.00
GPT-5.1 Codex miniOpenAI$0.0000$0.00100$0.00100$1.00
Devstral 2 123BAWS Bedrock$0.0000$0.00100$0.00100$1.00
Qwen3.5 35B-A3BAlibaba$0.0000$0.00100$0.00100$1.00
Qwen3-Next 80B-A3B InstructAlibaba$0.0000$0.00100$0.00100$1.00
GLM-4.5Z.ai (Zhipu AI)$0.0000$0.00110$0.00110$1.10
GLM-4.6Z.ai (Zhipu AI)$0.0000$0.00110$0.00110$1.10
GLM-4.7Z.ai (Zhipu AI)$0.0000$0.00110$0.00110$1.10
GLM-4.7AWS Bedrock$0.0000$0.00110$0.00110$1.10
Qwen3-Coder 30B-A3B InstructAlibaba$0.0000$0.00113$0.00113$1.13
MiniMax-M2.5-highspeedMiniMax$0.0000$0.00120$0.00120$1.20
MiniMax-M2.7-highspeedMiniMax$0.0000$0.00120$0.00120$1.20
Qwen3.5 27BAlibaba$0.0000$0.00120$0.00120$1.20
Qwen3.5 PlusAlibaba$0.0000$0.00120$0.00120$1.20
QwQ PlusAlibaba$0.0000$0.00120$0.00120$1.20
Gemini 2.5 FlashGoogle$0.0000$0.00125$0.00125$1.25
Grok 4.3xAI$0.0000$0.00125$0.00125$1.25
Kimi K2 ThinkingMoonshot AI$0.0000$0.00125$0.00125$1.25
Kimi K2 ThinkingAWS Bedrock$0.0000$0.00125$0.00125$1.25
Grok 4.3AWS Bedrock$0.0000$0.00125$0.00125$1.25
Gemini 3.5 Flash LiteGoogle$0.0000$0.00125$0.00125$1.25
MiMo-V2.5-Pro-UltraSpeedXiaomi$0.0000$0.00130$0.00130$1.31
Qwen2.5 32B InstructAlibaba$0.0000$0.00140$0.00140$1.40
Qwen3 235B-A22BAlibaba$0.0000$0.00140$0.00140$1.40
Qwen3 32BAlibaba$0.0000$0.00140$0.00140$1.40
Qwen3-VL 235B-A22BAlibaba$0.0000$0.00140$0.00140$1.40
Qwen3.6 PlusAlibaba$0.0000$0.00150$0.00150$1.50
Kimi K2.5Moonshot AI$0.0000$0.00150$0.00150$1.50
Kimi K2.5AWS Bedrock$0.0000$0.00150$0.00150$1.50
Qwen3.7 PlusAlibaba$0.0000$0.00150$0.00150$1.50
Amazon Nova ProAWS Bedrock$0.0000$0.00160$0.00160$1.60
GLM-5Z.ai (Zhipu AI)$0.0000$0.00160$0.00160$1.60
Qwen-VL MaxAlibaba$0.0000$0.00160$0.00160$1.60
Qwen3.5 122B-A10BAlibaba$0.0000$0.00160$0.00160$1.60
GLM-5AWS Bedrock$0.0000$0.00160$0.00160$1.60
Nemotron 3 Ultra 550B A55BNvidia$0.0000$0.00180$0.00180$1.80
Qwen3.5 397B-A17BAlibaba$0.0000$0.00180$0.00180$1.80
Qwen3.6 27BAlibaba$0.0000$0.00180$0.00180$1.80
Kimi K2.7 CodeMoonshot AI$0.0000$0.00200$0.00200$2.00
GLM-5-TurboZ.ai (Zhipu AI)$0.0000$0.00200$0.00200$2.00
GLM-5V-TurboZ.ai (Zhipu AI)$0.0000$0.00200$0.00200$2.00
Kimi K2.6Moonshot AI$0.0000$0.00200$0.00200$2.00
Muse Spark 1.1Meta$0.0000$0.00213$0.00213$2.13
o4-miniOpenAI$0.0000$0.00220$0.00220$2.20
GLM-5.2Z.ai (Zhipu AI)$0.0000$0.00220$0.00220$2.20
GLM-5.1Z.ai (Zhipu AI)$0.0000$0.00220$0.00220$2.20
o3-miniOpenAI$0.0000$0.00220$0.00220$2.20
MAI-Code-1-FlashMicrosoft$0.0000$0.00225$0.00225$2.25
GPT-5.4 miniOpenAI$0.0000$0.00225$0.00225$2.25
QVQ MaxAlibaba$0.0000$0.00240$0.00240$2.40
Claude Haiku 4.5Anthropic$0.0000$0.00250$0.00250$2.50
Qwen3 Coder PlusAlibaba$0.0000$0.00250$0.00250$2.50
Qwen2.5 72B InstructAlibaba$0.0000$0.00280$0.00280$2.80
Grok 4.5xAI$0.0000$0.00300$0.00300$3.00
Qwen3 MaxAlibaba$0.0000$0.00300$0.00300$3.00
GPT-5.6 LunaOpenAI$0.0000$0.00300$0.00300$3.00
Mixtral 8x22BMistral AI$0.0000$0.00300$0.00300$3.00
GPT-5.6 LunaAWS Bedrock$0.0000$0.00300$0.00300$3.00
Qwen3-Next 80B-A3B (Thinking)Alibaba$0.0000$0.00300$0.00300$3.00
Qwen MaxAlibaba$0.0000$0.00320$0.00320$3.20
Qwen-MT PlusAlibaba$0.0000$0.00369$0.00369$3.69
Qwen3.7 MaxAlibaba$0.0000$0.00375$0.00375$3.75
Qwen3-Coder 480B-A35B InstructAlibaba$0.0000$0.00375$0.00375$3.75
Gemini 3.6 FlashGoogle$0.0000$0.00375$0.00375$3.75
GPT-4.1OpenAI$0.0000$0.00400$0.00400$4.00
o3OpenAI$0.0000$0.00400$0.00400$4.00
Sonar Reasoning ProPerplexity$0.0000$0.00400$0.00400$4.00
Sonar Deep ResearchPerplexity$0.0000$0.00400$0.00400$4.00
Kimi K2.7 Code HighSpeedMoonshot AI$0.0000$0.00400$0.00400$4.00
Kimi K2 Thinking TurboMoonshot AI$0.0000$0.00400$0.00400$4.00
o4-mini-deep-researchOpenAI$0.0000$0.00400$0.00400$4.00
Qwen2.5-VL 72B InstructAlibaba$0.0000$0.00420$0.00420$4.20
Gemini 3.5 FlashGoogle$0.0000$0.00450$0.00450$4.50
Step 1 (32K)StepFun$0.0000$0.00479$0.00479$4.80
GPT-5OpenAI$0.0000$0.00500$0.00500$5.00
GPT-4oOpenAI$0.0000$0.00500$0.00500$5.00
Claude Sonnet 5Anthropic$0.0000$0.00500$0.00500$5.00
Gemini 2.5 ProGoogle$0.0000$0.00500$0.00500$5.00
Command ACohere$0.0000$0.00500$0.00500$5.00
Command R+Cohere$0.0000$0.00500$0.00500$5.00
Claude Sonnet 5 (Global)AWS Bedrock$0.0000$0.00500$0.00500$5.00
GPT-5.1OpenAI$0.0000$0.00500$0.00500$5.00
GPT-5.1 CodexOpenAI$0.0000$0.00500$0.00500$5.00
GPT-5.1 Codex MaxOpenAI$0.0000$0.00500$0.00500$5.00
GPT-5-CodexOpenAI$0.0000$0.00500$0.00500$5.00
Amazon Nova PremierAWS Bedrock$0.0000$0.00625$0.00625$6.25
GPT-5.2OpenAI$0.0000$0.00700$0.00700$7.00
GPT-5.2 CodexOpenAI$0.0000$0.00700$0.00700$7.00
GPT-5.3 CodexOpenAI$0.0000$0.00700$0.00700$7.00
GPT-5.3 Codex SparkOpenAI$0.0000$0.00700$0.00700$7.00
GPT-5.4OpenAI$0.0000$0.00750$0.00750$7.50
Claude Sonnet 4.6Anthropic$0.0000$0.00750$0.00750$7.50
Sonar ProPerplexity$0.0000$0.00750$0.00750$7.50
Kimi K3Moonshot AI$0.0000$0.00750$0.00750$7.50
Claude Sonnet 4.5 (latest)Anthropic$0.0000$0.00750$0.00750$7.50
GPT-5.6 TerraOpenAI$0.0000$0.00750$0.00750$7.50
GPT-5.6 TerraAWS Bedrock$0.0000$0.00750$0.00750$7.50
Step 2 (16K)StepFun$0.0000$0.00822$0.00822$8.22
AU Anthropic Claude Sonnet 4.6AWS Bedrock$0.0000$0.00825$0.00825$8.25
GPT-5.4AWS Bedrock$0.0000$0.00825$0.00825$8.25
Claude Opus 4.8Anthropic$0.0000$0.0125$0.0125$12.50
Claude Opus 4.6Anthropic$0.0000$0.0125$0.0125$12.50
Claude Opus 4.6 (US)AWS Bedrock$0.0000$0.0125$0.0125$12.50
Claude Opus 4.7 (US)AWS Bedrock$0.0000$0.0125$0.0125$12.50
Claude Opus 4.8AWS Bedrock$0.0000$0.0125$0.0125$12.50
Claude Opus 4.5 (latest)Anthropic$0.0000$0.0125$0.0125$12.50
Claude Opus 4.7Anthropic$0.0000$0.0125$0.0125$12.50
Claude Opus 5 (JP)AWS Bedrock$0.0000$0.0125$0.0125$12.50
Claude Opus 5Anthropic$0.0000$0.0125$0.0125$12.50
GPT-4 TurboOpenAI$0.0000$0.0150$0.0150$15.00
GPT-5.5OpenAI$0.0000$0.0150$0.0150$15.00
GPT-5.6OpenAI$0.0000$0.0150$0.0150$15.00
GPT-5.6 SolOpenAI$0.0000$0.0150$0.0150$15.00
GPT-5.6 SolAWS Bedrock$0.0000$0.0150$0.0150$15.00
GPT-5.5AWS Bedrock$0.0000$0.0165$0.0165$16.50
o3-deep-researchOpenAI$0.0000$0.0200$0.0200$20.00
Claude Fable 5Anthropic$0.0000$0.0250$0.0250$25.00
Claude Fable 5AWS Bedrock$0.0000$0.0250$0.0250$25.00
GPT-4OpenAI$0.0000$0.0300$0.0300$30.00
o1OpenAI$0.0000$0.0300$0.0300$30.00
Claude Opus 4.1 (latest)Anthropic$0.0000$0.0375$0.0375$37.50
o3-proOpenAI$0.0000$0.0400$0.0400$40.00
GPT-5 ProOpenAI$0.0000$0.0600$0.0600$60.00
GPT-5.2 ProOpenAI$0.0000$0.0840$0.0840$84.00
GPT-5.4 ProOpenAI$0.0000$0.0900$0.0900$90.00
GPT-5.5 ProOpenAI$0.0000$0.0900$0.0900$90.00
o1-proOpenAI$0.0000$0.3000$0.3000$300.00

Why this isn't trivial

The part people underestimate: most models price output several times higher than input, so output length often matters more than prompt length. In practice the biggest savings come from capping output length where possible, so it is worth modelling before you commit.

How it's calculated

We estimate this by comparing the input and output token cost for a typical request at model rates. Every figure uses the current provider prices baked into the site (reviewed daily), and you can override any input to match your own assumptions.

Frequently asked questions

Why is output pricier?+

Generating tokens is more compute-intensive, so providers charge more for output.

What does this change?+

Trimming answers often saves more than trimming prompts.

Are these prices up to date?+

Yes. The model prices behind this calculator are refreshed and reviewed daily, so your estimate reflects current provider rates rather than a stale snapshot.

Related

Estimates for planning. Pricing data last reviewed 28 July 2026.