ai-api-prices
This MCP server lets you query daily-updated AI API list prices across providers and categories.
Search AI models by name and get each model's cheapest provider and price.
List every provider's price for one model, including input/output/cached token prices and pricing-page links.
Estimate monthly costs for LLM token workloads or image/video/audio/search/embedding usage across providers.
Compare two models by cheapest provider price and number of providers.
Find the cheapest models in a category, with an optional result limit up to 25.
AI API prices
A free, daily-updated dataset of AI API list prices across AI providers. LLMs, image and video generation, speech-to-text, text-to-speech, web search and embeddings, in one JSON and one CSV file.
Explore the data · JSON · CSV · Price changes · Methodology
Why this exists
The same open-weight model often costs several times more at one provider than at another, and nobody publishes those prices side by side. This repository does, every day, as plain files you can load into a spreadsheet, a notebook or your own app.
3,077 prices for 2,019 models from 59 providers, last updated 2026-11-14.
Category | Prices | Models | Providers |
LLM / text | 1,920 | 1,026 | 39 |
Image generation | 644 | 562 | 11 |
Video generation | 354 | 299 | 10 |
Speech-to-text | 10 | 9 | 7 |
Text-to-speech | 44 | 42 | 9 |
Web search | 20 | 7 | 14 |
Embeddings | 85 | 74 | 16 |
Related MCP server: indextkn MCP server
Same model, very different price
The ten most widely sold models today, from the cheapest to the most expensive provider:
Model | Providers | Cheapest | Typical | Most expensive | Gap |
20 | W&B Inference (CoreWeave) $0.065 | $0.26 | Cloudflare Workers AI $0.45 | 6.9× | |
15 | W&B Inference (CoreWeave) $1.07 | $2.15 | Scaleway $3.01 | 2.8× | |
15 | GMI Cloud $1.07 | $2.15 | Amazon Bedrock $2.58 | 2.4× | |
15 | Nebius Token Factory $0.20 | $0.72 | Scaleway $0.99 | 5.0× | |
13 | DeepInfra $0.21 | $0.52 | Databricks $0.53 | 2.5× | |
13 | GMI Cloud $0.12 | $0.24 | Databricks $0.24 | 2.0× | |
12 | W&B Inference (CoreWeave) $0.055 | $0.13 | Cloudflare Workers AI $0.23 | 4.1× | |
12 | SiliconFlow $5.40 | $6.00 | Together AI $6.00 | 1.1× | |
11 | DeepInfra $0.21 | $0.52 | Databricks $0.53 | 2.5× | |
11 | DeepInfra $0.090 | $0.43 | Novita AI $0.66 | 7.3× |
Blended list price per 1M tokens (3 input : 1 output), standard tier. The ten models sold by the most providers; typical is the median provider.
What it looks like on AISelect.online
The website turns this dataset into calculators, rankings and head-to-head comparisons.
Use it
curl + jq: every provider of one model, cheapest first
curl -s https://raw.githubusercontent.com/Liutasil501/ai-api-prices/main/ai-api-prices.json \
| jq '[.prices[] | select(.model_slug=="gpt-oss-120b")] | sort_by(.input_usd_per_1m_tokens) | .[] | {provider, input_usd_per_1m_tokens, output_usd_per_1m_tokens}'Python / pandas
import pandas as pd
prices = pd.read_csv("https://raw.githubusercontent.com/Liutasil501/ai-api-prices/main/ai-api-prices.csv")
llm = prices[prices.category == "text"]
print(llm.groupby("model")["provider"].nunique().sort_values(ascending=False).head(10))JavaScript
const { prices } = await fetch("https://raw.githubusercontent.com/Liutasil501/ai-api-prices/main/ai-api-prices.json").then((r) => r.json());
const cheapest = prices.filter((p) => p.model_slug === "claude-sonnet-5-5").sort((a, b) => a.input_usd_per_1m_tokens - b.input_usd_per_1m_tokens)[0];Price history: the commit history is the price history. git log -p ai-api-prices.csv shows every change since tracking started.
Ask your AI assistant (MCP server)
This repository is also an MCP server, so Claude, Cursor or any MCP client can answer "what does gpt-oss-120b cost at each provider?" from today's data. It reads the daily file from aiselect.online (this repository's copy as fallback); no API key, no sign-up. Needs Node.js 18 or newer.
Tool | Answers |
| Which models match "claude sonnet", with each one's cheapest provider |
| Every provider of one model, cheapest first, with input, output and cached prices and the pricing page |
| Your monthly bill at every provider, for tokens (LLMs) or images, video seconds, audio hours, characters or searches |
| Two models side by side on their cheapest price |
| The cheapest models in a category (LLM, image, video, speech, TTS, search, embeddings) |
Claude Code
claude mcp add ai-api-prices -- npx -y github:Liutasil501/ai-api-pricesClaude Desktop, Cursor and other clients (claude_desktop_config.json, .cursor/mcp.json):
{
"mcpServers": {
"ai-api-prices": { "command": "npx", "args": ["-y", "github:Liutasil501/ai-api-prices"] }
}
}Then ask: "Which provider sells Llama 3.3 70B cheapest, and what would 50M input and 10M output tokens a month cost there?"
Columns
Column | Meaning |
|
|
| Model name and a stable slug |
| Who sells it: |
| Token prices |
| Media prices |
| Web search (one query, up to 10 results) and text-to-speech |
| Context window and billing variant, where known |
| The provider's pricing page and the open dataset the value came from |
| Dates (UTC) |
How prices get in
Prices come from open, MIT-licensed datasets (LiteLLM, models.dev, Portkey Models) and from pricing pages checked by hand. Before a value is published it has to pass guards:
it must appear on two consecutive daily runs,
a jump above 50% is published only after it holds for seven days, and zero prices and 10x jumps are skipped as dataset errors,
every provider is classified by hand (resellers and gateways are not listed as providers),
prices billed in euros are converted to US dollars at the European Central Bank's daily rate.
These are standard list prices, not quotes. Batch, committed-use and negotiated discounts are not included. Check the provider's page before you buy. The full method is on the methodology page.
License and credit
MIT. If you publish something built on this data, please credit AISelect.online and link https://aiselect.online/open-data. The source datasets and their licenses are listed in THIRD_PARTY_NOTICES.md.
Found a wrong price? Open an issue with a link to the provider's pricing page.
Available Tools
5 toolscheapest_modelsCheapest models in a categoryARead-only
List the cheapest AI models in a category in USD ranked by lowest provider price, returning up to limit models (default 10). Only priced models appear; text LLMs require at least two priced providers so one-off listings do not crowd the ranking. Use find_models to search by name or model_prices to inspect every provider for one model.
Inputs: category (required), limit.
compare_modelsCompare two models on priceARead-only
Compare two AI models in USD by each model's cheapest priced provider (3 input : 1 output blended per 1M tokens for text LLMs, unit rate otherwise) and provider counts. Optional category scopes both model lookups; cross-category pairs display both prices without a price ratio. Use model_prices for every provider of one model or cheapest_models for category lows.
Inputs: model_a (required), model_b (required), category.
estimate_monthly_costEstimate a monthly billARead-only
Estimate a monthly workload bill in USD across every priced provider for one model, ordered cheapest first (standard list prices only; excludes caching, batch, and volume discounts; unpriced providers are omitted). For text LLMs pass input_million_tokens and/or output_million_tokens; for all other categories pass units. Use model_prices for raw per-unit rates or compare_models for a two-model headline comparison.
Inputs: model (required), units, category, input_million_tokens, +1 more.
find_modelsFind AI modelsARead-only
Search AI API models by name across text (LLMs), image, video, transcription, tts, search, and embedding categories, returning up to 10 matches with each model's cheapest USD price and provider. Exact slug or prefix matches rank first, then widely sold models. Use model_prices to list every provider for a matched model, or cheapest_models to browse lowest prices in a category.
Inputs: query (required), category.
model_pricesPrices of one model at every providerARead-only
List standard USD list prices for one AI model at every priced provider, ordered cheapest first (including size or quality variants for media). Returns input, output, and cached token prices for text LLMs (unit rate otherwise) plus each provider's pricing page URL; unpriced providers are omitted. Use find_models if unsure of the name, compare_models for two models, or estimate_monthly_cost for a monthly bill.
Inputs: model (required), category.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a distinct output shape: name search, per-model provider price list, monthly bill estimate, two-model comparison, and category-wide cheapest ranking. The main potential confusion is between model_prices and cheapest_models since both list prices, but the descriptions clearly delineate per-model vs. per-category and explicitly cross-reference alternatives.
find_models, estimate_monthly_cost, and compare_models follow a verb_noun pattern, while model_prices and cheapest_models are noun phrases. The deviation is minor and all names are readable and domain-appropriate, so an agent can still infer behavior from the name alone.
Five tools is a tight, well-scoped set for a price-discovery server, with search, detail, comparison, ranking, and estimation each earning its place. It is slightly thin (no provider or category listing tool), but not problematically so.
The surface covers the core price-research lifecycle: discover a model, inspect all provider prices, compare two models, find category lows, and project a monthly bill. Minor gaps exist, such as no tool to enumerate provider names or categories directly, but agents can work around this via search results.
Maintenance
Related MCP Connectors
Daily-checked AI model API prices from 120+ providers: search, compare, cheapest, cost estimates.
Look up, compare and track AI model API prices from an AI assistant. No sign-in needed.
Find AI model pricing, estimate token costs and compare offers. No API key required.
Live LLM API pricing: token prices, comparisons, cheapest-model lookups. No key required.
Related MCP Servers
- AlicenseAqualityBmaintenanceLive LLM API pricing: current token prices, model comparisons, cheapest-model lookups, and The LLM Price Index for 150+ models across 20+ providers, re-verified daily. No API key required.41MIT

indextkn MCP serverofficial
AlicenseNot gradedqualityCmaintenanceEnables agents to query live AI model pricing, compare providers, and calculate token workload costs from current published prices.MIT
apipriceindex-mcpofficial
AlicenseAqualityBmaintenanceGives AI agents live, verified LLM API prices from apipriceindex.com, enabling cost estimation, model search, and price lookups with verification metadata.888 PyPIMIT- AlicenseAqualityBmaintenanceWhich AI model to use and what it costs: LiteLLM's price catalogue with every price change since 2023 and Arena ratings by task. Tools to find and compare models, estimate a job's cost and time, show price history and pick local or cloud; no API keys needed.11MIT