$PIDX Contract: launching today on Pons Buy on Pons Explorer
Docs

How the index works

The AI Model Price Index is a static table of AI model API prices with a cost calculator. It has no backend and no analytics. Everything comes from one file, /data/prices.json.

What's in the table

Verified vs. unverified

Every row stores the URL of the page its price came from and the date it was checked (US Pacific calendar date).

LabelMeaning
VERIFIEDEach number in the row was read from the provider's own official pricing or docs page on the "checked" date, and confirmed again by a second, independent read.
UNVERIFIEDThe number was read from an official page, but something makes it unreliable: for example, the provider says it's a promotional price that is ending and doesn't publish the next price. These rows stay visible, with the reason in the row note.

If a price couldn't be read from any page, the model isn't listed. No prices are entered from memory or estimated.

How the calculator works

In Requests / day mode, for each model:

prompt     = input tokens per request
rate       = long-prompt rate if prompt ≥ threshold, else base rate
cost/req   = (input × (1 − cache%) × rate.input
            + input × cache%       × rate.cached
            + output               × rate.output) ÷ 1,000,000
cost/day   = cost/req × requests per day
cost/month = cost/day × 30

If a request is larger than a model can take (prompt over its maximum input, or prompt + output over its context window), the calculator shows EXCEEDS CONTEXT instead of a cost and leaves that model out of the "cheapest" pick.

In Tokens / day mode, the calculator doesn't know the size of each prompt, so it always uses base-tier rates. If a model has no cached price, the cache share is ignored for that model and full input price is used.

Not included: tax, cache-write fees, batch discounts, tool or search fees, image/audio inputs, and regional surcharges. DeepSeek is shown at its peak-hour price; its off-peak price is half.

A comparison can be shared as a link. The models and inputs are stored in the part of the URL after #, which is never sent to a server.

Data schema

/data/prices.json is public and can be fetched from any site (CORS is open).

{
  "checked": "2026-11-30",
  "currency": "USD",
  "unit": "per 1M tokens",
  "providers": { "<id>": { "name": "...", "pricing_url": "https://..." } },
  "models": [{
    "id": "gpt-6.2-sol",
    "provider": "openai",
    "model": "gpt-6.2-sol",
    "input": 2.00,            // USD per 1M input tokens
    "cached_input": 0.10,     // USD per 1M cached input tokens, or null
    "output": 10.00,          // USD per 1M output tokens
    "context": 1050000,       // tokens
    "max_input": 922000,      // optional: max prompt tokens, if lower than context
    "long": {                 // or null
      "from": 272001,         // first prompt size billed at the long rate
      "input": 4.00, "cached_input": 0.20, "output": 15.00
    },
    "source_url": "https://...",          // where the price was read
    "context_source_url": "https://...",  // where the context window was read
    "checked": "2026-11-30",
    "status": "VERIFIED",                 // or "UNVERIFIED"
    "notes": ["..."]
  }]
}

Sources

Every price page used for the current data, with what was read from it:

ProviderPricing pageModels
Loading…

Spotted a wrong price?

Prices change without notice. Check the row's source link first. If the provider's page shows a different number, the index is out of date; the provider's page is always the one that counts.

Limits