---
title: "Hy4 preview"
description: "Long-context agentic work and complex tasks. API identifier hy4-preview, 1,000,000-token context window"
canonical: "https://inference.boundless.network/models/hy4-preview"
---

# Hy4 preview

Long-context agentic work and complex tasks.

| | |
| --- | --- |
| API identifier | `hy4-preview` |
| Developer | Tencent |
| Context window | 1,000,000 tokens |
| Supports | text, reasoning, tool-use |
| Status | Serving |

## Rates

US dollars per 1M tokens, on-demand tier.

| Input | Cached input | Output |
| --- | --- | --- |
| $0.834 | $0.042 | $2.501 |

## Call it

Put `hy4-preview` in the `model` field. The same request works against the Anthropic Messages API — see [API Compatibility](https://inference.boundless.network/docs/api-compatibility).

```bash
curl https://api.inference.boundless.network/v1/chat/completions \
  -H "Authorization: Bearer $BOUNDLESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "hy4-preview",
    "messages": [{
      "content": "Say hello",
      "role": "user"
    }]
  }'
```

Every model we serve is listed at [Models](https://inference.boundless.network/models); the rate card in full is on [Pricing](https://inference.boundless.network/docs/pricing).
