hy4 vs hy4-flash
逐项对比
在输入单价上,hy4-flash 大约比 hy4 便宜 12.0 倍。如果便宜的那款在质量上能过线,这个差距会在每一次请求上累加;建议显式地把 hy4 作为定向选择,而不是设为默认。
标签:hy4 — 文本对话, 推理, 代码, 视觉理解, 工具调用, 长上下文 · hy4-flash — 文本对话, 推理, 代码, 视觉理解, 工具调用, 长上下文, 快速
代码示例
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"}])