# Hy4 Flash

Hy4 Flash costs $0.07 per 1M input tokens and $0.281 per 1M output tokens on LLM API, with a 1M-token context window.

Model ID: `hy4-flash` · Other · Text generation
Updated: 2026-11-17
Canonical: https://llmapi.ai/models/hy4-flash/

- Input: $0.07 per 1M tokens
- Output: $0.281 per 1M tokens
- Cache read: $0.003 per 1M tokens
- Context: 1M tokens
- Max output: 64K tokens

## Pricing

Served by Novita AI, the only provider.

| Price | Amount | Per |
| --- | --- | --- |
| Input | $0.07 | per 1M tokens |
| Output | $0.281 | per 1M tokens |
| Cache read | $0.003 | per 1M tokens |
| Cache write, 5 minutes | $0.834 | per 1M tokens |

**Volume pricing.** At higher monthly volume, Hy4 Flash may cost less. Book a call and sales will quote a price for your usage. [Book a call with sales](https://meetings.hubspot.com/julia-andriienko/llmapi) or [Create an account first](https://app.llmapi.ai/signup).

## Features

- Tools: Yes
- Parallel tool calls: No
- Image input: Yes
- Reasoning: Yes (Levels: none, low, high · default low)
- Prompt caching: Yes
- Structured outputs: Yes
- JSON mode: Yes
- Streaming: Yes
- Web search: No

## Call Hy4 Flash

### Chat Completions (`POST /v1/chat/completions`)

Set LLMAPI_KEY to your LLM API key.

```python
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.llmapi.ai/v1",
    api_key=os.environ["LLMAPI_KEY"],
)

response = client.chat.completions.create(
    model="hy4-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
```

Docs: [Chat Completions docs](https://docs.llmapi.ai/api/v1/chat/completions)

## More from Other

- [Hy4](https://llmapi.ai/models/hy4/): $0.834 / $2.501 per 1M input / output

Prices synced 2026-11-26.

Next step: [Get API key](https://app.llmapi.ai/signup)
