Skip to content
Mistral

Codestral Latest

Codestral Latest is available via Mistral with a 32K context window and up to 8,191 output tokens. Pricing: $1.00/1M input tokens, $3.00/1M output tokens.

Codestral Latest Pricing & Specifications

Input Price$1.00 per 1M tokens
Output Price$3.00 per 1M tokens
Context Window32,000 tokens (32K)
Max Output8,191 tokens
ProviderMistral

What is Codestral Latest?

Codestral Latest is a large language model by Mistral with a 32K context window and up to 8,191 output tokens. It costs $1.00 per 1M input tokens and $3.00 per 1M output tokens. Codestral Latest is available via Mistral with a 32K context window and up to 8,191 output tokens. Pricing: $1.00/1M input tokens, $3.00/1M output tokens.

Capabilities

text json mode

Codestral Latest Cost Examples

Short prompt (500 tokens)

$0.000500

Medium prompt (2K tokens)

$0.00200

Long output (4K tokens)

$0.01200

Count tokens for Codestral Latest

Paste your prompt to see exact token counts and API cost estimates.

Open Token Counter

Similar Models to Codestral Latest

Mistral

Codestral 2405

$1.00/1M in 32K ctx

Mistral

Open Mixtral 8x7b

$0.70/1M in 32K ctx

Mistral

Magistral Small 2506

$0.50/1M in 40K ctx

Mistral

Magistral Small Latest

$0.50/1M in 40K ctx

Frequently Asked Questions

How much does Codestral Latest cost per token? +
Codestral Latest costs $1.00 per 1M input tokens and $3.00 per 1M output tokens. For a typical 1,000-token request with a 500-token response, that works out to roughly $0.002500.
What is the context window for Codestral Latest? +
Codestral Latest supports a context window of 32,000 tokens (32K). This determines the maximum combined length of your prompt and conversation history in a single API call.
What is the maximum output length for Codestral Latest? +
Codestral Latest can generate up to 8,191 tokens in a single response. If you need longer outputs, you can make multiple API calls and concatenate the results.
Is Codestral Latest good for coding tasks? +
Codestral Latest can handle basic coding tasks, but there are models specifically optimized for code generation that may perform better on complex programming problems.
Token Counter | Pricing Calculator | Model Comparison | All Mistral Models