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. Hy4 previewTencentRemove
  2. Gemini 3.8 FlashGoogleRemove
  3. GPT-5.1 CodexOpenAIRemove
hy4-preview vs gemini-3.8-flash vs gpt-5.1-codex
AttributeHy4 previewhy4-previewGemini 3.8 Flashgemini-3.8-flashGPT-5.1 Codexgpt-5.1-codex
Pricing
Input$0.834 / 1M$0.75 / 1M$0.375 / 1M
Output$2.50 / 1M$3.75 / 1M$3.00 / 1M
Cache Write (5m)$0.834 / 1M$0.75 / 1M$0.375 / 1M
Cache Write (1h)$0.834 / 1M$0.75 / 1M$0.375 / 1M
Cache Read$0.834 / 1M$0.75 / 1M$0.375 / 1M
Web Search$0 / 1M$0 / 1M$0 / 1M
Context
Max context1M1M400K
Max outputN/AN/AN/A
Capabilities
VisionYesYesYes
Function CallingYesYesYes
JSON ModeYesYesYes
StreamingYesYesYes
Catalogue
ProviderTencentGoogleOpenAI
Categorychatchatchat
Charge typePay As You GoPay As You GoPay As You Go
Released
Description
SummaryTencent 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.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.GPT-5.1 Codex is a coding-focused version of GPT-5.1 designed for both interactive development and long autonomous engineering tasks. It can build projects, add features, debug, refactor, and review code with higher steerability and cleaner outputs than GPT-5.1. It integrates with developer tools (CLI, IDEs, GitHub, cloud), supports adjustable reasoning effort, handles images/screenshots for UI work, and uses tools for search and environment setup — making it purpose-built for agentic coding workflows.