te
Tencent: Hy4 flash
tencent/hy4-flash
Availabletencenttext inimage intext out
Hy4 flash is a cost-efficient variant of [Hy4](https://openrouter.ai/tencent/hy4) from Tencent, served with roughly a quarter of the flagship's parameter count for lower latency and cost. It targets code assistance, agent...
Context
1.0M
tokens in
Max output
66K
tokens out
Price
$0.035 / $0.140
per 1M in / out
Quick start
curl https://api.token265.com/v1/chat/completions \
-H "Authorization: Bearer ${OPENROUTER_KEY}" \
-H "Content-Type: application/json" \
-d '{
"model": "tencent/hy4-flash",
"messages": [{"role": "user", "content": "hello"}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.token265.com/v1", api_key="sk-...")
client.chat.completions.create(
model="tencent/hy4-flash",
messages=[{"role": "user", "content": "hello"}],
)Supported parameters
frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_completion_tokensmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p