Hy4 Flash
hy4-flashreasoning dialHy4 Flash by Tencent is available through model.lol's OpenAI-, Anthropic- and Gemini-compatible API under the model id hy4-flash. It costs $0.024 per million input tokens and $0.094 per million output tokens ($0.001 per million cached input tokens), charged per token from a prepaid balance. That is 66% below Tencent's official API price. Context window: 1,048,576 tokens. Supports the reasoning dial: append -low, -medium, -high, -thinking, -nothinking to the id.
- Input
- $0.024per 1M tokens
- Output
- $0.094per 1M tokens
- Cached input
- $0.001per 1M tokens
- Vs official price
- −66%input price
- Context window
- 1M1,048,576 tokens
| Vendor | Tencent |
|---|---|
| Prompt-cache writes | $0.03 (5 min) / $0.048 (1 hour) per 1M tokens: 1.25× and 2× the input price |
| Reasoning dial | hy4-flash-low hy4-flash-medium hy4-flash-high hy4-flash-thinking hy4-flash-nothinking |
| Also accepted as | tencent/hy4-flash |
| Added to the catalog | 2026-11-28 |
| Catalog entry updated | 2026-12-03 |
Prices are what a prepaid model.lol balance is charged per token; every answer reports the exact amount in usage.cost. A refused or moderated request also carries a violation fee (see billing). Signed-in accounts in a pricing group see their group rate on /pricing.
Call it
$ curl https://api.model.lol/v1/chat/completions \ -H "Authorization: Bearer ml-your-key" \ -H "Content-Type: application/json" \ -d '{ "model": "hy4-flash", "messages": [{"role": "user", "content": "hi"}] }'
OpenAI SDKs: base_url = https://api.model.lol/v1. Anthropic SDKs and POST /v1/messages take the same id, and so does Claude Code:
export ANTHROPIC_BASE_URL=https://api.model.lol export ANTHROPIC_AUTH_TOKEN=ml-your-key claude --model hy4-flash
Gemini SDKs, the Responses API, streaming and tool calls: see the docs.