Skip to content

LLM API and GPU cost calculator

Estimate your monthly spend on large language model APIs and cloud GPU rentals from your own token volumes or GPU hours, and compare every model side by side, in US dollars.

Prices last verified between and against each provider’s published price list.See every source

Estimate your AI costs

All amounts in US dollars, from each provider’s published price list.

Model
Your traffic

API calls, not users. An agent or chain may make several calls per user action.

tokens

System prompt, chat history, retrieved documents and tool definitions together.

tokens

Include reasoning tokens if the model bills them as output.

Discounts
%

Share of input tokens billed at the cached input price.

%

Work that can wait for an asynchronous batch job instead of an instant reply.

The starting figures are examples. Replace them with your own.

GPT-6 Astra estimate

Per month
$7,604
Average month (365 ÷ 12 days)
Per year
$91,250
Per 1,000 requests
$25.00
Per request
$0.025
Where the money goes (prompts up to 272k input tokens)
PriceTokens per dayCost per dayShare
Input10,000,000$100.0040%
Output3,000,000$150.0060%

Sources: developers.openai.com (checked )

Compare every model for this workload

Same requests and token counts on each model, cheapest first. Select a column heading to sort, or a model name to see its breakdown above. List prices are the standard rates for the price tier your prompt length falls in.

Model costs for your workload, sorted by per month (ascending)
vs cheapest
Prompts up to 100,000 input tokensAnthropic$0.10$0.01$0.50$0.25$76.04Cheapest
Prompts up to 272K input tokensOpenAI$0.10$0.01$0.50$0.25$76.04Cheapest
Mistral AI$0.15n/a$0.60$0.33$100.381.3×
Google (Gemini API)$0.30$0.03$2.50$1.05$319.384.2×
Mistral AI$0.70$0.07$2.10$1.33$404.545.3×
Google (Gemini API)$0.75$0.075$3.75$1.88$570.317.5×
Prompts up to 272K input tokensOpenAI$1.00$0.05$5.00$2.50$760.4210.0×
Anthropic$2.00$0.10$10.00$5.00$1,52120.0×
Google (Gemini API)$2.00$0.10$10.00$5.00$1,52120.0×
Prompts up to 272K input tokensOpenAI$2.00$0.10$10.00$5.00$1,52120.0×
Anthropic$4.00$0.20$20.00$10.00$3,04240.0×
Anthropic$8.00$0.20$40.00$20.00$6,08380.0×
Prompts up to 272K input tokensOpenAI$10.00$1.00$50.00$25.00$7,604100.0×

Guides

All guides

Worked costs

  • By model

    Each model at five standard workloads.

  • By GPU

    Monthly rental cost across providers.

  • Comparisons

    Models in the same tier, head to head.

Frequently asked questions

Are these prices in US dollars?
Yes. Every provider in our data publishes its API and GPU prices in US dollars, and this page shows them exactly as published, with no conversion.
Why might my invoice differ from this estimate?
Your real token counts, cache hit rate and retry rate will differ from any estimate, and providers bill some extras this calculator leaves out, such as cache writes, tool calls and data transfer. Prices also change; check the date at the top of the page and the provider’s own pricing page before you commit a budget.
Is it cheaper to use an API or rent GPUs?
At low or uneven traffic, an API is almost always cheaper because you pay only for tokens you use. Renting GPUs starts to win only at high, steady volume, with an open-weight model that meets your quality bar. Our guide on API vs self-hosted GPUs walks through the break-even math with current prices.