Hy4 preview is available from 6 provider(s). Cheapest: DeepInfra at $0.834 per 1M input tokens and $2.50 per 1M output tokens. Context window: up to 1 048 576 tokens. Developer: Tencent.
Rankings: Arena (arena.ai, formerly LMArena), dataset lmarena-ai/leaderboard-dataset, licensed under CC BY 4.0, as of 2026-11-23. Excerpt; variants with different reasoning effort merged and matched to our prices by aiapicompare. Not affiliated with Arena and not a recommendation.
| Provider | Input $/1M | Output $/1M | Context | |
|---|---|---|---|---|
| DeepInfra tencent/Hy4-preview | $0.834 | $2.50 | 1.05M | Go to provider ↗ Set up |
| NanoGPT tencent/hy4-preview | $0.834 | $2.50 | 1.05M | Go to provider ↗ Set up |
| Novita AI tencent/hy4-preview | $0.834 | $2.50 | 1M | Go to provider ↗ Set up |
| OpenRouter tencent/hy4-preview | $0.834 | $2.50 | 1.05M | Go to provider ↗ Set up |
| Kyma API hy4-preview | $1.13 +35 % | $3.38 | 1.05M | Go to provider ↗ Set up |
| UplinkSwitch hy4-preview | $1.25 +50 % | $3.75 | 1.05M | Go to provider ↗ Set up |
Sorted by price only – there are no paid placements. Data as of 2026-11-25 09:03 UTC. Prices in USD, excluding taxes. No guarantee.
Reference price: $1.25 per 1M tokens (blended 3:1), median of all providers · How we compare → · Wrong price? Report it
from openai import OpenAI
import os
client = OpenAI(base_url="https://api.deepinfra.com/v1/openai", api_key=os.environ["DEEPINFRA_API_KEY"])
r = client.chat.completions.create(
model="tencent/Hy4-preview",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)
Currently at DeepInfra ($0.834 / 1M). Prices are updated daily; the provider’s website is authoritative.
All listed providers offer an OpenAI-compatible API. See the setup guide for Hermes Agent, VS Code, Cursor and more.