---
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=cost-optimization"
---

# Posts

Filtered by topics: Cost optimization, source: Modal.

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

## 2026-11-19

- [How Abundant designed efficient rollout architecture with Modal Sandboxes](https://swe.quest/articles/how-abundant-designed-efficient-rollout-architecture-with-modal-sandboxes-6590e651fd7feefd.md): Modal · 2026-11-19 · Easy · 4 min read · Sandboxing & isolation, Model training, Evaluation, Serverless, Cost optimization
  Abundant runs its reinforcement learning rollout platform on Modal, with each of 75,000+ RL tasks executing in an isolated Modal Sandbox and Modal Functions powering the scheduler API.

## 2026-11-12

- [Sandbox resourcing: burst, don't reserve](https://swe.quest/articles/sandbox-resourcing-burst-don-t-reserve-6ee1eed03f706498.md): Modal · 2026-11-12 · Medium · 6 min read · Sandboxing & isolation, Cost optimization, Capacity planning, Scheduling, AI agents
  Modal Sandboxes default to a tiny guaranteed request (0.125 cores, 128 MiB) and burst into a shared pool of idle machine capacity, billed per second on actual use rather than a fixed peak reservation.

## 2026-10-22

- [Introducing our Training API](https://swe.quest/articles/introducing-our-training-api-a5babdede3e3cd17.md): Modal · 2026-10-22 · Hard · 7 min read · Model training, ML platforms, Multi-tenancy, Cost optimization, Open source
  Spindle is an open-source, Tinker-compatible post-training server that runs in a user's Modal workspace and bills for GPU time instead of tokens, so teams can customize models and features.

## 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-07-06

- [How to price serverless GPUs](https://swe.quest/articles/how-to-price-serverless-gpus-860219d00ad9fa69.md): Modal · 2026-07-06 · Easy · 7 min read · Cost optimization, Serverless, Capacity planning, Inference & serving, Hardware
  Whether serverless or reserved GPUs are cheaper comes down to one comparison: the ratio of reserved to serverless cost equals the reservation discount multiplied by the workload's peak-to-average demand ratio, so serverless wins whenever peak-to-average exceeds the discount.

## 2025-07-23

- [Transcribe speech 100x faster and 100x cheaper with open models](https://swe.quest/articles/transcribe-speech-100x-faster-and-100x-cheaper-with-open-models-c3de3ba8f557cf48.md): Modal · 2025-07-23 · Medium · 11 min read · Speech & audio, Inference & serving, Cost optimization, Performance engineering, Serverless
  Open-weights ASR models such as NVIDIA's parakeet-tdt-0.6b-v2 and canary-1b-flash, deployed as a batch transcription service on Modal GPUs, transcribed about a week of ESB benchmark audio in roughly a minute for about $1.

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

## 2025-05-07

- [Linear programming for fun and profit](https://swe.quest/articles/linear-programming-for-fun-and-profit-77f85e06bfe14840.md): Modal · 2025-05-07 · Medium · 8 min read · Capacity planning, Cost optimization, Algorithms, Cloud platforms, Serverless
  Modal provisions GPU and CPU capacity across multiple clouds with a "resource solver" that formulates demand, prices, availability and per-instance limits as a linear program.

## 2025-02-24

- ['I paid for the whole GPU, I am going to use the whole GPU': A high-level guide to GPU utilization](https://swe.quest/articles/i-paid-for-the-whole-gpu-i-am-going-to-use-the-whole-gpu-a-high-level-guide-to-085bb7ff5b6daba8.md): Modal · 2025-02-24 · Medium · 13 min read · Inference & serving, Hardware, Performance engineering, Cost optimization
  "GPU utilization" refers to three distinct metrics at different layers of the stack: GPU Allocation Utilization (fraction of paid GPU-seconds running application code), GPU Kernel Utilization (fraction of time actually running CUDA kernels, as reported by nvidia-smi), and Model FLOP/s Utilization (achieved FLOP/s vs. theoretical arithmetic bandwidth).

## 2024-10-25

- [The future of AI needs more flexible GPU capacity](https://swe.quest/articles/the-future-of-ai-needs-more-flexible-gpu-capacity-9253d5fa5c5e3d65.md): Modal · 2024-10-25 · Easy · 7 min read · Capacity planning, Inference & serving, Serverless, Multi-tenancy, Cost optimization
  Inference and many other GPU workloads are highly volatile: Poisson noise, daily and weekly cycles, viral spikes and bursty batch jobs, which pushes fixed-reservation GPU clusters below 50% utilization.

## 2024-09-10

- [Building a cost-effective analytics stack with Modal, dlt, and dbt](https://swe.quest/articles/building-a-cost-effective-analytics-stack-with-modal-dlt-and-dbt-7ea1b0034997749a.md): Modal · 2024-09-10 · Medium · 11 min read · Data pipelines, Analytics & OLAP, Serverless, CI/CD, Cost optimization
  Modal runs its whole analytics stack on Modal: dlt loads data from a Postgres read replica into Snowflake, dbt transforms it, and GitHub Actions handles CI/CD. dlt replaced hand-written psycopg2 code and removes manual schema definitions, Snowflake DDL and error-prone incremental logic.

## 2024-04-18

- [Why you should move your ETL stack to Modal](https://swe.quest/articles/why-you-should-move-your-etl-stack-to-modal-f0b59ab318e09bd3.md): Modal · 2024-04-18 · Medium · 6 min read · Data pipelines, Serverless, Cost optimization, Python
  Modal's serverless Python functions can replace ETL vendors and orchestrators for simple batch jobs.

Same list as RSS: [https://swe.quest/feed.xml?source=modal&tag=cost-optimization](https://swe.quest/feed.xml?source=modal&tag=cost-optimization). 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)
