AI pricing calculator

Compare AI model prices before you ship

Tokenscost tracks 277 models across 36 providers, with input, output, context window, and best-fit use case data exposed in crawler-readable HTML and JSON.

Models tracked277
Providers36
Dataset licenseCC-BY 4.0

Cheapest AI model prices

A crawler-readable homepage sample of low-cost models. The complete 277-row table is on /pricing-table.

ModelProviderInput $/MOutput $/MContextTierBest for
Hunyuan-LiteTencent$0$0256,000BudgetFree Tencent Cloud tier for high-volume chat and classification
Gemma 2 9BGoogle$0.030$0.0608,192Open SourceSmaller open-weight Gemma 2 for edge and on-device
Nova MicroAmazon$0.035$0.140128,000BudgetCheapest text-only Bedrock model for high-volume workloads
Command R7BCohere$0.037$0.150128,000BudgetUltra-cheap, low-latency high-volume tasks
Ministral 3BMistral$0.040$0.040128,000BudgetUltra-cheap 3B model for classification and routing
Phi-4 MiniMicrosoft$0.040$0.100128,000BudgetCompact 3.8B Phi-4 sibling for low-latency reasoning
Llama 3 8BMeta$0.050$0.0808,192Open SourcePrevious-gen 8B open-weight for chat and edge
Llama 3.1 8BMeta$0.050$0.080128,000Open SourceOpen-weight 8B for low-latency chat and edge
Llama 3.1 8B Instant (Groq)Groq$0.050$0.080128,000BudgetUltra-fast LPU-hosted 8B for sub-second responses
Gemma 3 12BGoogle$0.050$0.100128,000Open SourceMid-size open-weight Gemma 3 for self-hosted chat and reasoning
Qwen3 TurboQwen$0.050$0.200131,072BudgetHigh-throughput cost-efficient inference
GLM-4.5 FlashZhipu$0.050$0.200128,000BudgetHigh-volume classification and retrieval
GPT-5.4 NanoOpenAI$0.050$0.400128,000BudgetClassification, routing, simple tasks
Qwen3 FlashQwen$0.050$0.400128,000BudgetUltra-cheap classification, chat, and high-volume tasks
GPT-5 NanoOpenAI$0.050$0.400400,000BudgetFast, low-cost OpenAI model for simple or high-volume tasks
Nova CanvasAmazon$0.060$0.0600Mid-tierImage generation and editing on Amazon Bedrock
Hunyuan-StandardTencent$0.060$0.13032,000BudgetDefault Tencent Cloud model for everyday chat and RAG
Hy3 LiteTencent$0.060$0.180128,000BudgetUltra-fast MoE for chat, classification, and high-volume apps
MiMo LiteXiaomi$0.060$0.180128,000BudgetUltra-affordable entry model for high-volume apps
Nova LiteAmazon$0.060$0.240300,000BudgetAffordable multimodal Bedrock model — text, vision, video understanding

Tokenscost tools and directories

AI model pricing table

All 277 tracked LLMs sortable by input price, output price, context window, tier, and use case.

AI token counter

Count tokens in your prompts and estimate API costs before sending them to OpenAI, Anthropic, Google, and others.

OpenAI API pricing

GPT-4.1, GPT-5, o3, o4-mini pricing per million input and output tokens with context windows.