Home / Guide / Models
Models

AirLLM Kimi K3: Running a 2.8-Trillion-Parameter Model on Modest Hardware

How AirLLM supports Kimi K3, Moonshot AI's 2.8-trillion-parameter open-weight MoE model: requirements, expert-level streaming, setup steps and realistic expectations.

AirLLM Kimi K3: Running a 2.8-Trillion-Parameter Model on Modest Hardware

In July 2026 Moonshot AI introduced Kimi K3, a 2.8-trillion-parameter open-weight model described at launch as the largest open model released to date. Shortly afterwards, AirLLM added support for it. The combination of AirLLM and Kimi K3 raises an exciting possibility: experimenting with a frontier-scale model on hardware that fits under a desk. This article explains how that works, what you need and what results to expect.

Kimi K3 in brief

Kimi K3 is a native multimodal, agentic model built on a mixture-of-experts (MoE) architecture. Rather than activating every parameter for every token, an MoE model contains many specialised expert networks and a router that selects a small subset for each token. Public descriptions of Kimi K3 mention a very large pool of experts with only a small number active per token, along with a context window of up to one million tokens and a focus on long-horizon coding, knowledge work and reasoning.

The MoE design is the key reason AirLLM can handle it. Total parameter count is enormous, but the parameters needed for any single token are a small fraction.

How AirLLM streams an MoE model

For dense models, AirLLM streams one complete layer at a time. For MoE architectures such as Mixtral, Qwen3 MoE, DeepSeek-V3 and Kimi K3, it goes further and streams at the level of individual experts:

  1. The router inside a layer decides which experts the current token needs.
  2. AirLLM loads only those experts' weights from disk.
  3. The GPU computes their output.
  4. The weights are released and the process continues to the next layer.

Because inactive experts are never read, both memory use and disk traffic per token are far lower than the headline parameter count suggests.

Hardware you realistically need

ComponentPractical starting pointWhy it matters
GPUNVIDIA, around 8 GB VRAM or moreHolds the active experts and activations
Storage capacitySeveral terabytes freeThe full weights are measured in terabytes
Storage speedFast NVMe, ideally Gen4 or Gen5Expert loading dominates time per token
System RAM32 GB or moreCaching and smoother loading

Storage is the true constraint. Before attempting Kimi K3, make sure you can hold the full weights plus AirLLM's shards, and consider compression to reduce the footprint.

Setting up AirLLM for Kimi K3

First, make sure your AirLLM version includes Kimi K3 support:

pip install -U "airllm>=3.1"

Then load the model through the same unified interface used for every other family:

from airllm import AutoModel

model = AutoModel.from_pretrained(
    "moonshotai/Kimi-K3",
    layer_shards_saving_path="/mnt/nvme/kimi_k3_shards",
    hf_token="YOUR_HF_TOKEN",
)

ids = model.tokenizer(["Outline a test plan for a payment API."],
                      return_tensors="pt")["input_ids"].cuda()
out = model.generate(ids, max_new_tokens=60, use_cache=True,
                     return_dict_in_generate=True)
print(model.tokenizer.decode(out.sequences[0]))

Check the AirLLM README and the official model card for the exact repository name, required flags such as trust_remote_code, and any recommended settings, as these can change between releases.

The first run: patience required

The initial download alone can take many hours, even on a fast connection. AirLLM then splits the checkpoint into shards, which also takes considerable time and disk throughput. Start the process when the machine can work undisturbed, ensure it will not sleep, and monitor free disk space throughout.

What speed to expect

Expert-level streaming makes Kimi K3 feasible, not quick. Every generated token triggers a fresh round of expert loads across all layers. On consumer NVMe storage, expect generation measured in seconds to minutes per token. That suits evaluation, research, careful one-off tasks and overnight jobs rather than live conversation. Our AirLLM speed guide covers techniques that help, especially faster storage and compression.

Sensible use cases

  • Evaluation: compare Kimi K3's answers with smaller local models on your own test set.
  • Private review: ask a frontier-scale model to critique confidential code or documents without sending them anywhere.
  • Research: study MoE routing behaviour or reproduce published results on accessible hardware.
  • Final-pass quality checks: draft with a fast model, then ask Kimi K3 to verify the result.

Licence and responsible use

