---
title: "Kimi K3: the complete developer guide"
description: "Kimi K3 is Moonshot AI's 2.8-trillion-parameter open-weight model."
url: "https://swe.quest/articles/kimi-k3-the-complete-developer-guide-2b9a359f4856297b"
canonical: "https://www.together.ai/blog/kimi-k3-guide"
source: "Together AI"
published: "2026-08-01"
difficulty: "medium"
kind: "How-to"
reading_minutes: 13
tags: ["llms","inference","ai-agents","python"]
---

# Kimi K3: the complete developer guide

A post on [Together AI](https://swe.quest/sources/together.md), published 2026-08-01, 13 min read, How-to. Original: [https://www.together.ai/blog/kimi-k3-guide](https://www.together.ai/blog/kimi-k3-guide)

## Summary

Kimi K3 is Moonshot AI's 2.8-trillion-parameter open-weight model. Its architecture combines Kimi Delta Attention, a hybrid linear attention enabling 1M context, with Attention Residuals and a Stable LatentMoE design that activates 16 of 896 experts, trained with Quantile Balancing and Per-Head Muon. On Together AI's OpenAI-compatible API it supports low/high/max reasoning effort, streaming of separate reasoning traces, vision, strict JSON-schema output, tool calling, and dynamic tool loading via system messages for large catalogs. Practical guidance: keep long prefixes byte-stable to hit the automatic cache, omit the fixed sampling parameters, set generous max\_tokens, and replay reasoning\_content across turns because the model depends on preserved thinking.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Python](https://swe.quest/tags/python.md) (Languages)

## Prerequisites

- OpenAI chat completions API
- LLM tool calling ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- Mixture-of-Experts basics

## Keywords

Kimi K3, Moonshot AI, Together AI, Kimi Delta Attention, Stable LatentMoE, Muon optimizer, Attention Residuals

## Related posts

- [Kimi K3 by Moonshot now available on Modal](https://swe.quest/articles/kimi-k3-by-moonshot-now-available-on-modal-c3db2e556f76303f.md): Modal · 2026-07-27 · Easy · 3 min read · Inference & serving, LLMs
  Moonshot's Kimi K3, a 2.8T-parameter mixture-of-experts multimodal model with a 1M token context window, is available on Modal from release day via an OpenAI-compatible Shared API and dedicated Auto Endpoints.
- [Together AI expands fine-tuning service with more models, live metrics, and finer controls](https://swe.quest/articles/together-ai-expands-fine-tuning-service-with-more-models-live-metrics-and-finer-30dc413ddac46c8c.md): Together AI · 2026-09-11 · Medium · 10 min read · Model training, LLMs, ML platforms
  Together Fine-Tuning adds support for new open-weight models (GLM-5.3, Kimi K2.7, Qwen 3.5/3.6/3.8, Gemma 4, DeepSeek-V4-Flash), live per-step metrics via API, CLI and dashboard, and new training controls.
- [Mubit + Neon AI Gateway: an agent that cuts its own frontier-model tokens by 73%](https://swe.quest/articles/mubit-neon-ai-gateway-an-agent-that-cuts-its-own-frontier-model-tokens-by-73-358da1147275d399.md): Neon · 2026-11-12 · Medium · 10 min read · AI agents, LLMs, Cost optimization, Inference & serving, PostgreSQL
  Mubit, a proxy placed in front of Neon AI Gateway, records an agent's model calls, groups recurring calls into tasks, and fine-tunes a small open-weight model once a task has at least 25 good replies.
- [Run fast, private agents on-device with LFM2.5-24B-A2B](https://swe.quest/articles/run-fast-private-agents-on-device-with-lfm2-5-24b-a2b-52b7fe0729873bfd.md): Hugging Face · 2026-10-13 · Medium · 7 min read · LLMs, AI agents, Model training, Inference & serving, Evaluation
  LFM2.5-24B-A2B is an open-weight 24B-parameter MoE reasoning model with 2B active parameters per token, aimed at running tool-using agents on local hardware.
- [DeepSeek-V4: a million-token context that agents can actually use](https://swe.quest/articles/deepseek-v4-a-million-token-context-that-agents-can-actually-use-4aebeb5a933f7a88.md): Hugging Face · 2026-04-24 · Hard · 7 min read · LLMs, Inference & serving, AI agents, Model training
  DeepSeek-V4 (Pro: 1.6T total/49B active; Flash: 284B/13B active) is a MoE model family whose 1M-token context is made practical by a hybrid attention design that interleaves Compressed Sparse Attention (4x KV compression plus an FP4 lightning indexer selecting top-k blocks) with Heavily Compressed Attention (128x compression with dense attention), plus FP8 KV storage.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
