全部模型 / Moonshot · Kimi
kimi-k2.5
数据同步于
| 输入 | 缓存读取 | 输出 |
| Standard 默认 | $0.48 | $0.075 | $2.52 |
| Saver | $0.30 | $0.047 | $1.57 |
| Spot | $0.18 | $0.028 | $0.94 |
| Official | $0.60 | $0.093 | $3.15 |
| Moonshot · Kimi |
| |
| OpenAI Chat Completions |
| |
| |
| |
| Standard · Saver · Spot · Official |
| · |
| 10M in + 1M out | $7.32 |
| 100M in + 20M out | $98.40 |
curl https://api.xhuoapi.ai/v1/chat/completions \
-H "Authorization: Bearer $XHUO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "kimi-k2.5", "messages": [{"role": "user", "content": "Hello"}]}'
from openai import OpenAI
client = OpenAI(base_url="https://api.xhuoapi.ai/v1", api_key="YOUR_XHUOAPI_KEY")
resp = client.chat.completions.create(
model="kimi-k2.5",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)