MODELS / MOONSHOT

Kimi K2.7 Code

MoonshotAI Kimi K2.7 Code is a multimodal Mixture-of-Experts model (activates ~32B of ~1T parameters) optimized for agentic coding, long-context reasoning, and tool use. It supports text and image inputs, always operates in thinking mode, and offers a 256K context window.

TEXTREASONINGZERO DATA RETENTIONREASONINGTOOL-USECODING
262.1K
CONTEXT WINDOW
65.5K
MAX OUTPUT TOKENS
$0.74 / 1M tokens
INPUT PRICE
$3.50 / 1M tokens
OUTPUT PRICE
QUICKSTART

Call it in one request.

OpenAI-compatible — change the base URL, and the setup is complete.

SHELL
curl https://enterprise.blackbox.ai/v1/chat/completions \
  -H "Authorization: Bearer $BLACKBOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "blackboxai/moonshotai/kimi-k2.7-code",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "stream": true
  }'
INPUT: text, imageOUTPUT: textRELEASED: 2026-06-12REGIONS: US, APAC