Mistral vs OpenAI API Pricing and a Cheaper Option
If you are weighing mistral api pricing vs openai, the useful comparison is cost per finished job, not a headline rate. This page gives you the formula, exact numbers for this API, and a way to test your own workload.

Key points
- Both vendors price per model and per direction, so there is no single Mistral or OpenAI price to quote.
- This API has one model at $0.15 per 1M input tokens and $0.50 per 1M output tokens.
- Work out cost per job from your real token counts, then plug in each vendor's current rate.
- Refused or failed requests are not charged here, and prepaid credit never expires.
The short answer
You cannot settle mistral api pricing vs openai with one number, because each vendor sells many models and each model has its own input rate and output rate. Those rates also change. A table copied into an article is out of date as soon as either company edits its pricing page, so this article does not print their prices. Open their current pricing pages and read the rates for the exact model you would use.
What we can do is give you a method that works with any pair of prices, plus exact figures for this API. This is a hosted, OpenAI-compatible text API with a single model, uncensored, at $0.15 per 1M input tokens and $0.50 per 1M output tokens, paid from prepaid credit. It is not the official API of Mistral or OpenAI, and it is not a router that forwards your calls to them.
Why a price table would mislead you
Three details make headline comparisons unreliable.
- Input and output are priced apart. Output tokens usually cost more than input tokens. A chat app that sends short prompts and gets long answers has a very different bill from a summarizer that sends a 40,000-token document and gets 300 tokens back.
- Models come in tiers. A small model and a large model from the same vendor can differ by a wide margin. Comparing a small model at one company with a large model at another tells you nothing.
- Billing rules differ. Some services charge for requests that end in a refusal or an error, some have minimum spends, monthly plans or credit that expires. Read each vendor's terms and check these points yourself.
So the fair question is: for my traffic, what does one unit of work cost, and what do I give up to get that price?
The formula to use for any provider
Pick a unit of work: one chat reply, one document summary, one classified row. Count its tokens, then apply the two rates. Prices are quoted per 1M tokens, so divide your token counts by 1,000,000.
def job_cost(input_tokens, output_tokens, price_in, price_out):
# prices are dollars per 1M tokens
return input_tokens / 1_000_000 * price_in + output_tokens / 1_000_000 * price_out
# This API: $0.15 in, $0.50 out
print(round(job_cost(2_000, 500, 0.15, 0.50), 6)) # 0.00055
# Another provider: copy the two rates from their pricing page
# print(job_cost(2_000, 500, THEIR_IN, THEIR_OUT))
Run the same function with the same token counts for every candidate. If you want one blended figure to sort providers quickly, pick the input-to-output ratio of your traffic. At 3 input tokens for every 1 output token, this API works out to (3 x $0.15 + 1 x $0.50) / 4 = $0.2375 per 1M tokens, or about $0.24. Change the ratio to match your own logs, because it moves the answer more than most people expect.
What this API costs, with worked examples
Every row below is input tokens times $0.15 plus output tokens times $0.50, per 1M.
| Job | Input | Output | Cost per job | Per 1,000 jobs |
|---|---|---|---|---|
| Chat reply | 2,000 | 500 | $0.00055 | $0.55 |
| Retrieval answer with 20 passages | 20,000 | 800 | $0.0034 | $3.40 |
| Long document summary | 80,000 | 4,000 | $0.014 | $14.00 |
The long document row checks out like this: 80,000 / 1,000,000 x $0.15 = $0.012, and 4,000 / 1,000,000 x $0.50 = $0.002, so $0.014 in total. That job uses 84,000 tokens, which fits inside the 100,000-token context window shared by prompt and completion.
For a batch run, say 1,000,000 short classification calls of 300 input tokens and 20 output tokens each: that is 300M input tokens at $0.15 per 1M = $45.00, plus 20M output tokens at $0.50 per 1M = $10.00, so $55.00 for the whole run.
For a small app, take 30,000 requests a month at 1,500 input and 400 output tokens each. Input is 45M tokens, which costs $6.75. Output is 12M tokens, which costs $6.00. The month comes to $12.75.
Measure your own traffic before you decide
Guessing token counts is the most common reason a cost estimate is wrong. Every response from the API includes a usage object, so log it for a day or a week and use real numbers.
from openai import OpenAI
client = OpenAI(
base_url="https://api.mistraluncensored.cc/v1",
api_key="YOUR_API_KEY",
)
resp = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Summarize the plot of Hamlet in two sentences."}],
)
u = resp.usage
cost = u.prompt_tokens / 1_000_000 * 0.15 + u.completion_tokens / 1_000_000 * 0.50
print(u.prompt_tokens, u.completion_tokens, round(cost, 6))
Collect the average and the 95th percentile of both counts. The average sets your monthly budget; the high percentile tells you whether a few huge prompts dominate the bill. If they do, trimming context often saves more than switching providers. The X-Balance-USD response header also shows your remaining credit after each call, which is handy for a quick sanity check against your own math.
Then run the formula once per provider you are considering, using the two rates from each pricing page. Keep the comparison to the same kind of model: a model you would genuinely use for the task, not the cheapest or the most expensive one on the list.
Costs that are not on the rate card
Per-token price is one part of the bill. A few others are worth putting on your checklist.
- Refusals. Many hosted models decline some requests. If a provider bills for those calls, you pay for answers you cannot use, and you may pay again for the retries. Here, failed or refused requests are not charged.
- Commitments. This API is pay as you go from prepaid credit. There is no subscription, and credit never expires. Top-ups are any whole amount from $20 to $500, with a bonus of 5% from $50, 10% from $100 and 15% from $200. So a $100 top-up gives $110 of credit, and a $200 top-up gives $230. The pricing page lists the details.
- Throughput. A full key allows 8 concurrent requests and 300 requests per minute. A cheap rate is not much help if your batch needs more parallelism than your plan allows, so check the limits of every option.
- Engineering time. Because this API speaks the OpenAI format, trying it takes a base URL change and a key, which keeps the cost of the experiment low. The docs show the first request.
When the other option is the better fit
Price is rarely the only factor. If you need image input, embeddings, speech, fine-tuning or a specific vendor's own model family, this API will not do it: it serves text only, one model, and nothing else. If your company needs an official contract with a named model maker, buy from that maker.
This API fits when the job is text generation and your content is lawful but runs into refusals elsewhere, for example fiction, roleplay, companion apps for adults, or dark themes in creative writing. One hard limit applies: no sexual content involving minors. Prompts are not used for training.
The cheapest way to find out is a test with real prompts. New users can claim $0.50 of trial credit with one click on the API key page after sign-up, valid for 7 days and with no card needed. At $0.00055 per chat reply of the size above, that covers roughly 900 replies. You can get an API key here, then run your own prompts through the formula above.
More guides
Questions and answers
Is this API cheaper than Mistral or OpenAI?
We do not print other vendors' prices because they change and vary by model. Take the two rates from their current pricing pages and run them through the formula above with your own token counts.
How is the price calculated?
Input tokens times $0.15 per 1M, plus output tokens times $0.50 per 1M. There is no subscription and no minimum beyond the $20 top-up.
Do I pay for refused or failed requests?
No. Failed or refused requests are not charged on this API.
Is this the official Mistral API?
No. It is an independent, OpenAI-compatible API that serves a single open-weight model, and it does not route to Mistral, OpenAI or any other vendor.
How do I pay?
You top up prepaid credit with with crypto (USDT on TRC20, USDC on Base), from $20 to $500.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.