LLM token cost calculator
Codestral 2508 Cost Calculator
Estimate what Codestral 2508 by Mistral AI will cost each month. It is priced at $0.3 per 1M input tokens and $0.9 per 1M output tokens, with a 256K-token context window. Pick a workload, then tune requests and tokens to match your app.
API calls your app makes — one chat turn, document or task each.
System prompt + user message + history + retrieved context.
Length of the generated answer (≈ 750 words per 1,000 tokens).
Estimated monthly bill
$81/mo
Per 1K requests
$0.81
Per year
$972
Input cost
$45
Output cost
$36
56% input · 44% output · 150M in + 40M out tokens
Codestral 2508 cost as traffic grows
Token pricing is linear: doubling requests doubles the bill. The chart compares Codestral 2508 with similarly priced models at the same prompt and answer size.
- Codestral 2508
- MiniMax M2
- DeepSeek V3
- GPT-5.4 nano
At 1,000,000 requests a month, Codestral 2508 would cost about $810/month with the same token sizes.
Same workload on other models
Codestral 2508 ranks #119 on price among similar models for this workload. Mistral Nemo would cost $5.55/month.
- Mistral NemoMistral AI−93%$5.55/mo
- Ling 3.0 FlashinclusionAI−93%$5.67/mo
- MiniMax M2MiniMax−2%$79/mo
- DeepSeek V3DeepSeek−2%$80/mo
- GPT-5.4 nanoOpenAI−1%$80/mo
- DeepSeek V3.1 TerminusDeepSeek−1%$81/mo
- GLM 4.6VZ.ai+0%$81/mo
- Perceptron Mk1Perceptron+2%$83/mo
How Codestral 2508 pricing works
Codestral 2508 bills per token, the small chunks of text the model reads and writes. Everything you send — system prompt, conversation history, retrieved documents and the user's message — is input at $0.3 per million tokens. Everything the model writes back is output at $0.9 per million.
monthly cost = requests × (input tokens × $0.3 + output tokens × $0.9) ÷ 1,000,000
For long-context apps such as RAG and agents, input tokens usually dominate because the same context is resent on each call. Chat and writing apps lean on output. Use the split bar above to see which side drives your bill, then shorten that side first.
Estimates exclude taxes, cached-input and batch discounts, image or audio tokens, and tool fees. Check the Codestral 2508 pricing page for every meter and the official price list.
Codestral 2508 cost calculator FAQ
How much does Codestral 2508 cost per month?+
It depends on traffic and prompt size. Codestral 2508 costs $0.3 per 1M input tokens and $0.9 per 1M output tokens. A support chatbot with 100,000 requests of 1,500 input and 400 output tokens costs about $81/month.
How is Codestral 2508 API cost calculated?+
Monthly cost = (requests × input tokens ÷ 1,000,000 × input price) + (requests × output tokens ÷ 1,000,000 × output price). Taxes, cached-input discounts, batch discounts and tool-call fees are not included.
What is a token for Codestral 2508?+
A token is a chunk of text, roughly 4 characters or ¾ of an English word. 1,000 tokens is about 750 words. Prompts, system instructions, retrieved documents and chat history all count as input tokens.
Why are Codestral 2508 output tokens more expensive?+
Generating text is more compute-intensive than reading it, so Mistral AI charges $0.9 per 1M output tokens versus $0.3 for input. Keeping answers short is usually the fastest way to cut the bill.
How big can a Codestral 2508 prompt be?+
Codestral 2508 has a context window of 256K tokens, which covers the prompt plus the generated answer.
How can I lower my Codestral 2508 bill?+
Trim system prompts and chat history, cap output length, cache repeated context where the provider supports it, use batch processing for non-urgent jobs, and route simple requests to a cheaper model. The comparison on this page shows the same workload on alternatives.
