EthioDeploy
DocsPricingDomainsBlogToolsChangelog
Tools / LLM API cost calculator

LLM API cost calculator

Enter how many tokens a request uses and how many requests you make, and see what that costs a month on current OpenAI, Anthropic and Google Gemini models, cheapest first.

  • Free
  • No signup
  • Runs in your browser
  • Prices checked 2026-11-15
Start from
System prompt, history, retrieved text and the user's message.
Include reasoning tokens: every provider bills them as output.
60,000 a month (30-day month)
50%
Share of each prompt read from the provider's prompt cache, like a fixed system prompt.

Not sure how many tokens your prompt is? Count them with the token counter.

Prices checked Nov 15, 2026
ModelIn / cached / out per 1MPer requestPer month
GPT-6 Luna
$0.10 / $0.01 / $0.50$0.00034$20.25
Claude Haiku 5.5
$0.10 / $0.01 / $0.50$0.00034$20.25
Gemini 3.5 Flash-Lite

Explicit context caching also bills storage per token-hour, not included here.

$0.30 / $0.03 / $2.50$0.0014$84.75
Gemini 3.8 Flash

Explicit context caching also bills storage per token-hour, not included here.

$0.75 / $0.075 / $3.75$0.0025$152

$304 from Jan 1, 2027

GPT-6.1 Terra
$1 / $0.05 / $5$0.0033$199
Gemini 4 Hydrogen
$1.50 / $0.075 / $7.50$0.005$298
GPT-6.1 Sol
$2 / $0.10 / $10$0.0066$398
Claude Sonnet 5.5
$2 / $0.10 / $10$0.0066$398
Gemini 4 Carbon
$2 / $0.10 / $10$0.0066$398

$795 from Dec 1, 2026

Gemini 4 Argon
$2 / $0.10 / $10$0.0066$398

$795 from Dec 1, 2026

Claude Opus 5.5
$4 / $0.20 / $20$0.01$795
Claude Fable 5.2
$8 / $0.20 / $40$0.03$1,575
GPT-6 Astra
$10 / $1 / $50$0.03$2,025
Models to compare

Standard API rates from each provider's pricing page: OpenAI, Anthropic, Google Gemini. Batch discounts, cache writes, data-residency surcharges, tool calls and taxes are not included.

EthioDeploy

Building on an LLM API? Run the backend that calls it.

The API key belongs on a server, not in the browser. EthioDeploy deploys a Node.js or Python backend from GitHub with the key stored as an encrypted environment variable, plus Postgres or Redis if you want to cache responses. Free plan, no card.

Host a backend free

How to use it

  1. 01

    Pick a starting point

    The presets fill in typical numbers for a chatbot, retrieval over documents, a coding agent and bulk classification. Change any of them.

  2. 02

    Put in your token counts

    Input is everything you send each call: system prompt, history, retrieved text and the message. Output includes reasoning tokens, which bill at the output rate.

  3. 03

    Set the cache share

    If every request starts with the same long system prompt or document, that part can be read from the prompt cache at a fraction of the input price.

What the numbers include

Standard tier only
Rates are the standard, pay-as-you-go prices. All three providers offer a Batch API at about half price for jobs that can wait up to a day, and that discount is not applied here.
Long prompts cost more
OpenAI's GPT-6 family charges higher rates for the whole request once the prompt passes 272K tokens, and Claude Haiku 5.5 does the same past 100K. The table switches to those rates and flags the row.
Cache writes and storage
Anthropic charges 1.25x the input price to write a prompt into the 5-minute cache, and Gemini's explicit caching bills storage per token-hour. Both are left out, so heavy caching reads slightly cheaper here than it will bill.
Announced price changes
Google has announced higher prices for Gemini 4 Carbon and Argon from December 1, 2026, and for Gemini 3.8 Flash from January 1, 2027. Those rows show the later monthly cost underneath.
FAQ

Questions

Last updated November 15, 2026

Multiply input tokens per request by the input price, add output tokens times the output price, divide by one million and multiply by your monthly requests. This calculator does that for every model at once and applies cached-input and long-context rates where they apply.

It depends on your mix of input and output. For short, high-volume calls the small models (GPT-6 Luna, Claude Haiku 5.5, Gemini 3.5 Flash-Lite) cost a fraction of a cent per request. Output-heavy work favours models with a low output price, so enter your real numbers and sort.

Cached input tokens cost 5 to 10 percent of the normal input price on most current models, and 2.5 percent on Claude Fable 5.2. If 80 percent of a long prompt is a fixed system prompt or document, input cost drops by roughly three quarters.

Only if you count them. OpenAI, Anthropic and Google all bill reasoning tokens at the output rate, so add your expected reasoning length to the output tokens per request.

They were read from the official OpenAI, Anthropic and Google pricing pages on 2026-11-15, and the date is shown next to the table. Check the provider's page before you commit to a budget.

No. The prices are part of the page and the maths runs in your browser.

More free tools

All tools
AILLM token counterCount tokens for GPT models exactly and estimate Claude, with each token highlighted in your text.Deploy.env validator & converterFind duplicate keys, broken quotes and leaked public secrets, then convert to JSON, YAML, Docker or Compose.WebOG image generator & previewMake a 1200×630 social card, download the PNG, and see how your link looks on X, LinkedIn, Slack and WhatsApp.

Read next: EthioDeploy's AI coding agent · Free backend hosting

Ship it from GitHub.

EthioDeploy builds and runs your app on every push, with a database and HTTPS. Free plan, no card.

Deploy free
EthioDeploy

Agentic first development and deployment, started in Ethiopia, built for developers everywhere.

Telegram community
Product
PricingAI coding agentAgent mode docsDomainsCLIFree backend hostingHosting in EthiopiaChangelog
Deploy guides
Next.jsNode.jsPythonSvelteKitTanStack StartAstroNuxtReact RouterHonoStrapiDjangoFastAPIFlaskStreamlitExpressNestJSLaravelRailsGoTelegram botDiscord botLovableBoltReplitv0Google AI StudioBase44Firebase StudioClaude Code & Cursor
Compare
vs Herokuvs Vercelvs Rendervs Railwayvs Fly.iovs Netlifyvs KoyebHeroku alternativesVercel alternativesNetlify alternativesRender alternativesRailway alternativesFly.io alternativesReplit alternativesPythonAnywhere alternativesDigitalOcean App Platform alternativesGlitch alternatives
Resources
DocsBlogFree toolsAboutSupportContactllms.txt
© 2026 EthioDeployPay by card in USD or bank transfer in ETBTermsPrivacy