# Hy4

> Hy4 is Tencent Hunyuan's 1M-token-context model for agents, coding and long-horizon work, the official release after Hy4 Preview. It accepts text and image input, supports tool calling and structured outputs, and has optional reasoning on by default.

**ID**: `tencent/hy4`  
**Creator**: tencent  
**Category**: text  
**Context**: 1M tokens  
**Pricing**: $0.42 / $1.25 per 1M · billed by your provider (BYOK)  
**Released**: 2026-11-04  
**Web page**: https://anyrouter.dev/model/tencent/hy4

**Input modalities**: text, image  
**Output modalities**: text  

**Capabilities**: chat, streaming, reasoning, function-calling, thinking, coding

**Aliases**: `tencent/hy4-free`

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/chat/completions`

```bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "tencent/hy4",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| openrouter-byok | $0.42/M (list) | $1.25/M (list) |
| vercel-byok | $0.42/M (list) | $1.25/M (list) |
| nousresearch-byok | $0.42/M (list) | $1.25/M (list) |
| cline-byok | $0.42/M (list) | $1.25/M (list) |
| infron-byok | $0.42/M (list) | $1.25/M (list) |
| novita-byok | $0.42/M (list) | $1.25/M (list) |
| zenmux-byok | $0.83/M (list) | $2.50/M (list) |
| aihubmix-byok | $0.42/M (list) | $1.25/M (list) |
| gmicloud-byok | $0.42/M (list) | $1.25/M (list) |
| nano-gpt-byok | $0.42/M (list) | $1.25/M (list) |
| edenai-byok | $0.42/M (list) | $1.25/M (list) |
| opencode-go-byok | $0.42/M (list) | $1.25/M (list) |
| aimlapi-byok | $0.42/M (list) | $1.25/M (list) |
| fluence-byok | $0.51/M (list) | $1.54/M (list) |
| qiniu-byok | $0.42/M (list) | $1.25/M (list) |
| kenari-byok | $0.42/M (list) | $1.25/M (list) |
| apmix-byok | $0.42/M (list) | $1.25/M (list) |
| chutes-byok | $0.53/M (list) | $1.56/M (list) |
| jiekou-byok | $0.42/M (list) | $1.25/M (list) |
| atlascloud-byok | $0.42/M (list) | $1.25/M (list) |

BYOK routes are billed by your own provider key — AnyRouter charges $0. Rates marked (list) are the provider's published list price.

## Source

- Upstream docs: https://openrouter.ai/tencent/hy4
