Skip to content

Compare models

Put up to 4 models beside each other — token prices, context windows, capabilities and provider, from the same catalogue the model pages read.

  1. Codestral 2508Mistral AIRemove
  2. Gemini 3.1 Flash Lite Image (Google Vertex AI)GoogleRemove
codestral-2508 vs gemini-3.1-flash-lite-image-vertex
AttributeCodestral 2508codestral-2508Gemini 3.1 Flash Lite Image (Google Vertex AI)gemini-3.1-flash-lite-image-vertex
Pricing
Input$0.45 / 1M—
Output$1.35 / 1M—
Cache Write (5m)$0.45 / 1MNot applicable
Cache Write (1h)$0.45 / 1MNot applicable
Cache Read$0.45 / 1MNot applicable
Web Search$0 / 1M—
Request—$0.0336 / request
Billing—Pay Per Request
Context
Max context256KN/A
Max outputN/AN/A
Capabilities
VisionNoYes
Function CallingYesNo
JSON ModeYesNo
StreamingYesNo
Catalogue
ProviderMistral AIGoogle
Categorychatimage
Charge typePay As You GoPay Per Request
Released——
Description
SummaryCodestral is Mistral's cutting-edge language model for coding, released in late July 2025. It is purpose-built for low-latency, high-frequency developer workflows, excelling at tasks such as fill-in-the-middle (FIM) code completion, code correction, and test generation. Optimized for responsiveness and precision, Codestral is well suited for real-time coding assistance, IDE integration, and automated development pipelines where speed and accuracy are critical.Gemini 3.1 Flash Lite Image served from Google Vertex AI. Billed per image at US$0.0336. Call it through /v1/chat/completions with stream set to false; the image is returned in the message content as a base64 data URI. Maximum output resolution is 1K. A request for a larger size returns a 1K image with the same aspect ratio at the same price. When a size is reduced, the response carries an X-Image-Resolution-Capped header with the requested and delivered size.