LLM Reference

Grok 4 vs Hunyuan Hy3 Preview

Grok 4 (2025) and Hunyuan Hy3 Preview (2026) are frontier-tier reasoning models from xAI and Tencent AI Lab. Grok 4 ships a 256k-token context window, while Hunyuan Hy3 Preview ships a 262k-token context window. On SWE-bench Verified, Grok 4 leads by 2.3 pts. On pricing, Hunyuan Hy3 Preview costs $0.07/1M input tokens versus $1.25/1M for the alternative. This comparison covers specs, pricing, API access, capabilities, benchmarks, input and output token costs, and production fit for coding and agent workloads.

Hunyuan Hy3 Preview is ~1794% cheaper at $0.07/1M; pay for Grok 4 only for coding workflow support.

Decision scorecard

Local evidence first
SignalGrok 4Hunyuan Hy3 Preview
Best forreasoning-heavy apps, multimodal apps, and tool-calling agentsreasoning-heavy apps, tool-calling agents, and provider-routed production
Decision fitCoding, RAG, and AgentsCoding, RAG, and Agents
Context window256k262k
Cheapest output$2.50/1M tokens$0.26/1M tokens
Provider routes4 tracked2 tracked
Shared benchmarksSWE-bench Verified leader2 shared

Decision tradeoffs

Choose Grok 4 when...
  • Grok 4 holds a shared-benchmark lead on SWE-bench Verified, ahead by 2.3 points.
  • Grok 4 has broader tracked provider coverage for fallback and route flexibility.
  • Grok 4 uniquely exposes Vision, Multimodal, and Structured outputs in local model data.
  • Local decision data tags Grok 4 for Coding, RAG, and Agents.
Choose Hunyuan Hy3 Preview when...
  • Hunyuan Hy3 Preview has the larger context window for long prompts, retrieval packs, or transcript analysis.
  • Hunyuan Hy3 Preview has the lower cheapest tracked output price at $0.26/1M tokens.
  • Local decision data tags Hunyuan Hy3 Preview for Coding, RAG, and Agents.

Monthly cost at traffic

Estimate token spend from the cheapest tracked input and output route or tier on this page.

Lower estimate Hunyuan Hy3 Preview

Grok 4

$1,625

Cheapest tracked route/tier: xAI Console

Hunyuan Hy3 Preview

$118

Cheapest tracked route/tier: OpenRouter

Estimated monthly gap: $1,507. Batch, cache, alternate speed tiers, and negotiated pricing are excluded from this local estimate.

Switch friction

Grok 4 -> Hunyuan Hy3 Preview
  • Provider overlap exists on OpenRouter; start route-level A/B tests there.
  • Hunyuan Hy3 Preview is $2.24/1M tokens lower on cheapest tracked output pricing before cache, batch, or negotiated discounts.
  • Check replacement coverage for Vision, Multimodal, and Structured outputs before moving production traffic.
Hunyuan Hy3 Preview -> Grok 4
  • Provider overlap exists on OpenRouter; start route-level A/B tests there.
  • Grok 4 is $2.24/1M tokens higher on cheapest tracked output pricing, so quality gains need to justify the spend.
  • Grok 4 adds Vision, Multimodal, and Structured outputs in local capability data.

Specs

Specification
Released2025-07-092026-04-22
Context window256k262k
Parameters295B
ArchitectureDecoder OnlyDense + MoE Hybrid
LicenseProprietaryTencent Hunyuan Community License
OpennessProprietaryOpen weights
WeightsNot releasedAvailable
CodeUnknownUnknown
Commercial useCommercial use: conditionalCommercial use: conditional
Knowledge cutoff--

Pricing and availability

Pricing attributeGrok 4Hunyuan Hy3 Preview
Input price$1.25/1M tokens$0.07/1M tokens
Output price$2.50/1M tokens$0.26/1M tokens
Providers

Capabilities

CapabilityGrok 4Hunyuan Hy3 Preview
VisionYesNo
MultimodalYesNo
ReasoningYesYes
JSON / Tool useYesYes
Structured outputsYesNo
Code executionYesNo
IDE integrationNoNo
Computer useNoNo
Parallel agentsNoNo

Benchmarks

BenchmarkGrok 4Hunyuan Hy3 Preview
SWE-bench Verified76.774.4
Google-Proof Q&A87.587.2

Continue comparing

Last reviewed: 2026-07-10. Data sourced from public model cards and provider documentation.