How Much Does It Cost to Run an LLM per Month in Production?
LLM cost per month in production: the formula, pilot, mid and high volume examples at Claude list prices, and when owning the model is cheaper.
Updated
An LLM in production costs requests per month, times tokens per request, times the model’s price per token, with input and output priced separately. In a hypothetical app that sends 10,000 requests a day, with 1,000 input tokens and 200 output tokens per request, the bill is about $60 a month on Claude Haiku list prices and about $2,400 a month on Claude Opus list prices.
The model you pick and the length of your prompts usually move the bill the most.
How do you work out an LLM bill each month?
Providers bill input tokens and output tokens separately, at different rates. Multiply requests per month by the input tokens per request and the input price. Then add requests per month multiplied by the output tokens per request and the output price. Prices are quoted per million tokens, so keep the million in the formula.
Anthropic lists Claude Opus at $4 per million input tokens and $20 per million output tokens. Claude Haiku is $0.10 per million input tokens and $0.50 per million output tokens, for prompts up to 100K tokens. Anthropic’s Batch API is half price for work that can wait. For any other vendor, check their current pricing page, because rates change.
Two things make people underestimate the bill. Output tokens cost more than input tokens. And the same text counts as a different number of tokens under different tokenizers, so a price per token on one vendor is not a price per document on another.
How much does it cost to run an LLM in production at each volume?
The table uses the same hypothetical request throughout: 1,000 input tokens, 200 output tokens, and 30 days a month. These are round numbers for illustration, not measurements from any customer.
| Tier (hypothetical) | Requests a day | Requests a month | Claude Haiku, list | Claude Opus, list |
|---|---|---|---|---|
| Pilot | 500 | 15,000 | $3 | $120 |
| Mid | 10,000 | 300,000 | $60 | $2,400 |
| High | 100,000 | 3,000,000 | $600 | $24,000 |
At the mid tier, sending the same calls through the Batch API halves the list price. That is about $1,200 a month on Opus and about $30 on Haiku, if the work can wait for results.
A pilot is cheap enough that getting the task right matters more than the model price. At high volume, the model choice can decide whether the feature is a line item or a budget problem. For what happens beyond this point, read what happens to LLM costs at a million calls a day. To plug in your own numbers, use the LLM cost calculator.
What is a typical LLM API spend at 10,000 requests a day?
There is no typical number. The mid tier above is one shape, and prompt size changes it more than most teams expect. Take the same 10,000 requests a day, but make each prompt 5,000 input tokens instead of 1,000. The input part of the bill rises fivefold. On Claude Opus list prices, the monthly cost goes from about $2,400 to about $7,200. On Claude Haiku, it goes from about $60 to about $180.
Long prompts and long chats are where most surprise bills come from. Each turn of a chat resends the earlier turns. The long context cost guide walks through how that adds up. Budget from a week of your own logs, not from any example, this page included.
Is a self-hosted model cheaper per month?
It can be, but only at volume. Own Weights fine-tunes an open-weight model for one high-volume task a company now sends to a frontier API, tests it against the current model on the company’s own data, and serves it in the customer’s cloud account or on-prem. The customer owns the weights. Our process starts with a free audit, then an evaluation on the customer’s data. A trained model must beat the current model on that test before it is deployed.
Owning the model changes the monthly shape of the bill. The cost of compute in your own cloud account, plus the people who run it, stays about the same when traffic drops. Per-token pricing falls when traffic drops. So owning the model wins only when your volume is high enough to fill the compute you pay for. At pilot volume, the API is usually cheaper and simpler.
Self-hosting is the wrong choice in three cases: your volume is low, the task changes every few weeks, or nobody on your team will look after the model after launch. In those cases, keep the API and cut the bill with batching and shorter prompts. The batch APIs vs real-time calls guide covers when the discount is worth the wait.
On the public exam we ran, 510 commercial contracts scored with 5-fold cross-validation, our Accuracy model scored 0.717 on exactly-right quotes. Claude Opus scored 0.635 and Claude Haiku scored 0.584. Both leads are larger than the margin of error. Measured at list price on 102 held-out contracts, per 1,000 documents our Accuracy tier cost $4.50, Claude Haiku cost $4.95 and Claude Opus cost $154.49. Claude took the exam with one prompt, no examples and no task training. Our models were fine-tuned for this exam. That shows what training for one task does. On this exam, fine-tuned models beat both Claude models. A narrow task with good data can show the same result, but test it on your own data before you count on it. This is not legal advice, and it does not mean a fine-tuned model beats Claude at everything.
How do you keep the monthly AI bill from growing?
Start with measurement. Log input and output tokens for every call, grouped by feature, so you know which feature drives the spend. Then work through the usual levers:
- Cap output length. Most calls do not need a long answer, and output is the pricier side.
- Use prompt caching where the same instructions repeat on every call.
- Send work that can wait through a batch interface.
- Send easy requests to a cheaper model and keep the hard ones on a stronger one. The hybrid AI routing guide explains how that split works.
The free AI cost audit gives you the number from your own code. It runs on your machine, reads the code as text, uploads nothing, and saves a PDF of your AI calls, models and estimated cost. If you would rather go through your volume with someone, ask for a call.
Questions
How much does it cost to run an LLM in production?
It is requests per month, times the tokens each request sends in and gets back, times the model's price per million tokens. Input and output are priced separately, so add both. Three hypothetical volumes on this page show the spread, from a few dollars a month on Claude Haiku to tens of thousands on Claude Opus.
What is a typical LLM API spend at 10,000 requests a day?
There is no published average you can budget from. Prompt length and the model you pick decide most of it. Count the tokens in a week of your own logs before you commit to a number.
What is the monthly cost of an AI API for a business?
It is the total of every AI call the business makes, each priced on the model it uses. Rates change, so read the current pricing page of each vendor before comparing. A free cost audit of your code lists each AI call and its estimated cost.
How much does AI cost per month for a company?
Usually a few tasks carry most of the bill. A small pilot can cost very little, while a task that runs on every incoming record can cost far more. Price the high-volume tasks first, since they decide the budget.
What does it cost to run AI in production beyond the token bill?
Retries, long chats, evaluation work and the time someone spends watching quality all add to the total. A model you run yourself adds compute and staff. Per-token pricing is simpler at low volume, and fixed compute can come out cheaper once traffic fills it.