Price badges

Small SVG badges that show what a model costs per 1M tokens, in the style of the status badges on GitHub READMEs. Free to use, no sign-up, and they follow our daily price updates.

How to use one

Every model has a badge at https://www.llmapicosts.com/badge/<model-id>.svg. The id is the same one used in model page URLs. Each model page also has an “Embed this badge” box with the snippets ready to copy.

GPT-6 Astra API price

Markdown, for a README:

[![GPT-6 Astra API price](https://www.llmapicosts.com/badge/openai-gpt-6-astra.svg)](https://www.llmapicosts.com/models/openai-gpt-6-astra)

HTML:

<a href="https://www.llmapicosts.com/models/openai-gpt-6-astra"><img src="https://www.llmapicosts.com/badge/openai-gpt-6-astra.svg" alt="GPT-6 Astra API price"></a>

Linking the badge to the model page is all we ask in return. It gives your readers the full price history and a cost calculator.

Cheapest model badge

Cheapest LLM API price

https://www.llmapicosts.com/badge/cheapest.svg always shows the cheapest model we track right now, currently Solar Mini 4.5 (Preview). We rank by a blend of three parts input to one part output, which is close to how most apps use a model. The cheapest models page has the full ranking.

What to know

  • Prices are USD per 1M tokens at the provider’s standard list rate. Batch rates are not shown. See the methodology for where prices come from.
  • Badges are served with open CORS headers and cached for an hour. GitHub and other image proxies may cache them for longer.
  • If a model is retired its badge URL stops working. Use the cheapest badge if you want one that never goes stale.
  • Want the raw numbers instead? The open data files are free under CC BY 4.0.