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. GPT-6 Astra ProOpenAIRemove
  3. Gemini 3.8 FlashGoogleRemove
  4. Hy4 previewTencentRemove

4 is the maximum. Remove one to add another.

codestral-2508 vs gpt-6-astra-pro vs gemini-3.8-flash vs hy4-preview
AttributeCodestral 2508codestral-2508GPT-6 Astra Progpt-6-astra-proGemini 3.8 Flashgemini-3.8-flashHy4 previewhy4-preview
Pricing
Input$0.45 / 1M$10.00 / 1M$0.75 / 1M$0.834 / 1M
Output$1.35 / 1M$50.00 / 1M$3.75 / 1M$2.50 / 1M
Cache Write (5m)$0.45 / 1M$10.00 / 1M$0.75 / 1M$0.834 / 1M
Cache Write (1h)$0.45 / 1M$10.00 / 1M$0.75 / 1M$0.834 / 1M
Cache Read$0.45 / 1M$10.00 / 1M$0.75 / 1M$0.834 / 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 AIOpenAIGoogleTencent
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.GPT-6 Astra Pro uses the same underlying model as GPT-6 Astra, but runs with reasoning.mode set to pro for higher-quality responses on complex tasks. Optimized for deeper reasoning, greater accuracy, and more reliable multi-step execution, it is well suited for demanding coding, analysis, and agentic workflows where solution quality takes priority over speed and cost.Gemini 3.8 Flash is Google's most intelligent Flash-class model, delivering significant improvements over Gemini 3.7 Flash across software engineering, agentic workflows, and complex multi-step reasoning. Designed to combine strong capability with Flash-tier efficiency, it is well suited for coding assistants, autonomous agents, and high-throughput production workflows that require responsive performance without sacrificing reasoning quality.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.