- Resources
Known limitations
Known limitations
Check current platform limits such as model context windows, rate limits, file uploads, batch processing, and regional availability.
This page documents current limitations of the Mistral platform. We actively work to address these. Check the release notes for updates.
Context window
Model | Max context length |
|---|---|
| Mistral Large 3 | 256k tokens |
| Mistral Medium 3.5 | 256k tokens |
| Mistral Medium 3.1 | 128k tokens |
| Mistral Small 4 | 256k tokens |
| Codestral | 128k tokens |
| Devstral 2 | 256k tokens |
| Magistral Medium 1.2 | 128k tokens |
| Ministral 3 (3B / 8B / 14B) | 256k tokens |
| Mistral Nemo 12B | 128k tokens |
For the full and up-to-date list, see the model cards.
- Requests exceeding the model's context window return a 400 Bad Request error.
- Token counts include both input and output tokens. Plan your max_tokens accordingly.
Rate limits
Rate limits vary by subscription tier and model. When exceeded, the API returns 429 Too Many Requests.
- Requests per second and tokens per minute are enforced independently.
- Limits apply per organization.
- You can check your current rate limits in the limits page.
- Batch processing does not count against real-time rate limits.
Check the X-RateLimit-Remaining response header to monitor your usage before hitting the limit.
File uploads
- Maximum file size: 512 MB
- Supported formats for OCR: PDF, PNG, JPG, JPEG, TIFF, BMP, GIF, WEBP
- Uploaded files are retained for 30 days unless deleted earlier.
Batch processing
- Maximum batch file size: 512 MB.
- Maximum requests per batch: 100,000.
- Batch jobs are processed asynchronously; completion time depends on queue depth and request complexity.
- Batch results are available for download for 24 hours after completion.
Streaming
- Streaming connections time out after 10 minutes of inactivity.
- stream_options.include_usage must be explicitly set to receive token usage in stream events.
- Some client HTTP libraries may buffer streamed responses; ensure chunked transfer encoding is handled correctly.
Function calling
- Maximum number of tools per request: 128.
- Tool descriptions are included in the token count. Long descriptions reduce available context for messages.
- Parallel function calls are supported but may return calls in any order.
- tool_choice: "any" forces a tool call but does not guarantee which tool is selected.
JSON mode
- When response_format: {"type": "json_object"} is set, the model always returns valid JSON.
- You must include "JSON" in the system or user prompt. Otherwise the model may produce an infinite whitespace stream.
- JSON mode does not guarantee adherence to a specific schema. Use function calling for structured outputs.
Vision
- Maximum image size: 20 MB per image.
- Supported formats: PNG, JPG, JPEG, GIF, WEBP.
- Maximum images per request depends on the model and total token budget.
- Images are resized internally; very small images may lose detail.
Audio transcription
- Supported formats: WAV, MP3, FLAC, OGG, WEBM.
- Maximum audio duration: 60 minutes.
- Maximum file size: 500 MB.
- Transcription is optimized for clear speech; heavy background noise reduces accuracy.
Regional availability
- The global Mistral API endpoint does not commit to a specific inference location. To process inference within a chosen geography, use a regional endpoint (api.eu.mistral.ai or api.us.mistral.ai); see Regional inference.
- Some models may not be available in all regions. Check the models page for details.