Developer

LLM API Cost Calculator: monthly cost for GPT, Claude, Gemini and more

Estimate your monthly LLM API bill across 25 models: tokens per request, requests per day, dated prices. Compare API with ChatGPT and Claude plans.

Runs entirely in your browser. Pasted prompts are counted on your device and never uploaded.

Everything is calculated in your browser. A pasted prompt is counted on your device and never sent anywhere.

Input per request

Everything you send: system prompt, the user's message, chat history and tool definitions.

The reply length. Reasoning models also bill their thinking as output.

Monthly figures assume 30 days.

$0.00750

Per request

$7.50

Per day

$225

Per month

45M

Tokens per month

GPT-4o: $225 a month for 1,000 input tokens and 500 output tokens per request. The reply is 67% of the bill. Cheapest listed: GPT-6 Luna at $10.50 a month.

Chat plans from OpenAI (for personal use, not your app)

  • ChatGPT Plus costs $20.00/month. It covers chatting in the app, not API calls from your code.

Plans have their own usage limits. Prices are US, monthly, checked 2026-11-03.

ModelInput tokensPer requestPer month
GPT-6 LunaOpenAI1,000$0.00035$10.50
Qwen3.8 FlashAlibaba (Qwen)1,000$0.00038$11.55
GLM-5.3 FlashZ.ai1,000$0.00040$12.00
GPT-4o miniOpenAI1,000$0.00045$13.50
Mistral Small 4Mistral1,000$0.00045$13.50
DeepSeek V4.1 FlashDeepSeek1,000$0.00090$27.00
Gemini 3.5 Flash-LiteGoogle1,000$0.00155$46.50
Grok 4.3xAI1,000$0.00250$75.00
Gemini 3.8 FlashGoogle1,000$0.00262$78.75
Gemini 3.6 FlashGoogle1,000$0.00262$78.75
Kimi K2.6Moonshot AI1,000$0.00295$88.50
DeepSeek V4 ProDeepSeek1,000$0.00330$99.00
Claude Haiku 4.5Anthropic1,000$0.00350$105
GLM-5.3Z.ai1,000$0.00360$108
Grok 4.7xAI1,000$0.00500$150
Qwen3.8 MaxAlibaba (Qwen)1,000$0.00500$150
Mistral Medium 3.5Mistral1,000$0.00525$157
GPT-6.1 SolOpenAI1,000$0.00700$210
Claude Sonnet 5.5Anthropic1,000$0.00700$210
GPT-4oOpenAI1,000$0.00750$225
Gemini 3.1 Pro (preview)Google1,000$0.00800$240
Kimi K3Moonshot AI1,000$0.0105$315
Claude Opus 5.5Anthropic1,000$0.0140$420
GPT-6 AstraOpenAI1,000$0.0350$1,050
Claude Fable 5.1Anthropic1,000$0.0350$1,050

Standard API prices as of 2026-10-07, cheapest first. Not included: cached-input and batch discounts, long-prompt surcharges, taxes. Open-weight models without a first-party API are left out.

estimate = this model's tokenizer doesn't run here, so a pasted prompt's token count is approximate.

Need an exact token count for GPT-6, Claude, Gemini, Grok or an open-weight model first? Use the Token Counter (provider counts are opt-in and send the text to that provider).


What this calculator answers

How much will an AI feature cost per month once real people use it? Enter the size of one request (in tokens, or paste a typical prompt), the length of the reply and how many requests you expect per day. The calculator returns the cost per request, per day and per month for every model with a published API price, cheapest first.

How to use it

  1. Size the input. Type the input tokens per request, or switch to Paste a prompt and paste one realistic request: the system prompt plus a real user message. Each model counts it in your browser: exactly where its tokenizer runs here, as a labelled estimate otherwise.
  2. Set the reply length. On the models listed here an output token costs between two and about eight times as much as an input token, so for chat-style replies this field often moves the total more than any other.
  3. Set the volume in requests per day. Monthly figures assume a 30-day month.
  4. Pick the model you plan to use. Its row is highlighted in the table, and if the provider sells a chat plan we have checked (ChatGPT Plus, Claude Pro or Max), the plan price is listed next to your API estimate as a reference for personal use.

What the estimate leaves out

The calculator uses each provider's standard, short-prompt rates. Prompt caching and batch processing can lower a real bill; very long prompts can raise it on models that charge more past a size threshold. Free tiers and taxes aren't included. Treat the result as a planning number, then compare it with your provider's usage dashboard once real traffic arrives.

Prompts are counted in your browser, so nothing you paste is uploaded. It's free, with no signup. For an exact count on Claude, Gemini, GPT-6 or Grok before you budget, use the Token Counter, which can ask the provider for its own number (opt-in: it sends the text to that provider). For ways to bring the total down, see how to cut LLM API costs.

FAQ

How is the monthly cost calculated? Input tokens per request times the model's input price, plus output tokens per request times its output price, gives the cost of one request. That is multiplied by your requests per day and by 30 days. Prices are each provider's standard rate per million tokens.

Where do the prices come from? From each provider's official pricing page, the same price list the Token Counter uses. The date they were last checked is shown under the table. Prices change, so check the provider before you commit to a budget.

What is not included? Cached-input and batch discounts, the higher rates some models charge for very long prompts, taxes and any free tier. Real bills can come out lower with caching or batching, or higher with long prompts.

Should I count reasoning tokens? Yes. Reasoning models bill their hidden thinking as output tokens, so set the output field to the reply plus the thinking you expect, not just the visible answer.

Is a ChatGPT or Claude subscription cheaper than the API? They pay for different things. ChatGPT Plus and Claude Pro cover a person chatting in the app and do not pay for API calls from your code. Claude Max and Ultra include a monthly API credit equal to their price, claimed by linking a Claude Console account; unused credit expires each month. The calculator lists these plans next to your estimate, for personal use.

Is my prompt uploaded? No. Pasted prompts are counted in your browser and nothing is sent or stored.

Cookies for ads only

Tool data never leaves your browser. We use cookies only for Google AdSense. Privacy.