Home / AI and LLM API pricing data: free download

AI and LLM API pricing data: free download

Every API price on this site in one file, ready for a spreadsheet, a script or your own comparison. Free to use; a link back to compareaibots.com is appreciated.

Prices checked

Quick answer

Download standard API prices for all 30 models we track as a CSV or JSON file, with cached-input prices, batch discounts, long-prompt rates and a source link for each. It’s free to use, including commercially; a link back to compareaibots.com is appreciated.

Download the data

Download CSVDownload JSON

30 models, standard API prices in US dollars per million tokens. Last checked December 1, 2026.

Browse the same prices on the site: cheapest AI API ranking, OpenAI API pricing, Claude API pricing, Google Gemini pricing and the AI price change log.

Fields

Fields
FieldWhat it means
modelModel name
companyThe lab that makes it
regionUS, China or Europe
releasedRelease date, as YYYY-MM-DD where known
context_tokensContext window in tokens
input_usd_per_millionStandard input price
output_usd_per_millionStandard output price
open_weightstrue if the weights are published
cached_input_usd_per_millionPrice for cached input, where the lab publishes one
batch_discountBatch API discount, where offered
long_prompt_pricingHigher rate for long prompts, where one applies
off_peakOff-peak discount, where one applies
source_urlThe page we check the price against: the lab’s own, or OpenRouter for Tencent and Kimi
last_verifiedThe date we last checked the price

Using the data

  • The prices are facts taken from each company’s own public pricing pages, or for a few models (Tencent and Kimi) from OpenRouter, where those companies sell them. Each row’s source_url column shows the exact source.
  • Free to use, including in commercial projects. If you use it, we’d appreciate a credit to “Compare AI Bots” with a link to compareaibots.com/ai-pricing-data.
  • The files allow cross-site requests, so you can load the JSON straight into a web page or script.
  • The input and output columns are standard API rates. Cached-input prices and batch discounts have their own columns, where the lab publishes them. Free tiers and taxes aren’t included.
  • The files are updated whenever a price changes. The JSON file includes the date it was last checked.

What’s in the file

Sorted from cheapest to most expensive output price.

All prices
ModelCompanyInput $/1MOutput $/1MContext
Hy4 FlashTencent$0.07$0.2811.05M
GPT-6 LunaOpenAI$0.10$0.501.05M
Claude Haiku 5.5Anthropic$0.10$0.501M
Muse EmberMeta$0.10$0.501M
Hy3Tencent$0.132$0.528256K
MiMo-v2.6 ProXiaomi$0.435$0.871M
DeepSeek V4.1 FlashDeepSeek$0.30$1.201M
MiniMax M3MiniMax$0.30$1.201M
Mistral Large 4Mistral$0.70$2.101M
Hy4Tencent$0.834$2.5011.05M
Doubao Seed 2.0 ProByteDance$0.50$3.00256K
Amazon ErgoAmazon$1.00$3.001M
DeepSeek V4 ProDeepSeek$1.32$3.961M
Muse Spark 1.3Meta$1.25$4.251M
GLM-5.3Zhipu$1.40$4.401M
Qwen4 MaxAlibaba$1.50$4.501M
GPT-6.1 TerraOpenAI$1.00$5.001.05M
Grok 4.7xAI$2.00$6.00500K
Gemini 4 HydrogenGoogle$1.50$7.501.05M
Mistral Medium 3.5Mistral$1.50$7.50256K
GPT-6.2 SolOpenAI$2.00$10.001.05M
Claude Sonnet 5.5Anthropic$2.00$10.001M
Kimi K3.1 ProMoonshot$2.00$10.001M
Gemini 4 NeonGoogle$3.00$15.001.05M
Claude Opus 5.5Anthropic$4.00$20.001M
Gemini 4 CarbonGoogle$4.00$20.001.05M
Gemini 4 ArgonGoogle$4.00$20.001.05M
Muse WonderMeta$4.00$20.001M
GPT-6.2 AstraOpenAI$8.00$40.001.05M
Claude Fable 5.2Anthropic$8.00$40.001M

Questions people ask

Is the AI pricing data free?

Yes, including for commercial use. The prices come from each company’s public pricing pages, or for a few models from OpenRouter, and each row links to its source. If you use our file, a credit and a link to compareaibots.com is appreciated.

How often is the data updated?

Whenever a price changes. We recheck every price at least monthly and straight away when a company announces a change.

Which models are included?

All 30 models on this site, from OpenAI, Anthropic, Google, xAI, Meta, Amazon, Mistral, DeepSeek, Alibaba, Moonshot, Zhipu, MiniMax, ByteDance, Xiaomi and Tencent.