> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mixroute.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Hy3

> Hy3: Tencent's 256K-context production model for coding agents, long documents, search Q&A, and complex task execution.

Hy3 is Tencent Hy's production model for practical agent workloads, including coding, long-document analysis, multi-turn context, search Q\&A, and complex task execution.

Call `hy3` through MixRoute using the OpenAI-compatible Chat Completions endpoint.

## Key capabilities

* 256K context window - Supports up to 192K input tokens and 128K output tokens
* Agent workflows - Optimized for coding agents, document automation, and multi-step execution
* Reasoning and tools - Supports preserved thinking, structured output, function calling, and caching
* Production-focused - Improved task completion and engineering reliability over the preview route

## Quick example

<Tabs>
  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.mixroute.ai/v1/chat/completions" \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "hy3",
        "messages": [
          {
            "role": "user",
            "content": "Review this deployment plan and identify the highest-risk assumption."
          }
        ],
        "max_tokens": 256
      }'
    ```
  </Tab>

  <Tab title="Python">
    ```python theme={null}
    from openai import OpenAI

    client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.mixroute.ai/v1")

    response = client.chat.completions.create(
        model="hy3",
        messages=[{"role": "user", "content": "Review this deployment plan and identify the highest-risk assumption."}],
        max_tokens=256,
    )

    print(response.choices[0].message.content)
    ```
  </Tab>
</Tabs>

## Parameters

| Parameter          | Type    | Required | Description                                   |
| ------------------ | ------- | -------- | --------------------------------------------- |
| `model`            | string  | Yes      | Model ID. Must be `hy3`.                      |
| `messages`         | array   | Yes      | Conversation messages with role and content.  |
| `max_tokens`       | integer | No       | Maximum generated tokens.                     |
| `stream`           | boolean | No       | Enable SSE streaming.                         |
| `reasoning_effort` | string  | No       | Reasoning effort when supported by the model. |
| `tools`            | array   | No       | OpenAI-compatible tool definitions.           |

## Vendor reference

* [Tencent Cloud TokenHub model list](https://cloud.tencent.com/document/product/1823/130051)
