Kimi K2.7 Code
Moonshot Kimi 对话模型,适合长文本理解与分析。
All systems normal2 providers available
Context128K
Max output32K
$0.95/ 1M tokensInput price · by access tier0.88折$0.084/ 1M tokens2折$0.19/ 1M tokens4.5折$0.43/ 1M tokens7折$0.67/ 1M tokens$4/ 1M tokensOutput price · by access tier0.88折$0.35/ 1M tokens2折$0.8/ 1M tokens4.5折$1.8/ 1M tokens7折$2.8/ 1M tokensCache read$0.19/1M tokens
Cache write$1.1875/1M tokens
Capabilities
Input modality
InputText
OutputText
Core capabilities
Tool capabilities
Access protocols
—
Pricing details
| Tier | Price (input–output) | Cache read | Cache write |
|---|---|---|---|
| ≦200K | $0.95-$4/1M tokens | $0.19/1M tokens | $1.1875/1M tokens |
Service performance
Success rate100%Last 24 hours
First token latency1131msLast 24 hours
Quickstart
from openai import OpenAI
client = OpenAI(
base_url="https://api.apione.ai/v1",
api_key="<YOUR_API_KEY>", # 在控制台创建 API Key 后替换
)
response = client.chat.completions.create(
model="kimi-k2.7-code",
messages=[{"role": "user", "content": "用一句话介绍你自己"}],
)
print(response.choices[0].message.content)