/models/{id}/pricing/calculateFind the cheapest provider for a model
You have a token budget and want the lowest total cost across every provider that hosts the same model — including alternative tiers like batch and flex.
Pick any model, choose an operation and copy the exact REST URL for your integration.
https://ai.cloudprice.net/api/v1/models/openai-gpt-5-5/pricing/calculate?input_tokens=1500&output_tokens=500Send token and cache usage and get the cheapest matching provider plus every option ranked by total cost, with a per-dimension breakdown for each.
Six common jobs you can solve with one URL — paste into curl, your app or your browser.
/models/{id}/pricing/calculateYou have a token budget and want the lowest total cost across every provider that hosts the same model — including alternative tiers like batch and flex.
/models/{id}/pricing/calculateMultiply per-request usage by your call volume and get a budgeted monthly figure for one model and provider.
/models/{id}/similarYour current model works, but a comparable cheaper option may exist from another vendor — same capabilities, lower bill.
/models/{id}/comparePick between flagship models. Get pricing for each across the same dimensions in one request.
/calculateSame workload, up to 50 candidate models, one request. Get a ranked list of total costs without writing a loop.
/benchmarks/{slug}/leaderboardNeed a ranked list of top models on a specific benchmark — handy for comparison pages, blog posts or CMS cards.
Need the full reference? All 14 endpoints with every parameter and response shape live in the interactive OpenAPI spec or as raw openapi.json.