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.7 FlashGoogleRemove
  3. Hy4 previewTencentRemove
  4. DeepSeek V4.1 FlashDeepSeekRemove

4 is the maximum. Remove one to add another.

codestral-2508 vs gemini-3.7-flash vs hy4-preview vs deepseek-v4.1-flash
AttributeCodestral 2508codestral-2508Gemini 3.7 Flashgemini-3.7-flashHy4 previewhy4-previewDeepSeek V4.1 Flashdeepseek-v4.1-flash
Pricing
Input$0.45 / 1M$0.375 / 1M$0.834 / 1M$0.30 / 1M
Output$1.35 / 1M$1.88 / 1M$2.50 / 1M$1.20 / 1M
Cache Write (5m)$0.45 / 1M$0.375 / 1M$0.834 / 1M$0.30 / 1M
Cache Write (1h)$0.45 / 1M$0.375 / 1M$0.834 / 1M$0.30 / 1M
Cache Read$0.45 / 1M$0.375 / 1M$0.834 / 1M$0.30 / 1M
Web Search$0 / 1M$0 / 1M$0 / 1M$0 / 1M
Context
Max context256K1M1M1M
Max outputN/AN/AN/AN/A
Capabilities
VisionNoYesYesYes
Function CallingYesYesYesYes
JSON ModeYesYesYesYes
StreamingYesYesYesYes
Catalogue
ProviderMistral AIGoogleTencentDeepSeek
Categorychatchatchatchat
Charge typePay As You GoPay As You GoPay As You GoPay As You Go
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.7 Flash is Google's fast multimodal model designed for agentic workflows, coding, and complex multi-step reasoning. It combines responsive inference with reliable problem-solving capabilities, making it well suited for interactive and production-scale applications. Optimized for speed and dependable multi-step execution, Gemini 3.7 Flash is a strong choice for coding assistants, autonomous agents, and high-throughput workflows that require both low latency and capable reasoning.Tencent Hy4 Preview is a Mixture-of-Experts (MoE) model from Tencent, featuring 770B total parameters with 49B activated per token. It is designed for coding agents, complex tool-driven workflows, and professional productivity tasks that require strong planning and reliable execution. Optimized for context continuity and sustained multi-step work, Hy4 Preview is well suited for long-horizon coding, agentic automation, tool orchestration, and complex real-world workflows.DeepSeek V4.1 Flash is a cost-efficient sparse Mixture-of-Experts (MoE) model in DeepSeek's V4.1 family, optimized for coding, reasoning, and agentic workflows. Despite its efficiency-focused positioning, DeepSeek reports that it surpasses the previous V4 Pro in performance, inference speed, and overall task completion time. The model is particularly strong at long-horizon, multi-step execution, making it well suited for coding agents, complex problem solving, and autonomous workflows that must reliably carry tasks through to completion.