TopxAI · Tools
LLM API price calculator
Enter the tokens of one request and the requests per month; every text model and route is priced from the live table, cheapest month first, next to the provider's list price.
How the cost is computed
Uncached input tokens bill at the input rate, cached input at the cache-read rate, output at the output rate, all per million tokens. Once the input of a request reaches a route's long-context threshold, the whole request bills at that tier. Prices are the fixed USD prices of the route the key uses; an Auto-route key takes the lowest-priced route that serves the model.
Example: 2,000 input tokens, 500 output tokens, 10,000 requests a month
Image and video models bill per picture and per second and are not in this table; their prices are on the pricing page. Cache writes are not modelled.
Every model's price · How requests are billed · Get an API key