Claude 3.5 Haiku 在 NextModel 中是什麼?
香港團隊可用的 NextModel 目錄中的 Anthropic 模型,常用於 General chat via Anthropic、API workloads 工作負載。當前展示價格為輸入 $0.152 / 1M tokens、輸出 $0.752 / 1M tokens 每 100 萬 token,上下文視窗為 — token。
適用場景
- General chat via Anthropic
- API workloads
OpenAI 相容呼叫範例
保持 OpenAI SDK 呼叫方式不變,把 base_url 改為 NextModel,並使用模型目錄 ID anthropic--claude-3.5-haiku。
Python
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.nextmodel.app/v1"
)
resp = client.chat.completions.create(
model="anthropic/claude-3.5-haiku",
messages=[{"role": "user", "content": "Hello from NextModel"}]
)
print(resp.choices[0].message.content)相似替代項
Anthropic目錄
Available through the NextModel gateway via Anthropic.
適用場景General chat via Anthropic, API workloads
路由降級
串流輸出
平台整理NextModel gateway catalog (Go origin)
OpenRouter目錄
Aion 1.0
80Available through the NextModel gateway via OpenRouter.
適用場景General chat via OpenRouter, API workloads
路由降級
串流輸出
平台整理NextModel gateway catalog (Go origin)
OpenRouter目錄
Available through the NextModel gateway via OpenRouter.
適用場景General chat via OpenRouter, API workloads
路由降級
串流輸出
平台整理NextModel gateway catalog (Go origin)
常見問題