LLM Cost Estimation Made Simple
Get accurate, real-time pricing estimates for every major LLM provider. One API call, instant results.
POST /v1/estimate
curl -X POST
https://api.modelpricing.ai/v1/estimate \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{
"model": "claude-3-5-sonnet-20241022",
"metrics": '{
"input_tokens": 1024,
"output_tokens": 512
}
}'
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{
"model": "claude-3-5-sonnet-20241022",
"metrics": '{
"input_tokens": 1024,
"output_tokens": 512
}
}'
Why ModelPricing.ai?
Everything you need to predict and control your AI spend.
Accurate Pricing
Up-to-date rates for OpenAI, Anthropic, Google, and more — including tiered and breakpoint pricing.
Lightning Fast
Low-latency responses powered by a global edge network. No cold starts, no waiting.
Simple Integration
One REST endpoint. Multiple client SDKs included. Get cost estimates in three lines of code.
Simple, Transparent Pricing
Start free, scale as you grow. No hidden fees.
Free
For testing and personal projects
$0
Always free
- API Requests per Minute 10
- API Requests per Day 2,000
- API Keys 2
- Data Retention 7 days
Most Popular
Starter
For small teams getting started
$5 /month
Only billed monthly
- API Requests per Minute 60
- API Requests per Day 50,000
- API Keys 10
- Data Retention 30 days
Professional
For scaling teams and production use
$10 /month
Only billed monthly
- API Requests per Minute 300
- API Requests per Day 200,000
- API Keys Unlimited
- Data Retention 90 days