Skip to main content

Codestral

Codestral 2508 is a Mistral AI model for coding, reasoning, instruction following, or multimodal language tasks.

Input / output price
$0.30 / $0.90 per 1M
Context
256K tokens
Released
May 29, 2024
Agent setup

Paste into Claude Code, Cursor, or Codex

Help me set up the Respan gateway: fetch and follow https://www.respan.ai/docs/agent-setup.md. Use model "mistral/codestral".

Read docs

Providers

2 providers, cheapest first, priced per 1M tokens after gateway discounts.

ProviderInputOutput
Concentrateconcentrate/codestral
$0.30/M$0.90/M
Mistralmistral/codestral
$0.30/M$0.90/M

Is a provider down? Mistral AI status

Pricing

Averaged across 2 providers, in USD per 1M tokens after gateway discounts.

Average input
$0.30 per 1M
Average output
$0.90 per 1M
Average cache read
$0.03 per 1M

Cost by volume

Total cost from 0 to 1T tokens.

$0.30/MConcentrate and Mistral

Throughput and latency

30-day averages from requests through the Respan gateway. Under each figure, every model on the gateway by its average, this one in blue.

Output speed

Higher is better

31tokens/sacross providers

Faster than 51% of the other 599 models on the gateway

Response latency

Lower is better

0.4sacross providers

Faster than 88% of the other 780 models on the gateway

Benchmarks

1 published score from 1 source, each linked to where it was published.

Published scores

BenchmarkScore
HumanEvalMistral86.6%

Apps

Use Codestral in the tools you already run. Each guide points the app at the Respan gateway.

Setup guides for more apps are in the integration docs.

Codestral FAQ

Short answers, built from the data on this page.

Codestral is a model from Mistral, released on May 29, 2024. Codestral 2508 is a Mistral AI model for coding, reasoning, instruction following, or multimodal language tasks.

On the Respan gateway, Codestral costs $0.30 per 1M input tokens and $0.90 per 1M output tokens on every provider, after gateway discounts.

Codestral is available through 2 providers: Concentrate and Mistral.

Codestral accepts up to 256K tokens of context on its largest provider route.

Point any OpenAI-compatible SDK at https://gateway.respan.ai/v1 with your Respan API key and set the model to "mistral/codestral". To set it up with a coding agent, copy the agent setup prompt at the top of this page.

Codestral has 1 published benchmark score, including HumanEval 86.6%. Each score links to where it was published; the data is collected by Respan.

Certified where it counts.

Built to meet the security and privacy standards that enterprise and healthcare teams require.

ISO 27001

The internationally recognized standard for information security management.

SOC 2

Secure, compliant management of your data across all of our systems.

GDPR

Operated under GDPR, the world's strictest standard for data privacy.

HIPAA

HIPAA compliant, with a BAA available for healthcare teams.

Works with your entire stack

Use Respan with your favorite frameworks and tools.

AnthropicAI21 LabsxAIVercel AI SDK
LangChainOpenRouterAssemblyAICursor
LiteLLMGroqBasetenMem0
CohereCogneeLlamaIndexFireworks
DeepSeekLinkupHaystackTogether AI
PerplexityInference.netPostHogRubyLLM
SlackMastraAzure OpenAIMistral
AWS BedrockMoonshotHyperspellBAML
ModaInstructorGoogle GeminiParasail
ReductoZapierAgnoNebius
OpenAINovita AIReplicateSuperagent

Built for AI agents.
Break less.
Ship more.