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. Gemma 4 31BGoogleRemove
  2. Gemini 3.8 FlashGoogleRemove
  3. Hy4 previewTencentRemove
gemma-4-31b-it vs gemini-3.8-flash vs hy4-preview
AttributeGemma 4 31Bgemma-4-31b-itGemini 3.8 Flashgemini-3.8-flashHy4 previewhy4-preview
Pricing
Input$0.14 / 1M$0.75 / 1M$0.834 / 1M
Output$0.40 / 1M$3.75 / 1M$2.50 / 1M
Cache Write (5m)$0.14 / 1M$0.75 / 1M$0.834 / 1M
Cache Write (1h)$0.14 / 1M$0.75 / 1M$0.834 / 1M
Cache Read$0.14 / 1M$0.75 / 1M$0.834 / 1M
Web Search$0 / 1M$0 / 1M$0 / 1M
Context
Max context262.1K1M1M
Max outputN/AN/AN/A
Capabilities
VisionYesYesYes
Function CallingYesYesYes
JSON ModeYesYesYes
StreamingYesYesYes
Catalogue
ProviderGoogleGoogleTencent
Categorychatchatchat
Charge typePay As You GoPay As You GoPay As You Go
Released
Description
SummaryGemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model, supporting text and image inputs with text outputs. It features a 256K token context window, configurable thinking/reasoning modes, native function calling, and broad multilingual support across 140+ languages. The model delivers strong performance in coding, reasoning, and document understanding, making it well suited for developer workflows, multilingual applications, and structured knowledge tasks.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.