Open LLM API Pricing Dataset

A free, daily-updated dataset of LLM and GenAI API pricing across every major provider — OpenAI, Anthropic, Google, DeepSeek, xAI, Mistral, OpenRouter and more. Available as JSON and CSV.

Updated dailyCC BY 4.0Free & open
1,436
Models
21
Providers
2,655
Price rows

What's included

  • Input, output, cached-input and thinking-token prices, per 1M tokens
  • Image, audio, video, character and per-page pricing for multimodal models
  • Every pricing tier, region and processing mode (standard / batch / fast)
  • Context window, max output, and capability flags (tools, batch, caching)
  • Provider metadata: type, website, official pricing-page source URL
  • Native source currency for each price — no lossy FX conversion

Formats & downloads

Pull the whole dataset as a single JSON document, or grab denormalized CSVs that open straight in Excel, pandas or any BI tool.

JSONJSON

Structured models + providers, one document.

CSVCSV

One row per price tier, ready for spreadsheets.

Live API endpoint

Always-current, no auth required:

curl "https://llmrates.ai/api/dataset"

How it stays current

LLMRates.ai scrapes and verifies provider pricing pages continuously. A scheduled job rebuilds the dataset every day and commits it to GitHub, so the files you download are never more than 24 hours behind the source.

License

The dataset is released under the Creative Commons Attribution 4.0 International license (CC BY 4.0). You may use it freely — including commercially — in websites, articles, research, benchmarks and products, as long as you credit LLMRates.ai.

Attribution

If you use this dataset, please cite it:

LLMRates.ai — Open LLM API Pricing Dataset
https://llmrates.ai/open-llm-pricing-dataset
https://github.com/llmrates/llm-pricing-dataset
Licensed under CC BY 4.0

A simple link back to LLMRates.ai satisfies the attribution requirement.

Get the data on GitHub

The dataset lives in an open repository with full schema docs, download links and a daily-update workflow.

View the dataset on GitHub

Example use cases

  • Build an LLM cost calculator or budgeting tool
  • Power pricing comparisons in your own dashboard or docs
  • Run research and benchmarks on the cost of frontier models over time
  • Feed FinOps and procurement decisions with up-to-date rates
  • Train or ground agents that need to reason about API costs

Related