Verified 2026-11-18 · rates follow the live catalog

Hy4 Flash API

Hy4 Flash is available through the Openference catalog on the same endpoint as every other model.

Specifications and pricing

Hy4 Flash — published rates in USD
ProviderTencent
Context window1.0M
Input / 1M tokens$0.07
Output / 1M tokens$0.28
Cached input / 1M tokens$0.00
Off-peak10% off at every hour
Serving precisionBF16

What a request costs

A call with 50,000 input tokens and 10,000 output tokens bills at $0.0063: 50,000 ÷ 1,000,000 × $0.07 for input, plus 10,000 ÷ 1,000,000 × $0.28 for output. A prompt prefix that hits the cache bills at $0.00 per million instead of the full input rate, so a long reused system prompt is far cheaper on the second call than the first. The 10% off at every hour discount applies to requests outside the peak window, so batch work scheduled into those hours costs measurably less.

Calling it

Endpoint

Both API formats are served from one host and one key, so a tool that speaks either works without a translation layer:

Set OPENAI_BASE_URL or ANTHROPIC_BASE_URL to that host and keep the client library you already use.

Send Hy4 Flash in the model field. These aliases resolve to the same model: hy4-flash, hy4 flash, Hy4-Flash.

Capabilities: image input, tool and function calling.

Other Tencent models

The rest of the catalog, with rates side by side, is on all models.

Model catalog · Pricing · Comparisons · Cost guides · Integration guides · FAQ
Guides: GLM coding plan alternative · Free AI API · LLM gateway · LLM proxy · Cheap AI API · OpenAI-compatible API
Model APIs: GLM API · DeepSeek API · Kimi API · Qwen API · MiniMax API