---
title: "Hy4 preview"
description: "An open-weights text model from Tencent, released August 2026, with a 1M-token context window. It has no benchmark results in the registry, and it is served by a single provider, Novita."
canonical: https://pydantic.dev/models/list/hy4-preview/
---

# Hy4 preview

> An open-weights text model from Tencent, released August 2026, with a 1M-token context window. It has no benchmark results in the registry, and it is served by a single provider, Novita.
>
> Markdown copy of https://pydantic.dev/models/list/hy4-preview/. Index for agents: https://pydantic.dev/models/llms.txt

**Agents: use the API for model information.** It answers a question in one request, where the pages need several.

- Choose a model for an agent: `POST https://pydantic.dev/models/api/select` with a JSON body such as `{"description": "what the agent does"}`. It returns up to five ranked models with reasons. Format: https://pydantic.dev/models/select.md
- Search models by name: `GET https://pydantic.dev/models/api/search?query=<text>`
- List, filter and sort models: `GET https://pydantic.dev/models/api/models`, for example `?weights=open&max_price=2&sort=efficiency`
- One model in full: `GET https://pydantic.dev/models/api/models/<slug>`
- Any other question about the models: `GET https://pydantic.dev/models/api/ask?query=<question>`

Add `intent=<intent>&stack=<stack>&harness=<harness>` to the query string of all but the single model. An `OPTIONS` request to any endpoint returns its schema. The same five are tools of the MCP server at `https://pydantic.dev/models/mcp`. More: https://pydantic.dev/models/usage.md

Pydantic AI has no built-in provider for the services that host this model, so it has no model string. Point an OpenAI-compatible model at the provider instead.

## Spec sheet

- **Family:** Tencent
- **Released:** 28 Aug 2026
- **Weights:** open
- **Context window:** 1,000,000 tokens
- **Largest response:** 64,000 tokens
- **Accepts:** text
- **Tool calling:** yes
- **Knowledge cutoff:** unknown
- **Intelligence index:** not enough benchmark results yet
- **Scores updated:** unknown
- **Price:** $0.83 input, $2.5 output, $1.25 blended per 1M tokens
- **Index points per $:** – (rank –)
- **Speed:** 45 tokens/sec (rank 135)
- **Popularity:** rank 86 of 194 by usage
- **Pydantic AI Gateway:** not built in; [bring your own key](https://ai.pydantic.dev/gateway/#bring-your-own-key)

## Benchmarks


No results yet on the benchmarks we track.

## Providers and prices

US dollars per million tokens.

| Provider | Gateway | Pydantic AI string | Input | Cached input | Output |
| -------- | ------- | ------------------ | ----- | ------------ | ------ |
| Novita   | BYOK    | –                  | $0.83 | $0.042       | $2.5   |

## About Hy4 preview

Hy4 preview costs $0.83 per million input tokens and $2.5 per million output tokens and has a 1M token context window.

Hy4 preview is an open-weights text model from Tencent, released in August 2026. It accepts text only and offers a 1M-token context window with output up to 64k tokens. Tool calling, reasoning mode and structured output are all supported, which covers the usual needs of an agent loop. The registry holds no benchmark results for it, so its quality cannot be ranked against other models and should be checked on the task at hand.

Pricing is $0.834 per million input tokens and $2.501 per million output tokens, giving a blended price of about $1.25 per million tokens. That is above the registry median blended price of about $1.01, and the model ranks 104th of 194 on price. It is served only by Novita, and it is not built into the Pydantic AI Gateway. The knowledge cutoff is not stated in the registry.

**Strengths**

- 1M-token context window
- Open weights
- Supports tool calling, reasoning mode and structured output
- Input costs $0.834 per million tokens, below the $1.01 blended median

**Weaknesses**

- No benchmark results, so quality cannot be compared
- Only one provider, Novita
- Blended price of $1.25 per million tokens sits above the registry median

**Best for:** Agents that need a very long context window and tool calling at a low price, where the team can test quality itself.

Prices come from [genai-prices](https://github.com/pydantic/genai-prices), in US dollars per million tokens. Benchmark scores come from Epoch AI and LMArena (CC BY 4.0), Browser Use, and our own Pydantic AI benchmarks (CC BY 4.0); the index and its sources are described at https://pydantic.dev/models/methodology.md. Data built 2026-11-30. This model from the API: `https://pydantic.dev/models/api/models/hy4-preview`. Compare it with others: `https://pydantic.dev/models/api/models?slug=hy4-preview,<other slug>`
