Kimi K3.1 Pro 是全新 K3.1 系列的第一个模型,也是Kimi迄今能力最强的 3 万亿级参数模型,支持 100 万上下文。K3.1 Pro 在代码、3D 创作、金融研究和其他长程 Agent 能力上的提升尤为显著。
模型价格
| 输入 /Mt | 输出 /Mt | |||
|---|---|---|---|---|
| 未缓存 | 缓存读取 | Cache write (5m) | Cache write (1h) | |
| ¥13/Mt | ¥1.3/Mt | ¥13/Mt | ¥26/Mt | ¥68/Mt |
示例代码
1base_url="https://api.ppio.com/openai"
2api_key="<YOUR_API_KEY>"
3
4curl "$base_url/v1/chat/completions" \
5 -H "Content-Type: application/json" \
6 -H "Authorization: Bearer $api_key" \
7 -d @- << 'EOF'
8{
9 "model": "moonshotai/kimi-k3.1-pro",
10 "messages": [
11
12 {
13 "role": "user",
14 "content": "Hi there!"
15 }
16 ],
17 "response_format": { "type": "text" }
18}
19EOF
20 模型信息
上下文窗口:
1M
最大输出 Token 数:
1M
模态:
支持的功能
API 集成指南
Base URL:
https://api.ppio.com/openai
Messages 协议 Base URL:
https://api.ppio.com/anthropic
API 端点:
/v1/chat/completions
模型 ID:
moonshotai/kimi-k3.1-pro
API Key:
创建并获取您的 API Key常用工具集成