Skip to content

Model detail

Hy4 preview

Provided by Tencent
Pay-as-you-go

Tencent: Hy4 preview is a mixture-of-experts model from Tencent, with 49B active parameters out of 770B total. It is designed for coding agents, complex tool-use workflows, and productivity tasks that require planning, context continuity, and sustained multi-step execution.

Model specs

Model ID
hy4-preview
Context length
1M
Max output
64K
I/O modalities
Released
2026-08

02

API endpoints

One MixRoute gateway, OpenAI-compatible

  • OpenAI-compatible /v1/chat/completions POST

03

Pricing

Flat rate, unit: /1M Tokens

Input

$0.8340 /1M Tokens

Completion

$2.5010 /1M Tokens

Cache read

$0.0420 /1M Tokens

05

Selection summary

Quickly judge whether it fits your workload

What is this model good for?

Tencent: Hy4 preview is a mixture-of-experts model from Tencent

Tencent: Hy4 preview is a mixture-of-experts model from Tencent, with 49B active parameters out of 770B total.

What should you check before using it?

1,000,000 context, 64,000 output tokens

Tencent model that supports reasoning, tool calling and structured output. Released 2026-08-28.

Why use it through MixRoute?

Hy4 preview cache reads cut repeated-prompt cost

Cached prefixes are billed at 0.0420 USD per 1M tokens instead of 0.8340 USD, so repeated system prompts cost less. MixRoute serves Hy4 preview on the OpenAI-compatible endpoint /v1/chat/completions; point your existing client at https://api.mixroute.ai/v1 with the model ID hy4-preview and re-run your integration tests.

07

Capabilities & compatibility

Unconfirmed capabilities stay "Unknown," no guesses

Available:

Tool calling

Hy4 preview supports function and tool calls.

EX Send a tools definition; the response returns tool_calls to execute and feed results back.
Available:

Structured output

Hy4 preview can produce JSON-formatted output on demand.

EX response_format: { type: "json_schema" } forces valid JSON output.
Available:

Streaming

Hy4 preview supports streamed responses.

EX stream: true streams tokens incrementally, so chat UIs render as they arrive.
Available:

Prompt caching

Hy4 preview supports prompt caching under supported routing conditions.

EX Keep the system prompt and tool definitions at the start of the request; repeated prefixes are automatically billed at the cache-read rate.
Available:

OpenAI SDK

Call Hy4 preview through MixRoute's OpenAI-compatible endpoint.

EX Change base_url to https://api.mixroute.ai/v1; everything else follows the OpenAI style.

08

Token cost estimator

Live estimate from this page's pricing, not an actual bill

Share of the same prefix read repeatedly, up to 100%

09

FAQ

Yes. Hy4 preview is reachable through an OpenAI-compatible endpoint, so an existing OpenAI SDK client works after pointing the base URL at MixRoute and setting the model parameter to hy4-preview. Keep your current request and response handling.

One endpoint, a testable decision

Test this model and alternate routes with the same request format

Start from a real workload, then let quality, total cost, and failure conditions decide whether to send production traffic.