Tencent / tencent/hy4-preview
Tencent: Hy4 Preview - access through LLMTR
Tencent Hy4 Preview is a preview-generation model with a 262,144-token context window, built for coding agents, long-document analysis and multi-step tool workflows. It reasons by default, returning the chain separately in `reasoning_content`; those tokens are counted inside `completion_tokens`. To turn reasoning off, send `reasoning_effort: "none"` or append `:none` to the model id - that is the only level with a measured effect here. It supports native tool calling, schema-enforced JSON through `json_schema`, and prompt caching at the lower cache-read rate. Two limits: `tool_choice: "required"` is ignored upstream, so LLMTR refuses it with a 400 instead of letting your agent loop miss the call; a named function choice works but returns `finish_reason: "stop"`, so branch on the presence of `tool_calls`, not on the label. The model is text only - an image sent to it is dropped without an error. Details are on the LLMTR Chat Completions and Tool Calling documentation pages.
Technical specifications
| Canonical ID | tencent/hy4-preview |
|---|---|
| Provider | Tencent |
| Context window | 262,144 tokens |
| Operations | CHAT_COMPLETIONS |
| Modalities | text |
Pricing
An 8% platform margin applies to credit top-ups; model usage prices are not separately marked up.
| Operation | Metric | Unit | Price |
|---|---|---|---|
| CHAT_COMPLETIONS | INPUT_TEXT | PER_1M_TOKENS | $0.834000 |
| CHAT_COMPLETIONS | CACHE_READ | PER_1M_TOKENS | $0.042000 |
| CHAT_COMPLETIONS | OUTPUT_TEXT | PER_1M_TOKENS | $2.501 |
Example usage
With existing OpenAI SDK flows, change only the base URL and model identifier.
curl https://llmtr.com/v1/chat/completions \
-H "Authorization: Bearer llmtr-your_key" \
-H "Content-Type: application/json" \
-d '{"model":"tencent/hy4-preview","messages":[{"role":"user","content":"Hello"}]}'
Related models
- Tencent: Hy3 tencent/hy3
- Tencent: Hy-MT2 Lite tencent/hy-mt2-lite
- Tencent: Hy-MT2 Plus tencent/hy-mt2-plus
- Tencent: Hy-MT2 Pro tencent/hy-mt2-pro
- Gemma 4 llmtr/gemma-4
- Qwen 3.6 35B-A3B llmtr/qwen3-6-35b
- Trendyol Asure 12B llmtr/trendyol-asure-12b
- Magibu 11B v8 llmtr/magibu-11b-v8