---
title: "Launching a trillion-parameter model at Sakana AI"
description: "Modal served Sakana Namazu, a ~1T-parameter Japanese-focused MoE model, by quantizing only the routed experts to NVFP4."
url: "https://swe.quest/articles/launching-a-trillion-parameter-model-at-sakana-ai-9bcebf1840c2211d"
canonical: "https://modal.com/blog/sakana-case-study"
source: "Modal"
published: "2026-10-23"
difficulty: "hard"
kind: "Case study"
reading_minutes: 6
tags: ["inference","llms","performance","serverless"]
---

# Launching a trillion-parameter model at Sakana AI

A post on [Modal](https://swe.quest/sources/modal.md), published 2026-10-23, 6 min read, Case study. Original: [https://modal.com/blog/sakana-case-study](https://modal.com/blog/sakana-case-study)

## Summary

Modal served Sakana Namazu, a ~1T-parameter Japanese-focused MoE model, by quantizing only the routed experts to NVFP4. Attention, the router and shared experts stayed in BF16, and calibration data was weighted toward Japanese, which kept instruction-following quality within benchmark noise. A custom DFlash speculative draft model trained on raw production token IDs rather than re-tokenized text raised acceptance 25%, cut per-token decode latency ~35%, and a second DFlash2 drafter trained on 1M real requests lifted average acceptance length from 3.51 to 5.01. Further gains came from removing a CPU–GPU sync stall in the speculative loop, faster NVFP4 MoE kernels, making token acceptance a single shared decision across tensor-parallel ranks, grammar-constrained speculation for JSON output, and a KV-aware prefix-caching router that eliminated multi-minute TTFT spikes.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)

## Prerequisites

- Mixture-of-Experts models
- LLM quantization ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- speculative decoding
- tensor parallelism ([easy posts on Concurrency](https://swe.quest/tags/concurrency.md?difficulty=easy))

## Keywords

Modal, Sakana Namazu, NVFP4, DFlash, NVIDIA Blackwell, speculative decoding, KV-aware routing

## Related posts

- [Achieve state-of-the-art inference latencies with speculative decoding](https://swe.quest/articles/achieve-state-of-the-art-inference-latencies-with-speculative-decoding-29855d3aec239f45.md): Modal · 2026-06-24 · Hard · 9 min read · Inference & serving, LLMs, Performance engineering, Model training
  Speculative decoding is the dominant lever for low-latency LLM serving because decode steps dominate latency and speculation yields multiplicative speedups roughly linear in acceptance length.
- [Speculation Is All You Need](https://swe.quest/articles/speculation-is-all-you-need-dffc126cb5233807.md): Modal · 2026-06-19 · Hard · 17 min read · Inference & serving, LLMs, Performance engineering, Model training
  Speculative decoding delivers integral-factor (2-3x+) LLM decode speedups, far beyond the few-percent gains from kernel or host-side optimization, and its benefit scales roughly linearly with acceptance length.
- [How to serve trillions of tokens for trillion-parameter coding agents](https://swe.quest/articles/how-to-serve-trillions-of-tokens-for-trillion-parameter-coding-agents-0508c7c515fa8a14.md): Modal · 2026-09-23 · Hard · 32 min read · Inference & serving, LLMs, Caching, Performance engineering, Hardware
  Modal describes how it serves Moonshot AI's trillion-parameter Kimi K2.6 model for coding-agent traffic at trillions of tokens.
- [Making FlashAttention-4 faster for inference](https://swe.quest/articles/making-flashattention-4-faster-for-inference-dc917e70c20e0f22.md): Modal · 2026-06-11 · Hard · 14 min read · Inference & serving, Hardware, Performance engineering, LLMs
  Modal engineers extended the FlashAttention-4 kernel for decode-heavy LLM inference on Blackwell GPUs through two kinds of change: new parallelism strategies, such as split-KV parallelism across the key/value dimension, and support for irregular memory access via cp.async in place of TMA bulk loads.
- [Up to 3.2x Faster Inference with LFM2.5-DSpark](https://swe.quest/articles/up-to-3-2x-faster-inference-with-lfm2-5-dspark-a1b740b4334807f0.md): Hugging Face · 2026-08-20 · Medium · 6 min read · Inference & serving, LLMs, Performance engineering
  Liquid AI releases ~300M-parameter DSpark speculative-decoding draft models for LFM2.5-1.2B-Instruct, LFM2.5-2.6B and LFM2.5-8B-A1B.

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)
