ai-api-pricing / prices.json
AICostBudget's picture
data: sync verified prices 2026-07-27
a7bcba9 verified
Raw
History Blame Contribute Delete
19.3 kB
{
"dataset_name": "AICostBudget AI API Pricing Dataset",
"dataset_version": "1.0.0",
"description": "Open, machine-readable pricing data for LLM and AI APIs.",
"generated_at": "2026-07-26T19:14:17Z",
"homepage": "https://aicostbudget.com",
"last_verified_at": "2026-07-27T00:00:00Z",
"licenses": {
"code": "MIT",
"data": "CC BY 4.0"
},
"model_count": 21,
"models": [
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "Claude Haiku 4.5",
"effective_from": null,
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "Claude Haiku",
"model_id": "claude-haiku-4.5",
"notes": "cache_write stores the 5-minute write rate.",
"official_source_url": "https://docs.anthropic.com/en/docs/about-claude/pricing",
"pricing": {
"batch_input": 0.5,
"batch_output": 2.5,
"cache_write": 1.25,
"cached_input": 0.1,
"currency": "USD",
"input": 1.0,
"output": 5.0,
"unit": "1M tokens"
},
"provider_id": "anthropic",
"status": "active"
},
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "Claude Opus 4.8",
"effective_from": null,
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "Claude Opus",
"model_id": "claude-opus-4.8",
"notes": "Anthropic table columns are input, 5-minute cache write, 1-hour cache write, cache read, and output. cache_write stores the 5-minute write rate.",
"official_source_url": "https://docs.anthropic.com/en/docs/about-claude/pricing",
"pricing": {
"batch_input": 2.5,
"batch_output": 12.5,
"cache_write": 6.25,
"cached_input": 0.5,
"currency": "USD",
"input": 5.0,
"output": 25.0,
"unit": "1M tokens"
},
"provider_id": "anthropic",
"status": "active"
},
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "Claude Sonnet 4.6",
"effective_from": null,
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "Claude Sonnet",
"model_id": "claude-sonnet-4.6",
"notes": "cache_write stores the 5-minute write rate.",
"official_source_url": "https://docs.anthropic.com/en/docs/about-claude/pricing",
"pricing": {
"batch_input": 1.5,
"batch_output": 7.5,
"cache_write": 3.75,
"cached_input": 0.3,
"currency": "USD",
"input": 3.0,
"output": 15.0,
"unit": "1M tokens"
},
"provider_id": "anthropic",
"status": "active"
},
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "Claude Sonnet 5 introductory pricing",
"effective_from": "2026-06-30",
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "Claude Sonnet",
"model_id": "claude-sonnet-5-intro",
"notes": "Introductory pricing applies through 2026-08-31 and standard pricing starts 2026-09-01. V1 must not switch early to the standard $3/M input and $15/M output rates.",
"official_source_url": "https://www.anthropic.com/news/claude-sonnet-5",
"pricing": {
"batch_input": 1.0,
"batch_output": 5.0,
"cache_write": 2.5,
"cached_input": 0.2,
"currency": "USD",
"input": 2.0,
"output": 10.0,
"unit": "1M tokens"
},
"provider_id": "anthropic",
"status": "active"
},
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "Aya Expanse 32B",
"effective_from": null,
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "Aya",
"model_id": "aya-expanse-32b",
"notes": "Cohere official pricing page states Aya Expanse 8B and 32B API pricing is $0.50/1M input and $1.50/1M output.",
"official_source_url": "https://cohere.com/pricing",
"pricing": {
"batch_input": null,
"batch_output": null,
"cache_write": null,
"cached_input": null,
"currency": "USD",
"input": 0.5,
"output": 1.5,
"unit": "1M tokens"
},
"provider_id": "cohere",
"status": "active"
},
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "Command A+",
"effective_from": null,
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "Command",
"model_id": "command-a-plus",
"notes": "Cohere's official Command A+ page states that access is free until applicable rate limits are reached and that production use is available through Model Vault. Another official Cohere page shows per-token pricing for the same model ID, so V1 keeps token pricing null until the official documentation is reconciled.",
"official_source_url": "https://docs.cohere.com/docs/command-a-plus",
"pricing": {
"batch_input": null,
"batch_output": null,
"cache_write": null,
"cached_input": null,
"currency": "USD",
"input": null,
"output": null,
"unit": "1M tokens"
},
"provider_id": "cohere",
"status": "active"
},
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "Command R+ 08-2024",
"effective_from": "2024-08-01",
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "Command R",
"model_id": "command-r-plus-08-2024",
"notes": "Cohere official pricing page lists Command R+ 08-2024 at $2.50/1M input tokens and $10.00/1M output tokens.",
"official_source_url": "https://cohere.com/pricing",
"pricing": {
"batch_input": null,
"batch_output": null,
"cache_write": null,
"cached_input": null,
"currency": "USD",
"input": 2.5,
"output": 10.0,
"unit": "1M tokens"
},
"provider_id": "cohere",
"status": "active"
},
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "DeepSeek V4 Flash",
"effective_from": null,
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "DeepSeek V4",
"model_id": "deepseek-v4-flash",
"notes": "DeepSeek labels input cache miss as input price and cache hit as cached_input.",
"official_source_url": "https://api-docs.deepseek.com/quick_start/pricing",
"pricing": {
"batch_input": null,
"batch_output": null,
"cache_write": null,
"cached_input": 0.0028,
"currency": "USD",
"input": 0.14,
"output": 0.28,
"unit": "1M tokens"
},
"provider_id": "deepseek",
"status": "active"
},
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "DeepSeek V4 Pro",
"effective_from": null,
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "DeepSeek V4",
"model_id": "deepseek-v4-pro",
"notes": "DeepSeek labels input cache miss as input price and cache hit as cached_input.",
"official_source_url": "https://api-docs.deepseek.com/quick_start/pricing",
"pricing": {
"batch_input": null,
"batch_output": null,
"cache_write": null,
"cached_input": 0.003625,
"currency": "USD",
"input": 0.435,
"output": 0.87,
"unit": "1M tokens"
},
"provider_id": "deepseek",
"status": "active"
},
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "Gemini 2.5 Flash",
"effective_from": null,
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "Gemini 2.5",
"model_id": "gemini-2.5-flash",
"notes": "Rates are for text/image/video input; Google lists separate audio rates in the official pricing table.",
"official_source_url": "https://ai.google.dev/gemini-api/docs/pricing",
"pricing": {
"batch_input": 0.15,
"batch_output": 1.25,
"cache_write": null,
"cached_input": 0.03,
"currency": "USD",
"input": 0.3,
"output": 2.5,
"unit": "1M tokens"
},
"provider_id": "google-gemini",
"status": "active"
},
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "Gemini 2.5 Pro",
"effective_from": null,
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "Gemini 2.5",
"model_id": "gemini-2.5-pro",
"notes": "Rates are for prompts up to 200k tokens. Google lists higher rates above 200k tokens in the official pricing table.",
"official_source_url": "https://ai.google.dev/gemini-api/docs/pricing",
"pricing": {
"batch_input": 0.625,
"batch_output": 5.0,
"cache_write": null,
"cached_input": 0.125,
"currency": "USD",
"input": 1.25,
"output": 10.0,
"unit": "1M tokens"
},
"provider_id": "google-gemini",
"status": "active"
},
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "Mistral Large 3",
"effective_from": null,
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "Mistral Large",
"model_id": "mistral-large",
"notes": "mistral-large-latest currently maps to Mistral Large 3. Standard price is $0.50/M input and $1.50/M output. Cached input receives a 90% discount. Batch processing receives a 50% discount.",
"official_source_url": "https://mistral.ai/pricing/api/",
"pricing": {
"batch_input": 0.25,
"batch_output": 0.75,
"cache_write": null,
"cached_input": 0.05,
"currency": "USD",
"input": 0.5,
"output": 1.5,
"unit": "1M tokens"
},
"provider_id": "mistral-ai",
"status": "active"
},
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "GPT-4.1",
"effective_from": null,
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "GPT-4.1",
"model_id": "gpt-4.1",
"notes": "OpenAI official pricing page lists standard and batch rates per 1M tokens.",
"official_source_url": "https://platform.openai.com/docs/pricing",
"pricing": {
"batch_input": 1.0,
"batch_output": 4.0,
"cache_write": null,
"cached_input": 0.5,
"currency": "USD",
"input": 2.0,
"output": 8.0,
"unit": "1M tokens"
},
"provider_id": "openai",
"status": "active"
},
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "GPT-5",
"effective_from": null,
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "GPT-5",
"model_id": "gpt-5",
"notes": "OpenAI official pricing page lists standard and batch rates per 1M tokens.",
"official_source_url": "https://platform.openai.com/docs/pricing",
"pricing": {
"batch_input": 0.625,
"batch_output": 5.0,
"cache_write": null,
"cached_input": 0.125,
"currency": "USD",
"input": 1.25,
"output": 10.0,
"unit": "1M tokens"
},
"provider_id": "openai",
"status": "active"
},
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "GPT-5.4 mini",
"effective_from": null,
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "GPT-5.4",
"model_id": "gpt-5.4-mini",
"notes": "OpenAI official pricing page lists standard and batch rates per 1M tokens.",
"official_source_url": "https://platform.openai.com/docs/pricing",
"pricing": {
"batch_input": 0.375,
"batch_output": 2.25,
"cache_write": null,
"cached_input": 0.075,
"currency": "USD",
"input": 0.75,
"output": 4.5,
"unit": "1M tokens"
},
"provider_id": "openai",
"status": "active"
},
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "GPT-5.5",
"effective_from": null,
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "GPT-5.5",
"model_id": "gpt-5.5",
"notes": "OpenAI official pricing page lists standard and batch rates per 1M tokens. Batch prices are 50% of the listed standard price where shown.",
"official_source_url": "https://platform.openai.com/docs/pricing",
"pricing": {
"batch_input": 2.5,
"batch_output": 15.0,
"cache_write": null,
"cached_input": 0.5,
"currency": "USD",
"input": 5.0,
"output": 30.0,
"unit": "1M tokens"
},
"provider_id": "openai",
"status": "active"
},
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "GPT-5.6 Luna",
"effective_from": null,
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "GPT-5.6",
"model_id": "gpt-5.6-luna",
"notes": "OpenAI official pricing page lists Standard, Batch, Flex, and Priority rates per 1M tokens. Public V1 fields store Standard short-context prices and Batch short-context prices.",
"official_source_url": "https://developers.openai.com/api/docs/pricing",
"pricing": {
"batch_input": 0.5,
"batch_output": 3.0,
"cache_write": 1.25,
"cached_input": 0.1,
"currency": "USD",
"input": 1.0,
"output": 6.0,
"unit": "1M tokens"
},
"provider_id": "openai",
"status": "active"
},
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "GPT-5.6 Sol",
"effective_from": null,
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "GPT-5.6",
"model_id": "gpt-5.6-sol",
"notes": "OpenAI official pricing page lists Standard, Batch, Flex, and Priority rates per 1M tokens. Public V1 fields store Standard short-context prices and Batch short-context prices.",
"official_source_url": "https://developers.openai.com/api/docs/pricing",
"pricing": {
"batch_input": 2.5,
"batch_output": 15.0,
"cache_write": 6.25,
"cached_input": 0.5,
"currency": "USD",
"input": 5.0,
"output": 30.0,
"unit": "1M tokens"
},
"provider_id": "openai",
"status": "active"
},
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "GPT-5.6 Terra",
"effective_from": null,
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "GPT-5.6",
"model_id": "gpt-5.6-terra",
"notes": "OpenAI official pricing page lists Standard, Batch, Flex, and Priority rates per 1M tokens. Public V1 fields store Standard short-context prices and Batch short-context prices.",
"official_source_url": "https://developers.openai.com/api/docs/pricing",
"pricing": {
"batch_input": 1.25,
"batch_output": 7.5,
"cache_write": 3.125,
"cached_input": 0.25,
"currency": "USD",
"input": 2.5,
"output": 15.0,
"unit": "1M tokens"
},
"provider_id": "openai",
"status": "active"
},
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "o3",
"effective_from": null,
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "o-series",
"model_id": "o3",
"notes": "OpenAI official pricing page lists standard and batch rates per 1M tokens.",
"official_source_url": "https://platform.openai.com/docs/pricing",
"pricing": {
"batch_input": 1.0,
"batch_output": 4.0,
"cache_write": null,
"cached_input": 0.5,
"currency": "USD",
"input": 2.0,
"output": 8.0,
"unit": "1M tokens"
},
"provider_id": "openai",
"status": "active"
},
{
"accessed_at": "2026-07-27T00:00:00Z",
"display_name": "Grok 4.3",
"effective_from": null,
"last_verified_at": "2026-07-27T00:00:00Z",
"model_family": "Grok 4",
"model_id": "grok-4.3",
"notes": "V1 stores short-context pricing. The long-context threshold is 200K tokens. Grok 4.3 batch pricing receives a 20% discount. Long-context prices are not stored in the current short-context fields.",
"official_source_url": "https://docs.x.ai/developers/pricing",
"pricing": {
"batch_input": 1.0,
"batch_output": 2.0,
"cache_write": null,
"cached_input": 0.2,
"currency": "USD",
"input": 1.25,
"output": 2.5,
"unit": "1M tokens"
},
"provider_id": "xai",
"status": "active"
}
],
"official_source_count": 10,
"official_sources": [
"https://ai.google.dev/gemini-api/docs/pricing",
"https://api-docs.deepseek.com/quick_start/pricing",
"https://cohere.com/pricing",
"https://developers.openai.com/api/docs/pricing",
"https://docs.anthropic.com/en/docs/about-claude/pricing",
"https://docs.cohere.com/docs/command-a-plus",
"https://docs.x.ai/developers/pricing",
"https://mistral.ai/pricing/api/",
"https://platform.openai.com/docs/pricing",
"https://www.anthropic.com/news/claude-sonnet-5"
],
"provider_count": 7,
"providers": [
{
"display_name": "Anthropic",
"docs_url": "https://docs.anthropic.com",
"notes": "Official Claude API pricing documentation.",
"pricing_url": "https://docs.anthropic.com/en/docs/about-claude/pricing",
"provider_id": "anthropic",
"website_url": "https://www.anthropic.com"
},
{
"display_name": "Cohere",
"docs_url": "https://docs.cohere.com",
"notes": "Official Cohere pricing page.",
"pricing_url": "https://cohere.com/pricing",
"provider_id": "cohere",
"website_url": "https://cohere.com"
},
{
"display_name": "DeepSeek",
"docs_url": "https://api-docs.deepseek.com",
"notes": "Official DeepSeek API models and pricing documentation.",
"pricing_url": "https://api-docs.deepseek.com/quick_start/pricing",
"provider_id": "deepseek",
"website_url": "https://www.deepseek.com"
},
{
"display_name": "Google Gemini",
"docs_url": "https://ai.google.dev/gemini-api/docs",
"notes": "Official Gemini API pricing documentation.",
"pricing_url": "https://ai.google.dev/gemini-api/docs/pricing",
"provider_id": "google-gemini",
"website_url": "https://ai.google.dev"
},
{
"display_name": "Mistral AI",
"docs_url": "https://docs.mistral.ai",
"notes": "Official Mistral AI pricing page.",
"pricing_url": "https://mistral.ai/pricing",
"provider_id": "mistral-ai",
"website_url": "https://mistral.ai"
},
{
"display_name": "OpenAI",
"docs_url": "https://platform.openai.com/docs",
"notes": "Official OpenAI API pricing documentation.",
"pricing_url": "https://platform.openai.com/docs/pricing",
"provider_id": "openai",
"website_url": "https://openai.com"
},
{
"display_name": "xAI",
"docs_url": "https://docs.x.ai",
"notes": "Official xAI model documentation.",
"pricing_url": "https://docs.x.ai/developers/models",
"provider_id": "xai",
"website_url": "https://x.ai"
}
]
}