Hy4 API
Tencent's Hy4 is a productivity-focused multimodal model with visual understanding, Computer Use, a 1-million-token context, and long-horizon agent capabilities.
Hy4 is a model from the Tencent Hunyuan team, released in 2026, built for productivity. It accepts text, images, screenshots, and document pages as input and produces text output, combining visual understanding with perception, reasoning, and tool calling. The model supports fine-grained image processing, complex chart analysis, and mathematical visual reasoning, and it can operate computers through command-line and graphical interfaces. It has also been trained for professional software such as Blender and CAD.
With a context window of 1 million tokens and a maximum input of 960 thousand tokens, Hy4 handles ultra-long documents and complex multi-file scenarios. Its output limit is 64 thousand tokens. The model is designed for long-horizon planning and execution, with improved instruction following, long-context understanding, and agent performance. It is well suited to software engineering, front-end development, office collaboration through WorkBuddy and WeCom integration, visual creative work and 3D scene construction, game development in Unreal Engine, Unity, and Godot, financial analysis, and scientific research.
Architecturally, the Hy4 preview uses a 770B-parameter MoE backbone with 49B activated parameters per token, Gated DeepSeek Sparse Attention with IndexCache, iHC residual connections, and a built-in MTP layer with speculative decoding. It is available under Apache 2.0 with open weights, offers an OpenAI-compatible API with tool-calling support, and ships with official Docker images for vLLM and SGLang. Security training focused on proof-of-concept development and vulnerability remediation.
Updated:
MODEL ID
hy4- Context
- 1.049M
- Max output
- 65.536K
- Recommended API
- messages
- Input
- text / image
- Output
- text
Highlights
- Visual understanding and Computer Use
- 1-million-token context window
- Long-horizon agent planning
- Open weights under Apache 2.0
- OpenAI-compatible API with tool calling
- Built-in MTP speculative decoding
Providers
Compare API prices across providers. Select a provider to view all charges and conditions.
| Uptime | ||||
|---|---|---|---|---|
| $0.417 | $1.251 | $0.021 |
Historical observations are not a live health check. Missing data does not mean an outage.
What $10 buys
- Input
- 24M tokens
- Output
- 8M tokens
Estimated from current input and output prices, before discounts.
Benchmarks
- 2.99
Internal blind evaluation
Average score on a four-point scale from 163 experts across 203 engineering tasks.
- 2.92
GLM 5.3 internal blind evaluation
Average score on a four-point scale; Hy4 preview win rate 46.8%.
- 2.94
Kimi K3 internal blind evaluation
Average score on a four-point scale; Hy4 preview win rate 51.2%.
- 83.18
WorkBuddy evaluation
Average performance score, with a pass rate of 96.15%.
- 19.1%
GameDev
Improvement of Hy4 over Hy4 preview.
- 9.8%
GameLogic
Improvement of Hy4 over Hy4 preview.
- #24
Vals Index
Rank among 34 models.
- 53.21%
Vals Index
Score, with a best single-item rank of #9 among 50 models.
Scores as published by the model provider.
Reasoning
- Default effort
- high
- Enabled by default
- Yes
- Always enabled
- No
- Available effort levels
- high / low / none
Quick Start
Drop-in code to call this model with Felo API Platform compatible APIs. Start in the Playground when you want to test prompts before writing code.
Get your API key
Create a key from your Felo API Platform account and set it as an environment variable.
export FELO_API_KEY="YOUR_API_KEY"Make your first request
Use this model ID with the Felo API Platform endpoint. Optional request headers such as X-Request-Id can help troubleshooting.
hy4This model is reasoning-capable. If your selected protocol and model route expose reasoning controls, preserve the returned reasoning metadata when continuing a conversation.
const response = await fetch("https://openapi.felo.ai/api/v1/messages", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.FELO_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "hy4",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}),
});
if (!response.ok) throw new Error(await response.text());
console.log(await response.json());Using third-party SDKs
Use compatible SDKs by setting baseURL to https://openapi.felo.ai/api/v1. Use the Anthropic-compatible base URL for Claude-style clients. https://openapi.felo.ai/api.
Enable streaming
Add stream: true to receive responses as server-sent events.
curl -N https://openapi.felo.ai/api/v1/messages \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "hy4",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Hello"
}
],
"stream": true
}'Endpoint
Felo API Platform exposes compatible model-calling surfaces. Pick the surface your app or agent client already supports.
Messages
Anthropic-compatible messages for Claude-style clients.
POST
https://openapi.felo.ai/api/v1/messagesParameters
modelstringhy4Public model ID to call.max_tokensinteger—Maximum generated tokens.messagesarray—Conversation messages for Chat Completions.stop———toolsarray—Tool calling definitions following compatible schema.reasoning———temperaturenumber—Controls response variety when supported.tool_choicestring or object—Controls whether a tool should be called.response_formatobject—Request structured output when supported.reasoning_effort———include_reasoning———structured_outputs———max_completion_tokens———Frequently asked questions
What is Hy4?
Hy4 is a model from the Tencent Hunyuan team, released in 2026, built for productivity. It accepts text, images, screenshots, and document pages as input and produces text output, combining visual understanding with perception, reasoning, and tool calling. The model supports fine-grained image processing, complex chart analysis, and mathematical visual reasoning, and it can operate computers through command-line and graphical interfaces. It has also been trained for professional software such as Blender and CAD. With a context window of 1 million tokens and a maximum input of 960 thousand tokens, Hy4 handles ultra-long documents and complex multi-file scenarios. Its output limit is 64 thousand tokens. The model is designed for long-horizon planning and execution, with improved instruction following, long-context understanding, and agent performance. It is well suited to software engineering, front-end development, office collaboration through WorkBuddy and WeCom integration, visual creative work and 3D scene construction, game development in Unreal Engine, Unity, and Godot, financial analysis, and scientific research. Architecturally, the Hy4 preview uses a 770B-parameter MoE backbone with 49B activated parameters per token, Gated DeepSeek Sparse Attention with IndexCache, iHC residual connections, and a built-in MTP layer with speculative decoding. It is available under Apache 2.0 with open weights, offers an OpenAI-compatible API with tool-calling support, and ships with official Docker images for vLLM and SGLang. Security training focused on proof-of-concept development and vulnerability remediation.
How is usage billed?
Your bill depends on the provider you use, its prices and your usage. Longer inputs or other conditions may have different prices.
What input types does Hy4 support?
Hy4 accepts text, images, screenshots, and document pages, and returns text output. It combines visual understanding with reasoning and tool calling.
How long are the context and output limits?
Hy4 offers a context window of 1 million tokens with a maximum input of 960 thousand tokens and an output limit of 64 thousand tokens. This supports ultra-long documents and complex multi-file scenarios.
What tasks is Hy4 designed for?
Hy4 is built for productivity, including software engineering, front-end development, office collaboration through WorkBuddy, visual creative tasks, game development, financial analysis, and scientific research.
What is the difference between Hy4 and Hy4 preview?
Hy4 is the official release; full parameters of the official Hy4 release have not been fully disclosed. Hy4 preview is an early version with 770B total parameters and 49B activated parameters per token, and Tencent noted room for improvement in pre-training and post-training.
Does Hy4 support Computer Use?
Yes, Hy4 supports Computer Use through command-line and graphical interfaces, and it has been trained for professional software including Blender and CAD.