Kimi K3 weights are distributed under Moonshot AI's own licence rather than a standard open-source licence such as Apache-2.0. Read the terms on the official model page, particularly regarding commercial use and attribution. AirLLM itself remains Apache-2.0, but the model's licence governs how you may use the model's outputs and weights.

Preparing the machine for a multi-terabyte model

Working with a model of this scale changes how you prepare. Use a dedicated drive or partition for the weights and shards so the operating system drive never fills. Format it with a modern file system that handles very large files well, and confirm the drive's sustained read speed with a benchmark tool, because some consumer NVMe drives slow down sharply once their cache is exhausted. For downloads, use the Hugging Face command-line tool with resumable transfers, so an interrupted connection does not force you to start again from zero.

A sensible progression

Jumping straight to Kimi K3 is rarely wise. A staged approach builds confidence and reveals problems early:

  1. Run a 7B model to confirm your AirLLM installation and GPU setup.
  2. Run a mid-sized MoE model such as Mixtral 8x7B to see expert-level streaming in action.
  3. Run a large MoE model such as Qwen3-235B or DeepSeek-V3 to measure your storage throughput at scale.
  4. Only then begin the Kimi K3 download, using what you learned to estimate time per token.

Each stage exercises the same code path with progressively heavier data, so problems surface when they are cheap to fix.

Prompting a frontier model efficiently

When every token is costly, prompt design matters more than usual. Ask for structured, compact outputs, such as numbered steps or a short table, rather than open-ended essays. Provide the essential context and remove everything else. If you need a long answer, consider asking for an outline first, reviewing it, and then requesting only the sections you need. This keeps total generation time manageable while still benefiting from the model's depth.

Comparing against hosted access

Kimi K3 is also available through Moonshot AI's own services and through various hosted providers. Hosted access is far faster for interactive work. Running it locally with AirLLM makes sense when data must stay on your premises, when you want to study the model's behaviour directly, or when you need predictable access without per-token fees for long unattended jobs. Many teams combine both: hosted access for exploration, local runs for sensitive material.

Qualify the Kimi K3 environment

Start by reading the Kimi K3 notes in the upstream AirLLM README for the exact package version you intend to use. The documented configuration specifies a CUDA 12 build of PyTorch, Flash Attention, compressed tensors and a compatible Transformers release. Put the experiment in its own environment so that changes to these packages do not affect a working installation used for other models. Confirm that Python can import each required component before starting the checkpoint transfer.

The upstream example reports 3.72 GB of GPU memory on an RTX 6000 Ada. Treat that result as a measurement from the stated setup. Driver support, attention kernels, sequence length and available system memory all matter when reproducing it. Record available capacity on both the model disk and the volume used for caches. During the initial split, inspect how quickly free space declines so you can stop gracefully if your estimate proves too small.

Begin with one short text prompt and a modest output limit. Save the repository revision, measured preparation time, time to first token and the time taken for the remainder of the output. Check whether a second run reuses the prepared files. If it starts preparing the checkpoint again, resolve the storage path or permissions before drawing conclusions about speed. Once that baseline works, increase one setting at a time. A larger context or a different output budget can expose a constraint that is invisible in the smallest demonstration.

Decide in advance what the large model needs to do better than your current setup. An exact extraction task or a coding question with a checkable answer provides a useful comparison. A successful import proves the stack can start. A repeatable benchmark shows whether the local configuration is worth operating.

Frequently asked questions

AirLLM added Kimi K3 support in its v3.1 release. Because Kimi K3 is a mixture-of-experts model, AirLLM streams only the experts selected for each token, keeping GPU memory use modest. Generation is slow, and disk requirements are very large.

A great deal. With 2.8 trillion parameters, the full weights occupy several terabytes depending on precision. Plan for multiple terabytes of fast NVMe storage before attempting a local run.

Expert-level streaming keeps VRAM needs far below the model size, so a consumer GPU with around 8 GB or more is a realistic starting point. Storage speed and capacity matter more than GPU power.

Moonshot AI released the weights under its own Kimi K3 licence. Read the licence on the official model page before use, particularly for commercial projects.

Conclusion

AirLLM Kimi K3 support shows how far layer-wise and expert-wise streaming can stretch modest hardware. With terabytes of fast storage, a capable consumer GPU and realistic expectations about speed, you can run one of the largest open models ever released on your own machine. Treat it as a powerful tool for careful, unattended work, and pair it with smaller models for everyday tasks. To see every family AirLLM can load, read our guide to AirLLM supported models.