Open data · 29 models · verified 2026-11-30 · CC BY 4.0

Free LLM pricing data as JSON and CSV

Every price on TokensWatch is available as open data under CC BY 4.0. Use it in your own tools, dashboards, cost estimators, blog posts or research, commercially or not. The only condition is to credit tokenswatch.net with a link.

Main endpoint · schema v1.0.0 GET https://tokenswatch.net/data/v1/prices.json

USD per 1,000,000 tokens on first-party APIs · last price change 2026-08-30, re-verified 2026-11-30 · CORS enabled, no key needed.

Open the JSON →

Using an AI assistant? The same data is available through our free MCP server, so Claude, Cursor or VS Code can look up prices and estimate costs for you.

Files

What's in each model record

  • Standard prices: input and output per million tokens, plus a blended rate (3:1 input to output) used for ranking.
  • Prompt caching: the cache-read (cache hit) price, and the cache-write price where the provider charges one.
  • Batch API: batch input and output prices.
  • Long-context tiers: the prompt size where higher rates start, and those rates.
  • Off-peak rates where a provider offers them (DeepSeek), with the schedule.
  • Announced changes: future prices with their effective date, before they take effect.
  • Metadata: provider, tier, context window, max output, provider docs and a canonical page URL.

null means the provider doesn't offer that option or doesn't publish a price for it. It never means zero.

Example

curl -s https://tokenswatch.net/data/v1/prices.json | jq '.models[] | select(.id == "claude-sonnet-5-5")'

{
  "id": "claude-sonnet-5-5",
  "name": "Claude Sonnet 5.5",
  "provider": "Anthropic",
  "inputPerMTok": 2,
  "outputPerMTok": 10,
  "cachedInputPerMTok": 0.1,
  "cacheWritePerMTok": 2.5,
  "batchInputPerMTok": 1,
  "batchOutputPerMTok": 5,
  "longContext": null,
  "contextWindow": 1000000
}

Versioning

The /data/v1/ files only ever gain fields. Existing fields keep their name, type and meaning, so code written today keeps working. A breaking change would ship as /data/v2/, with v1 kept running. The original /data/prices.json URL still works and serves the same v1 data.

Licence and attribution

The dataset is licensed under Creative Commons Attribution 4.0 International. A credit line like this one is enough:

Pricing data: TokensWatch (CC BY 4.0)

Prices are list prices compiled in good faith from each provider's public pricing page. Always confirm against the provider before relying on a number for billing. See the methodology for how we verify and when we update.