AI Tools › LLM API Pricing Calculator
LLM API Pricing Calculator
Enter the size of your requests and your volume: the cost of each model is shown, from cheapest to most expensive.
- Nothing is sent
- No API key
- Free, no limits
- No sign-up
Everything happens in your browser: your text is not sent to any AI or any server, and there is no account, no API key and no limit.
Official prices
| Model | Input | Output | Cached input | Condition |
|---|---|---|---|---|
| GPT-6.2 Astra OpenAI | $8.00 | $40.00 | $0.40 | short context (up to 272,000 tokens) |
| GPT-6.2 Sol OpenAI | $2.00 | $10.00 | $0.10 | short context (up to 272,000 tokens) |
| Claude Fable 5.2 Anthropic | $8.00 | $40.00 | $0.20 | |
| Claude Opus 5.5 Anthropic | $4.00 | $20.00 | $0.20 | |
| Claude Sonnet 5.5 Anthropic | $2.00 | $10.00 | $0.10 | |
| Claude Haiku 5.5 Anthropic | $0.10 | $0.50 | $0.01 | prompts up to 100,000 tokens (above: $0.50 / $2.50) |
| Gemini 4 Carbon | $4.00 | $20.00 | $0.20 | price from December 1, 2026 ($2 / $10 until November 30, 2026) |
| Gemini 4 Neon | $3.00 | $15.00 | $0.15 | |
| Gemini 4 Hydrogen | $1.50 | $7.50 | $0.075 | |
| Gemini 3.8 Flash | $0.75 | $3.75 | $0.075 | until December 31, 2026 ($1.50 / $7.50 from January 1, 2027) |
| Gemini 3.5 Flash-Lite | $0.30 | $2.50 | $0.03 |
Prices in US dollars per million tokens, before tax, standard rate (not batch), checked on November 23, 2026 on the official pages: OpenAI · Anthropic · Google. Prices change often: check the provider's page before a big project.
How to read these prices
- Input: everything you send to the model (your question, the instructions, the documents, the conversation history).
- Output: what the model writes. It costs 5 to 8 times more than input, depending on the model. For models that "think", reasoning tokens are billed as output.
- Cached input: when you often send the same beginning of a request (instructions, a document), it can be read from a cache, at a much lower price.
Three ways to pay less
- Pick the smallest model that does the job: to sort, extract or classify, a small model often costs 10 to 40 times less than a large one (see the table).
- Limit the length of answers: output is the most expensive part.
- Batch processing: all three providers offer a discounted rate for non-urgent requests processed later.
To get the number of tokens of a specific text, use the token counter. Just want to use an AI day to day? A subscription is simpler: see the AI plans comparison.
Frequently asked questions
Is my text sent anywhere?
No. The tool runs entirely in your browser, on your device: nothing is sent to ChatGPT, Claude, Gemini or to our servers, and nothing is saved. You can check it in the Network tab of your browser's developer tools.
Are the prices up to date?
They were checked on November 23, 2026 on the official pages of OpenAI, Anthropic and Google, linked under the table. Providers change their prices often: check their page before a big commitment.
Are taxes included?
No. The three providers list their API prices in US dollars, before tax. Sales tax or VAT may be added depending on where you are, and your bank may charge a conversion fee if you pay in another currency.
ChatGPT Plus or the API: which one should I choose?
A subscription is for chatting with the AI in its app, for a fixed price. The API is for building the AI into a program, a website or an automation, and you pay for what you use. They are billed separately.
Related guides
More AI tools
- Prompt generatorFill in a few fields, or pick a template if you like: your prompt builds itself as you type, ready to copy.
- Prompt improverPaste your prompt: the tool checks 12 points and tells you what to add to get better answers.
- Token counterPaste a text: the number of tokens, characters and words shows up instantly, along with what this text costs in each API.
- ChatGPT text cleanerNo more ** and ### in your documents: paste the text and get a clean version, or formatting ready for Word.
- Markdown to HTMLPaste some Markdown: you get the matching HTML code, a preview, or plain text without any marks.
- Image promptDescribe your subject, pick the style, the lighting and the framing: the prompt is tailored to the tool you use.