LLM Reference
OpenRouter

Using Hunyuan Hy4 Preview on OpenRouter

Implementation guide · Hunyuan · Tencent AI Lab

ServerlessOpen Source

OpenRouter exposes Hunyuan Hy4 Preview through model ID tencent/hy4-preview. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-08-31. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at OpenRouter and generate an API key.
  2. 2
    Use the OpenRouter SDK or REST API to call tencent/hy4-preview — see the documentation for request format.
  3. 3
    You'll be billed $0.83/1M input, $2.50/1M output tokens. See full pricing.

Code Examples

See OpenRouter documentation for integration details.

Pricing on OpenRouter

TypePrice (per 1M)
Input tokens$0.83
Output tokens$2.50

Capabilities

ReasoningJSON / Tool usePrompt CachingFine-tuning

About Hunyuan Hy4 Preview

Tencent Hunyuan Hy4 preview is a Mixture-of-Experts flagship language model released and open-sourced August 28, 2026. First-party Tencent release: 770B total parameters with 49B activated per token, context window exceeding 1M tokens, aimed at coding, office productivity, game development, and scientific research. Hugging Face model card (tencent/Hy4-preview) documents a 78-layer MoE backbone (256 routed experts, top-8 plus 1 shared expert), Gated DeepSeek Sparse Attention with IndexCache, iHC residual streams, native MTP speculative decoding, Apache License 2.0 weights (also Hy4-preview-FP8), and OpenAI-compatible serving via vLLM/SGLang with tool-call and reasoning parsers.

Model Specs

Released2026-08-28
Parameters770B (49B active)
Context1.05m
ArchitectureMixture of Experts

Provider

OpenRouter
OpenRouter

OpenRouter, Inc.

New York, NY, USA