# LLM token prices, every model on every host

> Input, output and cached-input prices per million tokens for every model we track, on every host that serves it: OpenRouter, the model makers’ own APIs and the big clouds. Sort by price, filter by host, and see when each price last changed.

Canonical page: https://scrapercompany.com/data/llm-prices. Collected every 6 hours.

## About this data

The same model often costs different amounts depending on who serves it. Each row is one model on one host, priced in US dollars per million tokens, so you can compare a model across hosts, or every model on one host, without opening a dozen pricing pages.

Prices come from OpenRouter’s public model list and the open-source LiteLLM price table, which follows the providers’ published list prices. A price is stored when it changes, so the history shows every cut and increase with the day it happened. Router models whose price depends on the request are left out.

## Columns

- Model (`model`)
- Host (`host`)
- Vendor (`vendor`)
- Input / 1M (`input_usd_per_1m`)
- Output / 1M (`output_usd_per_1m`)
- Cached input / 1M (`cache_read_usd_per_1m`)
- Context (`context_tokens`)
- Since (the day the value was first seen)
- Source of each row

## Sources

- [OpenRouter](https://openrouter.ai/models)
- [LiteLLM price table](https://github.com/BerriAI/litellm)

## Get the data

- Latest values, free (a sample, keyless, rate limited per IP): `https://api.scrapercompany.com/datasets/summary?name=llm-prices`
- Every item: `GET https://api.scrapercompany.com/v1/datasets/llm-prices/latest`, 1 credit per call
- One item's history: `GET https://api.scrapercompany.com/v1/datasets/llm-prices/history`, 1 credit per call
- Full history as SQLite: `GET https://api.scrapercompany.com/v1/datasets/llm-prices/download`, 500 credits

Sources in one line: OpenRouter and LiteLLM price table. Sign-up: https://api.scrapercompany.com/signup. Pricing: https://scrapercompany.com/pricing. More datasets: https://scrapercompany.com/data.md

## Frequently asked questions

### Is the LLM token prices table free?

Yes. This page shows a sample of the latest build for free, with no account. To get every item, call GET /v1/datasets/llm-prices/latest on the API for 1 credit per call.

### How often is it refreshed?

The data is collected every 6 hours. A value is stored only when it changes, with the first and last day it was seen, so the history is complete without repeating unchanged rows.

### Can I download the full history?

Yes. GET /v1/datasets/llm-prices/download returns a short-lived link to the whole dataset as one SQLite file, every item and every recorded change since collection started, for 500 credits. Open it with sqlite3, DuckDB, pandas or Datasette.

### Where does the data come from?

It is collected from OpenRouter and LiteLLM price table, and every row records its source.

### Why does the same model have several prices?

Because several hosts serve it. A model can be sold by its maker, by OpenRouter and by one or more clouds, each at its own price; the host column says which one a row is.
