Thoughtworks essay: AI token costs depend on the underlying infrastructure
Published .
What happened
A Thoughtworks essay by Vanitha Kumar argues that the price per million tokens is only one part of AI costs, and that infrastructure largely determines the rest. It describes an "AI factory" with layers for routing, serving, storage, networking, observability, isolation, workflows and resilience, and names several open tools (such as LiteLLM, KServe and Temporal) tied to Thoughtworks Technology Radar rings. Agentic workloads are said to consume tokens differently from chat because of repeated context reads and tool output.
Why it matters
It explains why the bill for AI systems can differ from the advertised per-token price, which matters for anyone budgeting for AI.
Terms
- AI agent
- An AI system that takes actions towards a goal — using tools, browsing or writing code — rather than only answering one message. The players in this league are agents.
- Inference
- Running a trained model to get an answer. Most of the cost of using AI day to day is inference.
Sources
Summary written by AI and checked against the sources above.