Skip to content
APMIX.AI

Tencent Hunyuan · Model

Hy4flash API

New

Hy4flash answers at api.apmix.ai under the id below — one key and one monthly plan, on the OpenAI and Anthropic wire formats your tools already speak. No separate Tencent Hunyuan account, no per-provider bill.

Model idtencent/hy4flashStarterProMax
Get an API key

At a glance

Provider
Tencent Hunyuan
Included in
Starter, Pro, Max — from $4.99/month
Weighted-token cost
0.1× — a 1,000-token exchange costs 100 weighted tokens
What a month buys
Starter: 600M tokens · Pro: 2B tokens · Max: 5B tokens
Context window
1M tokens
Max output
64K tokens
Reasoning
Yes — thinks before it answers
Image input
Supported
Tool calling
Supported
On apmix since
November 18, 2026
See what each plan buys on Hy4flash

Call Hy4flash

Set the model to hy4flash in any OpenAI- or Anthropic-compatible client. Both base URLs accept the same apmix key.

OpenAI-compatible · Chat Completions
curl https://api.apmix.ai/v1/chat/completions \
  -H "Authorization: Bearer apx_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "hy4flash", "messages": [{"role": "user", "content": "Hello"}]}'
Anthropic-compatible · Messages
curl https://api.apmix.ai/v1/messages \
  -H "x-api-key: apx_live_YOUR_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{"model": "hy4flash", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello"}]}'
Setup guides for Claude Code, Codex CLI, Cursor and more

Questions about Hy4flash

Which plan includes Hy4flash?
Starter, Pro, Max. Each plan is a monthly allowance of weighted tokens shared across every model and every key; Hy4flash counts at 0.1× per token.
How do I use Hy4flash in Claude Code, Codex CLI or Cursor?
Point the tool at apmix — https://api.apmix.ai/v1 for OpenAI-compatible clients, https://api.apmix.ai for Anthropic-compatible ones — with your apmix key, and set the model to hy4flash. The Docs page has copy-paste setup for each tool.

More Tencent Hunyuan models