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
https://api.llmpricewatch.com/v1/models
Returns every tracked model with provider, tier, price per million tokens, and context window.
Get a single model
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
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
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.
Price history
https://api.llmpricewatch.com/v1/history/grok-4-7
Daily prices and every recorded price change for one model. Free requests get the last 30 days; Pro keys get the full history. Open-weight models are tracked at the original provider's own list price, not a reseller's.
Webhooks (Pro)
curl -X POST https://api.llmpricewatch.com/v1/webhooks \
-H "X-API-Key: YOUR_PRO_KEY" -H "Content-Type: application/json" \
-d '{"url": "https://your-app.com/hooks/llm-prices"}'
Register one HTTPS URL per key and we'll POST to it the day a tracked model changes price (price.changed) or a new model is added (model.added), with old and new prices in the payload. GET shows your current webhook, DELETE removes it.
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 — and a Pro tier if you need more
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).
Need something bigger than that — real volume or a custom arrangement? Get in touch directly.
Data verified against each provider's official documentation. Same underlying data as the rest of this site — see methodology.