Mistral AI logo

Codestral (latest)

Mistral code model for completions, refactors, and developer IDE workflows

Source-linked codestral Open weights Released 2024-05-29
API data Report
Input modalitiesT
Output modalitiesT
Input price$0.3/1M tokens
Output price$0.9/1M tokens
Context window256K
Max output4.096K
Overview

Capabilities and specifications

× Reasoning No
Tool calling Yes
? Structured output Unknown
× Attachments No
× Vision input No
Open weights Yes
Creator
Mistral AI
Model family
codestral
Knowledge cutoff
2024-10
License
Not documented
Release date
2024-05-29
Model ID
mistral/codestral-latest
Inference availability

Provider pricing and availability

Provider-specific identifiers, limits, and prices per million tokens.

Report a price
Providers offering Codestral (latest)
ProviderProvider model IDContextInputOutputCache readCapabilitiesSource
Vercel AI Gateway mistral/codestral 256K $0.3 $0.9 - Tools Docs
Mistral codestral-latest 256K $0.3 $0.9 - Tools Docs
Merge Gateway mistral/codestral-latest 256K $0.3 $0.9 - Tools Docs

Capability badges appear only when the provider catalog explicitly lists support.

Serving quality

Performance and reliability

Observed serving measurements stay separate from model specifications and are never estimated from price or model size.

Throughput Not reported

Generation speed; higher is faster.

Latency / TTFT Not reported

Time until the first output token arrives.

Uptime Not reported

Successful requests over a measured period.

Performance varies by inference provider, region, and load. Provider-level measurements appear only when a source reports them.

Published evaluations

Benchmarks

Raw results remain attached to their original source and version.

Benchmark registry
Aider Polyglot - Unversioned - percent correctTop 8 reported models
GPT-5
88.0
o3-pro
84.9
Gemini 2.5 Pro
83.1
o3
81.3
DeepSeek Reasoner
74.2
Claude Opus 4
72.0
Claude Opus 4 (latest)
72.0
Codestral (latest)
11.1
Catalog activity

Recent record changes

Detected changes from successful source imports.

Full change log
No recent changes detected

This record has not changed in the retained import history.

Public API

Use this record

Fetch the complete source-linked model record without an API key.

API documentation
Endpoint
GET https://www.modelbench.lol/api/v1/models/mistral/codestral-latest
curl
curl "https://www.modelbench.lol/api/v1/models/mistral/codestral-latest"