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. Codex MiniOpenAIRemove
hy4-preview vs codex-mini
AttributeHy4 previewhy4-previewCodex Minicodex-mini
Pricing
Input$0.834 / 1M$0.75 / 1M
Output$2.50 / 1M$3.00 / 1M
Cache Write (5m)$0.834 / 1M$0.75 / 1M
Cache Write (1h)$0.834 / 1M$0.75 / 1M
Cache Read$0.834 / 1M$0.75 / 1M
Web Search$0 / 1M$0 / 1M
Context
Max context1M200K
Max outputN/AN/A
Capabilities
VisionYesYes
Function CallingYesYes
JSON ModeYesYes
StreamingYesYes
Catalogue
ProviderTencentOpenAI
Categorychatchat
Charge typePay 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.Codex Mini is a fine-tuned o4-mini model made for the Codex CLI. For most direct API usage, it’s better to use gpt-4.1 instead.