Kimi K2 0905
By MoonshotAI. 1.03 trillion parameters, a context window of 262,144 tokens and the licence other.
Facts
- Released
- 2025-09-03 the day the repository was first published on Hugging Face Hugging Face, read
- Licence
- other the licence the model card declares Hugging Face, read
- Open weights
- Yes the weights are published in this Hugging Face repository Hugging Face, read
- Parameters
- 1.03 trillion counted from the safetensors weight files Hugging Face, read
- Active parameters
- 32.9 billion estimate estimated from the expert counts and sizes in the configuration model configuration, read
- Knowledge cutoff
- 2024-12-31 the knowledge cutoff OpenRouter lists OpenRouter, read
- Context window
- 262,144 tokens the maximum position embeddings in the model configuration model configuration, read
- 262,144 tokens the context length OpenRouter lists OpenRouter, read
- Longest output
- 98,304 tokens the largest output OpenRouter's first provider allows OpenRouter, read
- Tool calling
- Yes OpenRouter lists tools among the supported parameters OpenRouter, read
- Structured output
- Yes OpenRouter lists structured outputs among the supported parameters OpenRouter, read
- Reasoning controls
- Unknown
- Inputs and outputs
- text in, text out Hugging Face, read
- Good for
- No source names a use.
Prices
| Provider | Input | Output | Context | As of | Source |
|---|---|---|---|---|---|
| Nvidia direct | 0 USD | 0 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| IO.NET direct | 0.390 USD | 1.90 USD | 32,768 | older than 30 days; check the provider | models.dev, read |
| NanoGPT direct | 0.400 USD | 1.80 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| Novita through OpenRouter | 0.600 USD | 2.50 USD | 262,144 | OpenRouter endpoints, read | |
| Hugging Face direct | 1.00 USD | 3.00 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
Run it on your own hardware
Weights are the sizes of the files a source lists, or an estimate from the parameter count where none does. Memory is an estimate: weights plus KV cache plus 512 MiB and 5 percent of the weights for runtime buffers. Check it against your hardware.
| Quantization | Weights | Memory at 8,192 tokens | Memory at 32,768 tokens |
|---|---|---|---|
| IQ1_S | 196 GiB | 207 GiB | 209 GiB |
| IQ1_M | 205 GiB | 216 GiB | 218 GiB |
| IQ2_XXS | 229 GiB | 241 GiB | 243 GiB |
| IQ2_XS | 264 GiB | 278 GiB | 280 GiB |
| IQ2_S | 265 GiB | 279 GiB | 280 GiB |
| IQ2_M | 301 GiB | 317 GiB | 319 GiB |
| Q2_K | 334 GiB | 352 GiB | 354 GiB |
| Q2_K_L | 335 GiB | 353 GiB | 355 GiB |
| IQ3_XXS | 377 GiB | 397 GiB | 399 GiB |
| IQ3_XS | 392 GiB | 412 GiB | 414 GiB |
| Q3_K_S | 414 GiB | 436 GiB | 438 GiB |
| IQ3_M | 435 GiB | 458 GiB | 460 GiB |
| Q3_K_M | 435 GiB | 458 GiB | 460 GiB |
| Q3_K_L | 454 GiB | 478 GiB | 480 GiB |
| Q3_K_XL | 455 GiB | 479 GiB | 481 GiB |
| IQ4_XS | 511 GiB | 537 GiB | 539 GiB |
| IQ4_NL | 540 GiB | 568 GiB | 570 GiB |
| Q4_0 | 550 GiB | 578 GiB | 580 GiB |
| Q4_K_M | 581 GiB | 611 GiB | 613 GiB |
| Q4_1 | 599 GiB | 630 GiB | 632 GiB |
| Q5_K_M | 680 GiB | 715 GiB | 717 GiB |
| Q6_K | 786 GiB | 827 GiB | 828 GiB |
| Q8_0 | 1,016 GiB | 1,068 GiB | 1,070 GiB |
Start it with a local runtime
- Ollama
ollama run hf.co/bartowski/moonshotai_Kimi-K2-Instruct-0905-GGUF:Q4_0 - LM Studio
lms get bartowski/moonshotai_Kimi-K2-Instruct-0905-GGUF lms server start - llama.cpp server
llama-server -hf bartowski/moonshotai_Kimi-K2-Instruct-0905-GGUF:Q4_0 --jinja - vLLM
vllm serve moonshotai/Kimi-K2-Instruct-0905 - SGLang
sglang serve --model-path moonshotai/Kimi-K2-Instruct-0905 --port 30000
Use it from your harness
Set up for Hugging Face with the model moonshotai/Kimi-K2-Instruct-0905. Each endpoint page has the same setup for its own address.
OpenCode
Put this in opencode.json in your project folder:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"huggingface": {
"npm": "@ai-sdk/openai-compatible",
"name": "Hugging Face",
"options": {
"baseURL": "https://router.huggingface.co/v1",
"apiKey": "{env:HF_TOKEN}"
},
"models": {
"moonshotai/Kimi-K2-Instruct-0905": {
"name": "Kimi K2 0905",
"limit": {
"context": 262144,
"output": 98304
}
}
}
}
}
}- OpenCode reads any OpenAI-compatible address through the @ai-sdk/openai-compatible package, and an address that speaks the Responses API through @ai-sdk/openai.
From OpenCode documentation, read .
Pi
Put this in ~/.pi/agent/models.json:
{
"providers": {
"huggingface": {
"baseUrl": "https://router.huggingface.co/v1",
"api": "openai-completions",
"apiKey": "$HF_TOKEN",
"models": [
{
"id": "moonshotai/Kimi-K2-Instruct-0905"
}
]
}
}
}- The apiKey field can name an environment variable as $NAME.
From Pi documentation, read .
Codex
Codex speaks only the Responses API, and Hugging Face documents no Responses address. A gateway that offers one can sit in between.
- Codex speaks the Responses API only: responses is the one supported wire API of a custom provider. Ollama and LM Studio are built in and start with --oss.
From Codex documentation, read .
Claude Code
Claude Code sends Anthropic Messages requests, and Hugging Face documents no such address. A gateway that translates to that API can sit in between.
- Claude Code sends Anthropic Messages requests to ANTHROPIC_BASE_URL. Anthropic says it does not support routing Claude Code to models other than Claude through any gateway, so some features may not work with another model.
From Claude Code documentation, read .
Other ways to reach it
- IO.NET, model
moonshotai/Kimi-K2-Instruct-0905 - NanoGPT, model
moonshotai/Kimi-K2-Instruct-0905 - Nvidia, model
moonshotai/kimi-k2-instruct-0905 - OpenRouter, model
moonshotai/kimi-k2-0905 - Ollama, model
hf.co/bartowski/moonshotai_Kimi-K2-Instruct-0905-GGUF:Q4_0
Published results
These are results other people published. Baltor did not run them and does not rank models by them.
- Results the maker published on the model card published by moonshotai Hugging Face, read
Sources of this page
- huggingface.co/api/models/moonshotai/Kimi-K2-Instruct-0905, read
- huggingface.co/moonshotai/Kimi-K2-Instruct-0905/raw/main/config.json, read
- huggingface.co/api/models/bartowski/moonshotai_Kimi-K2-Instruct-0905-GGUF/tree/main, read
- openrouter.ai/api/v1/models/moonshotai/kimi-k2-0905/endpoints, read
- openrouter.ai/api/v1/models, read
- models.dev/api.json, read
Paid links
No link in this directory is a paid link or an ad, and no listing is paid for. The order and the contents of every list come from the sources named on this page.