LLMCost
For AI agents & their humans

LLMCost Agent Data API

Give Claude, Cursor, Windsurf, or your own agent live access to verified pricing for 458+ LLM models through standard HTTP, llms.txt, and RSS. No proprietary client or unpublished package is required.

Always fresh
Data rebuilt daily from provider APIs. Every price carries its verification date.
No API key
Free and open. Cache the response — it changes at most once per day.
Citation-ready
Each record includes a source URL, so agents can show their work.

JSON API

Any HTTP client works. The full dataset is one GET away:

curl https://llm-cost.io/api/models.json | jq '.models[0]'

Full field reference in the API docs. For agent-oriented guidance see /llms.txt.

What your agent can do with this

  • "Pick the cheapest model with tool-calling under $1/1M" — filter on capabilities + price
  • "Estimate this month's bill for 10K requests × 8K tokens" — arithmetic on verified prices
  • "Which models got cheaper this week?" — point it at /changes or the RSS feed
  • "Is Claude Opus worth 25× DeepSeek for my workload?" — blend price with the intelligence index