# Tencent Hy4

> Tencent's Hy4 flagship reasoning model with native vision for agentic coding, computer use, finance, and research workflows.

Agent resources: the index of everything machine-readable is https://www.ohmygpt.com/llms.txt; the integration skill (endpoints, auth, SDK and coding-tool setup) is https://www.ohmygpt.com/skill.md.

- Model ID: `tencent/hy4`
- Status: available
- Released: 2026-11-04
- Context: 1M tokens
- Max output: 64K tokens
- Input: text, image; output: text

## Prices (USD)

| Item | Price | Unit |
| --- | --- | --- |
| Input | $0.438 | per 1M tokens |
| Output | $1.314 | per 1M tokens |
| Cache read | $0.0219 | per 1M tokens |

## Providers

Without a prefix each request goes to the best-priced healthy provider. To pin one, send the model as `<provider>:tencent/hy4`.

| Provider | Pinned model ID | Location | Input | Output | Trains on your data |
| --- | --- | --- | --- | --- | --- |
| Tencent Cloud TokenHub | `tencent:tencent/hy4` | China | $0.438 | $1.314 | no |

## Endpoints

| API | Request | model |
| --- | --- | --- |
| OpenAI Chat | POST https://api.ohmygpt.com/v1/chat/completions | `tencent/hy4` |
| OpenAI Responses | POST https://api.ohmygpt.com/v1/responses | `tencent/hy4` |
| Anthropic Messages | POST https://api.ohmygpt.com/v1/messages | `tencent/hy4` |
| Google Gemini | POST https://api.ohmygpt.com/v1/models/tencent/hy4:generateContent | `tencent/hy4` |

## Example

```bash
curl https://api.ohmygpt.com/v1/chat/completions \
  -H "Authorization: Bearer $OHMYGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "tencent/hy4",
    "messages": [
      {
        "role": "user",
        "content": "Hello"
      }
    ]
  }'
```

Web page: https://www.ohmygpt.com/models/tencent/hy4
