Tencent · Instant
Hy4 flash
tencent/hy4-flash
Hy4 flash is a cost-efficient variant of Hy4 from Tencent, served with roughly a quarter of the flagship's parameter count for lower latency and cost.
Input Price / 1M Tokens
$0.0560
Output Price / 1M Tokens
$0.22
Context Window
1.0M
VisionToolsReasoningLong Context
Python Example — tencent/hy4-flash
from openai import OpenAI
client = OpenAI(
base_url="https://relaystack-ai.vercel.app/v1",
api_key="sk-rs-your-key-here",
)
response = client.chat.completions.create(
model="tencent/hy4-flash",
messages=[{"role": "user", "content": "Hello from RelayStack!"}],
)
print(response.choices[0].message.content)