Hy4 API
NewLLMThe Hy4 API is Tencent Hunyuan's flagship route, with a 1M context, image input and computer use alongside structured tool calling.
- Input · USD / 1M tokens$0.022 USDOfficial price
$0.11 USD - Output · USD / 1M tokens$0.065 USDOfficial price
$0.325 USD - Savings80%
- Context1M
- View tool pricing and billing rules
What are we making today?
Bring an idea, a question, or a first draft.
01
Where it fits
The Hy4 API is Tencent Hunyuan's flagship route, with a 1M context, image input and computer use alongside structured tool calling.
Choose Hy4 for long agent runs and screenshot-driven work that need Hunyuan's newest model at 20% of the listed rate.
02
Model capabilities
Vision
Accepts visual input alongside text for multimodal coding and analysis tasks.
Tool use
Can select and call tools in agent workflows that support structured tool use.
03
OpenAI-compatible API
Keep your client and change the base URL, API key, and model ID.
curl https://api.omniakey.com/v1/chat/completions \
-H "Authorization: Bearer $OMNIAKEY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "hy4",
"messages": [{"role": "user", "content": "Explain this codebase"}],
"stream": true
}'04
Compatible coding tools
More Tencent Hunyuan models
Related articles
Frequently asked questions
How much does Hy4 cost on OmniaKey?
OmniaKey currently charges $0.022 USD per 1M input tokens and $0.065 USD per 1M output tokens, in USD. Direct provider rates are separate and may change with input context length.
What is the context window for Hy4?
The listed context window is 1M. Actual usable limits can also depend on the client and upstream request format.
Which coding tools work with Hy4?
The current catalog lists compatibility with Codex, Cursor, Cline, Aider. Use the model ID shown on this page when the client supports model selection.