---
title: "Dollars per token considered harmful"
description: "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."
url: "https://swe.quest/articles/dollars-per-token-considered-harmful-22f5b61a56607937"
canonical: "https://modal.com/blog/dollars-per-token-considered-harmful"
source: "Modal"
published: "2025-07-16"
difficulty: "easy"
kind: "Opinion"
reading_minutes: 5
tags: ["inference","cost-optimization","capacity-planning","llms"]
---

# Dollars per token considered harmful

A post on [Modal](https://swe.quest/sources/modal.md), published 2025-07-16, 5 min read, Opinion. Original: [https://modal.com/blog/dollars-per-token-considered-harmful](https://modal.com/blog/dollars-per-token-considered-harmful)

## Summary

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. Requests are the unit users care about and the unit that can be split across replicas. Latency targets come from per-request time-to-first-token and inter-token latency, replica counts come from requests per second and per-replica concurrency, and cost is dollars per second per replica times replicas. Framing cost per request lets engineering weigh it directly against conversion, lifetime value and revenue.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)
- [Capacity planning](https://swe.quest/tags/capacity-planning.md) (Reliability & operations)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)

## Prerequisites

- LLM inference basics ([easy posts on Inference & serving](https://swe.quest/tags/inference.md?difficulty=easy))
- GPU serving costs ([easy posts on Hardware](https://swe.quest/tags/hardware.md?difficulty=easy))

## Keywords

Modal, stopwatch, LLM Engine Advisor

## Related posts

- [Comparing token economics across 42 AI models](https://swe.quest/articles/comparing-token-economics-across-42-ai-models-653e0d85d2add5a0.md): Neon · 2026-09-04 · Medium · 10 min read · Evaluation, LLMs, Cost optimization, Inference & serving
  A synthetic workload of 100 support tickets (20 scenarios × 5 tone variants) was run through 42 models via Neon AI Gateway, with responses graded on seven checks including JSON validity, correct classification and escalation, and policy compliance.
- [Optimizing inference speed and costs: Lessons learned from large-scale deployments](https://swe.quest/articles/optimizing-inference-speed-and-costs-lessons-learned-from-large-scale-1e80b28572985147.md): Together AI · 2026-01-22 · Easy · 6 min read · Inference & serving, LLMs, Cost optimization, Performance engineering
  Lower LLM inference latency and cost come mainly from how inference runs rather than from buying more GPUs.
- [Llama 2 on Amazon SageMaker a Benchmark](https://swe.quest/articles/llama-2-on-amazon-sagemaker-a-benchmark-289c7cbbcebbac6e.md): Hugging Face · 2023-09-26 · Medium · 6 min read · Inference & serving, LLMs, Cost optimization, Performance engineering, Cloud platforms
  A benchmark of 60 Llama 2 deployment configurations on Amazon SageMaker using the Hugging Face LLM Inference Container (TGI) covers 7B, 13B and 70B models on g5 (A10G) and p4d (A100) instances.
- [Scaling LLM Inference: Innovations in Tensor Parallelism, Context Parallelism, and Expert Parallelism](https://swe.quest/articles/scaling-llm-inference-innovations-in-tensor-parallelism-context-parallelism-and-0ffa604a22d7428d.md): Meta Engineering · 2025-10-17 · Hard · 5 min read · Inference & serving, LLMs, Distributed systems, Performance engineering, Hardware
  Meta scales LLM inference with three parallelism techniques aimed at latency targets of under 350ms time-to-first-token and under 25ms per incremental token.
- [Benchmarking Text Generation Inference](https://swe.quest/articles/benchmarking-text-generation-inference-6c04e8c47131c2d4.md): Hugging Face · 2024-05-29 · Medium · 10 min read · Inference & serving, Performance engineering, LLMs
  Text Generation Inference ships a benchmarking tool that profiles LLM serving across batch sizes, plotting throughput against latency separately for prefill and decode so deployments can be tuned for a workload such as RAG or chat.

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)
