June 🎉 GPT 15% Off 🎉 All series, all month 🔥Mehr erfahren
MoonshotAI

MoonshotAI: Kimi K2.7 Code

Chat
moonshotai/kimi-k2.7-code

Kimi K2.7 Code 是 Moonshot 官方 (api.moonshot.cn) 强编程推理模型, 内嵌 thinking。OpenAI 协议直用; Anthropic 协议需 thinking:type=enabled (bifrost 转换待修, 见 issue 2026-06-24)。

Kontextfenster
262K
Max. Ausgabe-Tokens
262K
Veröffentlicht
2026-06-12
Fähigkeiten
Function CallingReasoningPrompt CachingWebsuche
Verfügbare Anbieter
MoonshotAIMoonshot
Unterstützte Protokolle
OpenAIopenai

Providers

MoonshotAIMoonshot
Eingabe-Tokens
$0.95/M
Ausgabe-Tokens
$4/M
Cache-Lesen
$0.19/M
Websuche
$0.0043/R
Protocols
OpenAIopenai/v1/chat/completions

Code-Beispiele

from openai import OpenAI
client = OpenAI(
base_url="https://api.ofox.ai/v1",
api_key="YOUR_OFOX_API_KEY",
)
response = client.chat.completions.create(
model="moonshotai/kimi-k2.7-code",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)

Häufig gestellte Fragen

MoonshotAI: Kimi K2.7 Code auf Ofox.ai kostet $0.95/M pro Million Eingabe-Tokens und $4/M pro Million Ausgabe-Tokens. Pay-as-you-go, keine monatlichen Gebühren.