Introducing Baseten Loops: A Training SDK for Frontier RL. Learn more here
changelog / post

Kimi K2.7 Coder available on Baseten

Go back

You can start sending requests to Kimi-K2.7-Code today through our Model APIs by calling the OpenAI-compatible endpoint with your Baseten API key. For larger workloads, dedicated deployments are available.

Kimi K2.7 Code is Moonshot AI's coding-focused model, built for long-horizon agentic engineering tasks with a 262K-token context window. Kimi-K2.7-Code runs on the Baseten Inference Stack.

curl -X POST https://inference.baseten.co/v1/chat/completions \
  -H "Authorization: Api-Key $BASETEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "moonshotai/Kimi-K2.7-Code",
    "messages": [{"role": "user", "content": "Write a binary search 
in Rust"}]
  }'

For more information and to get started, see our docs.