hy4 vs hy4-flash
What the numbers mean
hy4-flash is roughly 12.0× cheaper on input than hy4. If your workload passes the quality bar on the cheaper model, that gap compounds across every request; route to hy4 deliberately rather than by default.
Tags: hy4 — Chat, Reasoning, Coding, Vision, 工具调用, Long context · hy4-flash — Chat, Reasoning, Coding, Vision, 工具调用, Long context, 快速
Code
from openai import OpenAI
client = OpenAI(base_url="https://starseaapi.com/v1", api_key="sk-...")
# hy4
client.chat.completions.create(model="hy4", messages=[{"role":"user","content":"Hi"}])
# hy4-flash
client.chat.completions.create(model="hy4-flash", messages=[{"role": "user", "content": "Hi"}])