Tencent Hy4 Preview API
Call Tencent Hy4 Preview through Wokey and review dated catalog pricing, upstream-native API forms, context, and model capabilities.
- Model ID
hy4-preview- Vendors
- opencode
- Supply status
- Currently callable
Catalog pricing snapshot
Prices are per 1M tokens; request-time pricing controls settlement.
| Meter | Wokey | Official reference | Savings |
|---|---|---|---|
| Input | $0.417 | $0.834 | 50% |
| Output | $1.2505 | $2.501 | 50% |
| Cache read | $0.021 | $0.042 | 50% |
| Cache write | — | — | — |
Price checked:
Official price source: https://www.tencentcloud.com/act/pro/tokenhub
Model capabilities
- Context
- 1,048,576 tokens
- Max output
- 64,000 tokens
- Streaming
- Supported
- Tools
- Supported
- Vision
- Not supported
- Supported API forms
/v1/chat/completions
Send a request
/v1/chat/completions
curl https://api.wokey.ai/v1/chat/completions \
-H "Authorization: Bearer $WOKEY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"hy4-preview","messages":[{"role":"user","content":"Hello"}]}'Frequently asked questions
How much does the Tencent Hy4 Preview API cost, and how much does it save versus the official API?
As of 2026-09-14, Wokey lists input at $0.417 per 1M tokens and output at $1.2505 per 1M tokens; the official references are $0.834 and $2.501. That is 50% lower for input and 50% lower for output. Request-time pricing controls settlement, and the vendor pricing source is linked on this page.
Which API forms does Tencent Hy4 Preview support, and how do I call it through Wokey?
Tencent Hy4 Preview supports /v1/chat/completions (Chat Completions requests). Set the API base URL to https://api.wokey.ai, authenticate with a Wokey API key, and use the canonical model ID hy4-preview; you can start with /v1/chat/completions. The Send a request section includes a curl example for every supported API form.
What are the context window and maximum output for Tencent Hy4 Preview?
The catalog context window is 1,048,576 tokens and the maximum output is 64,000 tokens. These are separate limits, and a request must also satisfy the upstream constraints in effect when it is processed.
How are cache reads and cache writes priced for Tencent Hy4 Preview?
Cache read: Wokey lists $0.021 per 1M tokens and the official reference is $0.042 per 1M tokens. Cache write: the vendor does not publish a separate meter, so Wokey also shows — as the public price.
Does Tencent Hy4 Preview support streaming, tool calling, and image input?
Streaming is supported; tool calling is supported; image input is not supported. These values come directly from the current runtime model catalog and are not inferred from the model name.
Related models and documentation
Get API key · hy4-preview