Skip to content

Kimi K2.7 Code

Hugging Face (open weights) Open weights

The catch: 1T total parameters means a multi-GPU server node to self-host.

AccessOpen weights
Free limitsFree to download and self-host; you pay only for your own compute. 1T total / 32B active (MoE) plus a 400M vision encoder; coding-focused, 256K-token context. Needs a multi-GPU server node. Released 11 Jun 2026.
Modalitytext, code, image
Credit cardNot required
Commercial useAllowed
Trains on your data–
Licence or termsModified MIT
Context window262,144 tokens
Model idmoonshotai/Kimi-K2.7-Code
Base URL–
Last checked8 Oct 2026

How to use Kimi K2.7 Code

Download the weights and serve them yourself; the quickstart below shows one way. Licence: Modified MIT.

Quickstart
vllm serve moonshotai/Kimi-K2.7-Code -tp 8 --mm-encoder-tp-mode data --trust-remote-code --tool-call-parser kimi_k2 --reasoning-parser kimi_k2
Paste into Claude Code
I want to run the open-weight model "Kimi K2.7 Code" (moonshotai/Kimi-K2.7-Code) for my project.
Please:
1. Check the model card and tell me the hardware it needs and the simplest way to serve it (vLLM, SGLang, Ollama or a hosted endpoint).
2. Give me a minimal working setup and a test request.
3. Tell me the licence terms for commercial use.
4. If a cheaper or smaller variant would do the job, mention it.

Before you ship on it

  • 1T total parameters means a multi-GPU server node to self-host.
  • Modified MIT License (LICENSE in the HF repo): standard MIT plus one condition: commercial products with over 100 million monthly active users or over US$20 million monthly revenue must prominently show "Kimi K2.7 Code"…
  • Free to run means you pay for the GPUs, the serving stack and the on-call.

Questions

Is Kimi K2.7 Code free?

Yes. Open weights offers it as open weights, with these limits: Self-host free · Modified MIT. No credit card is needed.

Can I use Kimi K2.7 Code commercially?

Yes, under Modified MIT. Check the current terms before you ship.

How do I start with Kimi K2.7 Code?

Download the weights and serve them yourself; the quickstart below shows one way. Licence: Modified MIT.

Source: huggingface.co/moonshotai/Kimi-K2.7-Code, checked 8 Oct 2026.