Mistral AI API

Mistral AI's large language models

Data & Privacy

HQ:FR
Safety identifier:Not forwarded
API Training:No
Prompt Logging:Yes
Retention:30 days
GDPR:Compliant
SOC2:Type II Certified
ISO 27001:Certified

Available Models

Pricing and availability as of

Codestral 3

mistral5% off
codestral-3
Streaming
Tools
Reasoning
JSON Output
5% Discount
Mistral AIBatch
Context: 256k5% off
Input
$0.9$0.855
/M tokens
Cached
—
/M tokens
Output
$3$2.85
/M tokens

Mistral Medium 4

mistral5% off
mistral-medium-4
Streaming
Tools
JSON Output
5% Discount
Mistral AIBatch
Context: 128k5% off
Input
$0.4$0.38
/M tokens
Cached
—
/M tokens
Output
$2$1.9
/M tokens

DeepSeek V4.1 Flash 1017

deepseek5% off
deepseek-v4.1-flash-1017
Streaming
Vision
Tools
Reasoning
JSON Output
JSON Schema
5% Discount
Mistral AIBatch
Context: 1.0M5% off
Input
$0.3$0.285
/M tokens
Cached
$0.007$0.0066
/M tokens
Output
$1.2$1.14
/M tokens

deepseek-v4.1-flash-latest

deepseekVirtual model5% off
deepseek-v4.1-flash-latest
Streaming
Vision
Tools
Reasoning
JSON Output
JSON Schema
5% Discount
Mistral AIBatch
Context: 1.0M5% off
Input
$0.3$0.285
/M tokens
Cached
$0.007$0.0066
/M tokens
Output
$1.2$1.14
/M tokens

Mistral Large 4

mistral5% off
mistral-large-4
Streaming
Vision
Tools
JSON Output
JSON Schema
5% Discount
Mistral AIBatch
Context: 1M5% off
Input
$1.36$1.292
/M tokens
Cached
$0.14$0.133
/M tokens
Output
$4.18$3.971
/M tokens

GLM-5.3 Flash

zai5% off
glm-5.3-flash
Streaming
Vision
Tools
Reasoning
JSON Output
JSON Schema
5% Discount
Mistral AIBatch
Context: 1.0M5% off
Input
$0.15$0.1425
/M tokens
Cached
$0.03$0.0285
/M tokens
Output
$0.5$0.475
/M tokens

GLM-5.3

zai5% off
glm-5.3
Streaming
Tools
Reasoning
JSON Output
JSON Schema
5% Discount
Mistral AIBatch
Context: 1.0M5% off
Input
$1.4$1.33
/M tokens
Cached
$0.14$0.133
/M tokens
Output
$4.4$4.18
/M tokens

Mistral Medium 3.5

mistral5% off
mistral-medium-3-5
Streaming
Vision
Tools
JSON Output
JSON Schema
5% Discount
Mistral AIBatch
Context: 262.1k5% off
Input
$1.5$1.425
/M tokens
Cached
—
/M tokens
Output
$7.5$7.125
/M tokens

Mistral Small 4

mistral5% off
mistral-small-2603
Streaming
Vision
Tools
JSON Output
JSON Schema
5% Discount
Mistral AIBatch
Context: 262.1k5% off
Input
$0.15$0.1425
/M tokens
Cached
—
/M tokens
Output
$0.6$0.57
/M tokens

Devstral 2

mistral5% off
devstral-2512
Streaming
JSON Output
5% Discount
Mistral AIBatch
Context: 262.1k5% off
Input
$0.4$0.38
/M tokens
Cached
—
/M tokens
Output
$2$1.9
/M tokens

Ministral 3B

mistral5% off
ministral-3b-2512
Streaming
Vision
JSON Output
5% Discount
Mistral AIBatch
Context: 131.1k5% off
Input
$0.1$0.095
/M tokens
Cached
—
/M tokens
Output
$0.1$0.095
/M tokens

Ministral 8B

mistral5% off
ministral-8b-2512
Streaming
Vision
JSON Output
5% Discount
Mistral AIBatch
Context: 262.1k5% off
Input
$0.15$0.1425
/M tokens
Cached
—
/M tokens
Output
$0.15$0.1425
/M tokens

Mistral Large Latest

mistral5% off
mistral-large-latest
Streaming
5% Discount
Mistral AIBatch
Context: 128k5% off
Input
$4$3.8
/M tokens
Cached
—
/M tokens
Output
$12$11.4
/M tokens

Mistral Large 3

mistral5% off
mistral-large-2512
Streaming
Vision
JSON Output
5% Discount
Mistral AIBatch
Context: 262.1k5% off
Input
$0.5$0.475
/M tokens
Cached
—
/M tokens
Output
$1.5$1.425
/M tokens

Ministral 14B

mistral5% off
ministral-14b-2512
Streaming
Vision
JSON Output
5% Discount
Mistral AIBatch
Context: 262.1k5% off
Input
$0.2$0.19
/M tokens
Cached
—
/M tokens
Output
$0.2$0.19
/M tokens

Codestral

mistral5% off
codestral-2508
Streaming
JSON Output
5% Discount
Mistral AIBatch
Context: 256k5% off
Input
$0.3$0.285
/M tokens
Cached
—
/M tokens
Output
$0.9$0.855
/M tokens

Mistral Small 3.2

mistral5% off
mistral-small-2506
Streaming
Vision
JSON Output
5% Discount
Mistral AIBatch
Context: 128k5% off
Input
$0.1$0.095
/M tokens
Cached
—
/M tokens
Output
$0.3$0.285
/M tokens

Mistral OCR

mistral5% off
mistral-ocr-latest
Vision
5% Discount
Mistral AI
Context: —5% off
Input
$0$0
/M tokens
Cached
—
/M tokens
Output
$0$0
/M tokens

FAQ

Mistral AI API questions

Can't find an answer? Contact us

Create an LLM Gateway API key and point any OpenAI-compatible SDK at https://api.llmgateway.io/v1. Set the model to codestral-3. On pay-as-you-go keys, mistral/codestral-3 pins every request to Mistral AI; DevPass coding plans do not support provider pinning. You do not need a separate Mistral AI account or SDK.