DEVELOPER API · FREE

A free API for AI pricing — built for tools, agents, and dashboards

Every price on this site is now available as JSON — no signup, no API key, no rate limit beyond fair use. Built specifically so you can put real-time, verified cost estimates directly into your own product instead of hardcoding numbers that go stale the next time a provider changes pricing.

List every tracked model

GET
https://api.llmpricewatch.com/v1/models

Returns every tracked model with provider, tier, price per million tokens, and context window.

Get a single model

GET
https://api.llmpricewatch.com/v1/models/claude-sonnet-5

Full details for one model by id. See the model list above for available ids.

Calculate a real cost

GET
https://api.llmpricewatch.com/v1/calculate?model=gpt-4o-mini&input_tokens=100&output_tokens=20

Token counts are in millions. Returns estimated monthly cost in USD at standard list pricing.

Get a recommendation, not just a price

GET
https://api.llmpricewatch.com/v1/recommend?use_case=coding

The endpoint that actually answers "which model should I use" — not just raw pricing, but our editorial analysis as structured data. Available use cases: classification, coding, summarization, customer-support, content-generation, translation, agent.

Built for AI agents too

Because every response is plain JSON with no auth required, this works as a callable tool for AI agents and MCP-style integrations — give your agent the ability to check current pricing and get a cost-aware model recommendation before it picks which model to call for a subtask.

Fair use

Free, no API key required. Please don't hammer it — cache responses on your end where it makes sense (prices don't change every minute). If your usage grows into something significant, get in touch — happy to talk about what a higher-volume or webhook-based tier could look like.

Data verified against each provider's official documentation. Same underlying data as the rest of this site — see methodology.