hy4 vs hy4-flash: API Pricing & Capabilities
Unit prices, a monthly cost example and capabilities of hy4 and hy4-flash, side by side, from the build-time price snapshot. Both models work with the same OpenLux API key and base URL — switch by changing the model parameter.
hy4: The official version of Hy4 has achieved significant improvements compared to the Hy4 preview, especially enhancing Agent capabilities and various long-range and real productivity tasks, and for the first time, introducing visual understanding.
hy4-flash: Tencent's self-developed high cost-performance MoE multimodal text model, supporting 1M large context, featuring retention-based deep thinking, Function Calling tool invocation, structured JSON output, image understanding, and caching acceleration capabilities; fast decoding speed, low KV Cache overhead, suitable for large-scale agents, programming assistance, long document parsing, chart recognition, batch office automation, and other high-concurrency scenarios.
Price overview
For each model, the lowest-priced group available to visitors; input, output and monthly cost all use that group.
| Item | hy4 | hy4-flash |
|---|---|---|
| Provider | 腾讯 | 腾讯 |
| Group | Self-Deployed-1 | hunyuan-1 |
| Input (USD / 1M tokens) | $0.2502 | $0.042 |
| Output (USD / 1M tokens) | $0.7503 | $0.1686 |
| Cache read (USD / 1M tokens) | $0.0126 | $0.0018 |
| Monthly cost example | $40.03 | $7.57 |
Monthly cost example: 100M input tokens + 20M output tokens per month, using the input and output prices of the same group, excluding cache.
Prices by group
USD per 1M tokens. Price = base price × group ratio.
hy4 by group
| Group | Input | Output | Cache read | Monthly example |
|---|---|---|---|---|
| Self-Deployed-1 | $0.2502 | $0.7503 | $0.0126 | $40.03 |
| Self-Deployed-2 | $0.417 | $1.25 | $0.021 | $66.71 |
| hunyuan-1 | $0.5004 | $1.501 | $0.0252 | $80.05 |
| Self-Deployed-3 | $0.6255 | $1.876 | $0.0315 | $100.06 |
| hunyuan-2 | $0.7923 | $2.376 | $0.0399 | $126.75 |
hy4-flash by group
| Group | Input | Output | Cache read | Monthly example |
|---|---|---|---|---|
| hunyuan-1 | $0.042 | $0.1686 | $0.0018 | $7.57 |
| hunyuan-2 | $0.0665 | $0.267 | $0.00285 | $11.99 |
Same-group comparison
Groups available to both models, with the monthly cost example in the same group:
| Group | hy4 | hy4-flash |
|---|---|---|
| hunyuan-1 | $80.05 | $7.57 |
| hunyuan-2 | $126.75 | $11.99 |
Snapshot taken at build time on 2026-11-26. Actual charges follow the live price table on each model page and your console.
Capabilities
| Item | hy4 | hy4-flash |
|---|---|---|
| Provider | 腾讯 | 腾讯 |
| Context | — | — |
| Features | Conversation · Tool | Conversation · Tool |
| API formats | Anthropic Messages · OpenAI Chat Completions | Anthropic Messages · OpenAI Chat Completions |
| Long-context tiers | No | No |
Which one to choose
- Lower cost: hy4-flash is cheaper — about $7.57 vs $40.03 for hy4 in the monthly example above.
- Not sure? Send a small share of real traffic to each and compare quality and cost — switching only changes the model parameter.
Quick start
Base URL: https://api.openlux.ai/v1. The example uses hy4; change model to hy4-flash to call the other model.
curl https://api.openlux.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "hy4",
"messages": [{"role": "user", "content": "Hello"}]
}'Full parameters in the API docs
FAQ
Which is cheaper, hy4 or hy4-flash?
At build time, the lowest public prices were: hy4 (Self-Deployed-1 group) input $0.2502, output $0.7503 per 1M tokens; hy4-flash (hunyuan-1 group) input $0.042, output $0.1686 per 1M tokens. For 100M input + 20M output tokens a month, hy4 costs about $40.03 and hy4-flash about $7.57.
Can I use one API key for both hy4 and hy4-flash?
Yes. Sign up for OpenLux, create an API key in the console, set the base URL to https://api.openlux.ai/v1 and set model to hy4 or hy4-flash. Usage of both models is billed from the same balance.
Which API formats do hy4 and hy4-flash support?
hy4: Anthropic Messages, OpenAI Chat Completions. hy4-flash: Anthropic Messages, OpenAI Chat Completions.
Is there a Batch API?
Not at the moment. OpenLux has no Batch API; all requests are real-time calls billed as such. For bulk jobs, send concurrent requests to the regular endpoints.