AI pricing calculator

Compare AI model prices before you ship

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

Models tracked1,026
Models listed1,067
Providers124
Dataset licenseCC-BY 4.0

Cheapest AI model prices

A crawler-readable homepage sample of low-cost models. The complete 1,026-model table is on /pricing-table.

ModelProviderInput $/MOutput $/MContextTierBest for
LFM 2.2 6bLiquid AI$0.010$0.02033,000Liquid Ai model
Lfm2 8b a1bLiquid AI$0.010$0.02033,000Liquid Ai model
Ling 2.6 FlashInclusionAI$0.010$0.030262,000Inclusionai model
Deepseek ChatDeepSeek$0.014$0.028164,000Deepseek model
Granite 4.0 H MicroIBM$0.017$0.112131,000Ibm model
Llama 3.2 1b InstructMeta$0.020$0.02060,000Meta model
Qwen2 1.5b InstructQwen$0.020$0.020128,000Qwen model
Mistral NeMoMistral$0.020$0.030131,000Open-weight 12B model co-developed with NVIDIA
GPT OSS 20bOpenAI$0.029$0.140131,000Openai model
Llama 3.2 3b InstructMeta$0.030$0.05080,000Meta model
Llama 3.2 3B InstructReplicate$0.030$0.050128,000Edge small
Gemma 2 9BGoogle$0.030$0.0608,192Smaller open-weight Gemma 2 for edge and on-device
H2O Mini 1BH2O.ai$0.030$0.1008,000Edge-class tiny model
lfm-2-24b-a2bLiquid AI$0.030$0.12033,000Liquid model
Lfm2 24b a2bLiquid AI$0.030$0.12033,000Liquid Ai model
LFM 2 24b a2b v2Liquid AI$0.030$0.12033,000Liquid Ai model
Nova MicroAmazon$0.035$0.140128,000Cheapest text-only Bedrock model for high-volume workloads
Nova Micro v1Amazon$0.035$0.140128,000Amazon model
Command r7b 12 2024Cohere$0.037$0.150128,000Cohere model
Command R7BCohere$0.037$0.150128,000Compact 7B model for low-latency edge deployments

Tokenscost tools and directories

AI model pricing table

All 1,026 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.

Last updated: · Source: Pricing dataset · Methodology

Frequently asked questions

How are token costs calculated?

Multiply input tokens by the input rate and output tokens by the output rate, add the two amounts and divide by 1,000,000. A standard request example uses 1,000 input and 500 output tokens. Monthly budgets multiply the result by request volume; taxes, hidden reasoning tokens, tools and tier surcharges can add costs.

Which recorded model has the lowest request cost?

LFM 2.2 6b by Liquid AI costs $0.00002 for the standard request, with $0.01 input and $0.02 output per million tokens. This price ranking does not establish quality equivalence; verify task success and context requirements.

Can cached and batch discounts be combined?

Only recorded rates are used. Cached input can have cache-write or storage charges, while batch rates apply only to eligible asynchronous jobs. We do not automatically stack the discounts or treat an absent rate as zero. Check the linked provider source before budgeting.

How current is the public dataset?

The live pricing table synchronizes stored model records daily; public file snapshots update when the site is rebuilt. Synchronization is not independent provider verification. It contains 1,026 priced models across 124 providers, last updated 2026-10-31. Directory entries are counted separately. A synchronization date is not proof of independent verification.