---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?source=modal&tag=llms"
---

# Posts

Filtered by topics: LLMs, source: Modal.

Posts 1–19 of 19, page 1 of 1, newest first.

## 2026-10-23

- [Launching a trillion-parameter model at Sakana AI](https://swe.quest/articles/launching-a-trillion-parameter-model-at-sakana-ai-9bcebf1840c2211d.md): Modal · 2026-10-23 · Hard · 6 min read · Inference & serving, LLMs, Performance engineering, Serverless
  Modal served Sakana Namazu, a ~1T-parameter Japanese-focused MoE model, by quantizing only the routed experts to NVFP4.

## 2026-10-13

- [Toward RL on mixed-precision, mixed-accelerator samplers](https://swe.quest/articles/toward-rl-on-mixed-precision-mixed-accelerator-samplers-1c0dc5519077aec1.md): Modal · 2026-10-13 · Hard · 17 min read · Model training, Inference & serving, LLMs, Hardware, Cost optimization
  RL training of Qwen3.6-35B-A3B on agentic coding stays stable when samplers run on six accelerator types (A100 through B300, RTX PRO 6000) in NVFP4, FP8 and BF16 with their own kernels, feeding a BF16 trainer on B200.

## 2026-09-24

- [Quail: Speeding up AI-SQL by jointly optimizing query planner and inference engine](https://swe.quest/articles/quail-speeding-up-ai-sql-by-jointly-optimizing-query-planner-and-inference-515cdcca6399e688.md): Modal · 2026-09-24 · Hard · 18 min read · Inference & serving, Query engines, LLMs, Performance engineering, SQL
  Quail is a query-aware inference layer that jointly optimizes AI-SQL query planning and LLM inference.

## 2026-09-23

- [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.

## 2026-07-27

- [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.

## 2026-07-15

- [Inkling by Thinking Machines now available on Modal](https://swe.quest/articles/inkling-by-thinking-machines-now-available-on-modal-50e08c4be27f183d.md): Modal · 2026-07-15 · Hard · 3 min read · Inference & serving, LLMs, Performance engineering
  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.

## 2026-07-01

- [Multi-token Residual Prediction](https://swe.quest/articles/multi-token-residual-prediction-f7971ab59cb61cdd.md): Modal · 2026-07-01 · Hard · 13 min read · Inference & serving, LLMs, Model training, Performance engineering
  Multi-token Residual Prediction (MRP) adapts multi-token prediction to diffusion language models by training a small 3-layer transformer on a frozen backbone to predict the logit residual between adjacent denoising steps, not the full next-step distribution.

## 2026-06-24

- [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.

## 2026-06-19

- [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.

## 2026-06-11

- [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.

## 2026-06-01

- [Reinforcement learning is an infrastructure problem](https://swe.quest/articles/reinforcement-learning-is-an-infrastructure-problem-5f300edd7294912f.md): Modal · 2026-06-01 · Medium · 10 min read · Model training, LLMs, Hardware, Open source
  RL post-training of LLMs is bottlenecked by infrastructure rather than algorithms: training engines, rollout inference and isolated environments must all scale together, and once training goes multi-node, trainer-to-rollout weight sync dominates.

## 2026-04-29

- [Building an RL theorem-proving workflow on Modal](https://swe.quest/articles/building-an-rl-theorem-proving-workflow-on-modal-091b48c98bf6e356.md): Modal · 2026-04-29 · Hard · 10 min read · Model training, ML platforms, Sandboxing & isolation, LLMs
  AE Studio built a reinforcement-learning loop on Modal that trains an LLM to write Lean proofs, comparing Evolution Strategies (ES) against GRPO using Lean verification as the reward. vLLM generation runs on GPU workers fanned out with .map(), Lean verification runs in short-lived sandboxes so bad proofs can't crash the run, and model state is stored as a ~200-byte-per-iteration history of perturbation seeds and rewards that each worker replays onto base weights from a Volume.

## 2026-04-15

- [Building with Modal and the OpenAI Agents SDK](https://swe.quest/articles/building-with-modal-and-the-openai-agents-sdk-c24777075f600dcf.md): Modal · 2026-04-15 · Medium · 12 min read · AI agents, Sandboxing & isolation, LLMs, Python, Cloud platforms
  A custom agent harness built on the OpenAI Agents SDK runs coding agents inside Modal Sandboxes, optionally with GPUs, rather than on the host, where an unsandboxed exec tool can be abused by malicious prompts.

## 2026-02-11

- [Try GLM-5.1, the new frontier of open intelligence, on Modal](https://swe.quest/articles/try-glm-5-1-the-new-frontier-of-open-intelligence-on-modal-a82f7ab29ce4cb24.md): Modal · 2026-02-11 · Medium · 6 min read · Inference & serving, LLMs, AI for coding, AI agents
  Modal is offering a free, OpenAI API-compatible endpoint for Z.ai's MIT-licensed GLM-5 (since upgraded to GLM-5.1) through the end of April, limited to one concurrent request per user.

## 2025-11-13

- [How Decagon shipped real-time voice AI on Modal](https://swe.quest/articles/how-decagon-shipped-real-time-voice-ai-on-modal-b1a29f8666a68e7d.md): Modal · 2025-11-13 · Hard · 4 min read · Inference & serving, Model training, Speech & audio, LLMs, Performance engineering
  Decagon Voice 2.0 cut latency by 65% by replacing large frontier models with small open-source models fine-tuned through augmented multi-domain data, curriculum and mixed-objective SFT, and reinforcement learning.

## 2025-09-26

- [We reverse-engineered Flash Attention 4](https://swe.quest/articles/we-reverse-engineered-flash-attention-4-e0ddc41706e090a5.md): Modal · 2025-09-26 · Hard · 18 min read · Inference & serving, Hardware, Performance engineering, Concurrency, LLMs
  Flash Attention 4, Tri Dao's attention kernel for Nvidia Blackwell GPUs, reportedly runs about 20% faster than cuDNN's closed-source attention kernels.

## 2025-07-16

- [Dollars per token considered harmful](https://swe.quest/articles/dollars-per-token-considered-harmful-22f5b61a56607937.md): Modal · 2025-07-16 · Easy · 5 min read · Inference & serving, Cost optimization, Capacity planning, LLMs
  Teams self-hosting LLM inference should reason in dollars per request, not dollars per token, because per-token pricing reflects the economics of API providers selling inference as a service rather than applications serving users.

## 2024-12-10

- [What is LLM fine-tuning?](https://swe.quest/articles/what-is-llm-fine-tuning-818b56b81ea17fe8.md): Modal · 2024-12-10 · Medium · 13 min read · Model training, LLMs
  Fine-tuning adjusts a pretrained LLM's weights for a specific task or domain, often matching larger models' quality at lower cost and latency.

## 2024-08-05

- [Beat GPT-4o at Python by searching with 100 dumb LLaMAs](https://swe.quest/articles/beat-gpt-4o-at-python-by-searching-with-100-dumb-llamas-907f6997678a8d61.md): Modal · 2024-08-05 · Medium · 7 min read · LLMs, Inference & serving, Evaluation, AI for coding, Serverless
  Sampling LLaMA 3.1 8B Instruct many times and checking each candidate against HumanEval's unit tests raises pass@k from 66.4% at k=1 to 90.5% at k=100, matching GPT-4o's reported 90.2% pass@1, and to 95.1% at k=1000.

Same list as RSS: [https://swe.quest/feed.xml?source=modal&tag=llms](https://swe.quest/feed.xml?source=modal&tag=llms). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

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)
