moonshot/kimi-k2.7-code
Moonshot AI Kimi K2.7 Code is a 1T-parameter sparse-MoE coding model (32B active) with a 256K-token context window. Reports +21.8% on Kimi Code Bench v2 over K2.6 while cutting reasoning tokens ~30%. Always runs with thinking enabled; purpose-built for agentic software engineering. Accessed via OpenAI-compatible interface.
Fuente: official_x0.5 · Verificado el 2026-06-17
Lectura de caché $0.095/M · Escritura de caché $—/M
Puedes usar cualquiera de los IDs para llamar al modelo via API.
moonshot/kimi-k2.7-codeReemplaza el marcador ONEHOP_KEY con tu API key. Crear →
from openai import OpenAI
client = OpenAI(
base_url="https://api.onehop.ai/v1",
api_key="<ONEHOP_KEY>",
)
completion = client.chat.completions.create(
model="moonshot/kimi-k2.7-code",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)