Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Modal 3 min read Announcement easyNovice

Kimi K3 by Moonshot now available on Modal

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. K3 activates 16 of 896 experts per token, uses Kimi Delta Attention and Attention Residuals, and was quantization-aware trained with MXFP4 weights and MXFP8 activations. Moonshot also contributed a new prefix-caching implementation to vLLM because KDA broke conventional prefix caching. Modal trained a custom DFlash speculator for K3 on 32 B300 nodes, raising decode speed from 100 to 460 tokens per second and per-GPU throughput from 800k to 1.5M TPM on agentic workloads.

Assumes: mixture-of-experts modelsspeculative decoding

Related posts

  • Kimi K3: the complete developer guide

    Together AI mediumAdept

    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.

  • How to serve trillions of tokens for trillion-parameter coding agents

    Modal hardMaster

    Modal describes how it serves Moonshot AI's trillion-parameter Kimi K2.6 model for coding-agent traffic at trillions of tokens. In that workload, requests average about 100k input to 500 output tokens with heavy prefix overlap across session turns. Their approach was to optimize a single replica first, raising interactivity and then throughput, and to scale out afterward. The changes included NVFP4 quantization on B200/B300 GPUs, tensor parallelism within 8-GPU NVLink domains, DFlash speculative decoding, freeing and quantizing HBM intermediates, and extending the KV cache into CPU RAM with SGLang HiCache. Together they improved per-replica performance 2.8x per user and 5.6x across users, and the post argues that small 8-GPU replicas match larger NVL72 deployments on per-GPU throughput while being far easier to schedule.

  • Inkling by Thinking Machines now available on Modal

    Modal hardMaster

    Thinking Machines' Inkling, a 975B-parameter (41B active) mixture-of-experts multimodal model with a 1M token context window, launches on Modal as a token-priced, OpenAI-compatible managed endpoint. Inkling uses a local attention layout where five of every six attention layers are sliding-window. Modal pairs it with a custom DFlash block-diffusion speculator that drafts whole token blocks in one parallel pass, uses only sliding-window attention, and switches to causal layers so it can run on optimized kernels like trtllm. On 8x B200s, Modal reports 250 tokens/s per user at 2.5M TPM per GPU, 67% faster interactivity than Inkling's built-in MTP speculative path at matched throughput.

  • Together AI expands fine-tuning service with more models, live metrics, and finer controls

    Together AI mediumAdept

    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. These include LoRA on MoE expert layers, early stopping with refunds, and gradient accumulation for arbitrary batch sizes. In an invented-facts test, expert-layer LoRA recalled up to 89% of new knowledge versus 15% for attention-only adapters, and it kept routed experts from falling out of use. Data tooling adds tokenized dataset previews, per-example sample weights, pre-flight JSONL validation and packing controls, alongside price cuts of 30–70%.

  • Gisting: Compressing LLM Agent context to ↑ throughput and ↓ cost

    Shopify Engineering hardMaster

    Shopify compressed the ~6,000-token system prompt of its Sidekick GraphQL agent into ~1,500 learned gist tokens (4:1) without losing prediction quality. The gist embeddings are trained by knowledge distillation (KL divergence between full-prompt teacher logits and gist-prompt student logits) with model weights frozen, then written into the embedding matrix so serving needs no special path. Gisting complements prefix caching because decode still streams the whole KV cache per generated token. At 350 RPM, median TTFT fell 19%, end-to-end latency about 38%, and throughput rose 16%, allowing 14% fewer GPUs. Key recipe findings from an autoresearch loop: initialize gists from mean prompt-chunk embeddings, batch-level loss normalization, and precomputed teacher logits cutting training from 30 to 6 hours.

The quest for software engineering knowledge.

Look:
Layout: