Everything You Need to Know About AI Tokens
- Host
- NLW
- Guest
- Nufar Gaspar, None
- Date
TLDR
AI token management is shifting from maximizing usage or minimizing bills to maximizing the value of each successful task. Nufar Gaspar’s central metric is cost per accepted result, which accounts for model choice, reasoning, context, retries, tool calls, and human correction. Companies should eliminate “tokens that spin,” protect experimentation and learning, and govern budgets by workload rather than applying blunt usage caps.
Key takeaways
A token is a model-dependent text unit, not a universal measure of work. Tokens are typically larger than characters and smaller than words, but tokenizers vary by provider, language, and content type. The same document can consume 10% to 20% more tokens on one provider, with code and non-English text often widening the gap. Numbers, whitespace, brackets, and long sessions can also inflate usage unexpectedly.
Advanced AI work can cost 1,000x more than routine prompting, making task selection economically important. Gaspar estimates an email draft at roughly 500 to 700 tokens and a summary at about 1,000, while data analysis, heavy coding, and agentic workflows can exceed 1M tokens. One accidental deep-research request spawned about 100 sub-agents and cost more than 4M tokens for a yes-no question.
Cost per accepted task is more useful than price per token. A task’s real cost includes input, reasoning, output, retries, tool calls, human review, corrections, and elapsed time, divided by the number of accepted results. Databricks found that the more expensive Opus 4.8 could be cheaper than Sonnet 5 on coding work because Sonnet required more iterations and reasoning to reach the same outcome.
Reasoning and context are often the hidden drivers of AI bills. Input tokens are usually cheapest, output tokens are commonly 3x to 5x more expensive, and invisible reasoning tokens are billed at output rates. Agentic tasks often make 10 to 20 model calls, with McKinsey estimating that roughly 60% of cost can come after the first response through checking, refinement, and regeneration.
“Tokens that teach” and “tokens that produce” should be funded, while “tokens that spin” should be removed. Teaching includes failed experiments, reusable skills, identity files, curated context, and memory that improve future performance. Production creates deliverables such as research, proposals, or code. Spin includes idle agents, bloated context, unused automations, machine-to-machine loops, and tools applied to tasks they do not fit.
A runaway agent can hide behind apparently valuable output and ordinary billing. Gaspar discovered that her disabled OpenClaw chief-of-staff agent had consumed $1,500 in 2 weeks while she was traveling, generating almost 400M input tokens and nearly no output. A cron job compacting empty sessions every 30 minutes created an input-to-output ratio near 3,000:1, illustrating why input-output ratios and rising bills require active monitoring.
Agent automation must be audited for realized value, not merely correct execution. An always-on research agent may faithfully scan the internet yet still be uneconomic if its findings are not valuable enough to monitor. Gaspar’s rule is to kill an automation whose output has not been used for 1 to 2 weeks, while also reviewing over-frequent jobs, immortal sessions, unfiltered retrieval, stale instructions, and unused reports.
Model and harness selection should be tested on representative work rather than inferred from list prices. Teams should run 5 to 10 real tasks through 2 model or tool options while holding the quality bar and input constant, then compare first-pass success, corrections, elapsed time, and total cost. Databricks also observed more than a 2x cost difference between agent harnesses using the same model and thinking effort because one supplied roughly 3x less context.
Token anxiety can suppress the highest-value experimentation. Employees at Meta moved from token leaderboards to constrained usage, while Uber capped employees at $1,500, illustrating how quickly incentives can swing from maximizing activity to minimizing it. Gaspar argues that the most expensive token may be the one a highly capable employee is afraid to spend, because self-censorship pushes people toward low-stakes tasks and delays learning.
Organizations should govern AI budgets by workload, capability-building, and value rather than one universal quota. Individual users should start new sessions for new tasks, right-size context, choose models intentionally, stop misdirected jobs early, and set alerts or caps. Leaders should make usage visible, teach cost engineering, and allocate more budget to people building shared skills and context than to users treating AI as an extended search box.
Insights and implications
Token controls are becoming an organizational design problem, not a procurement exercise. Because the highest-value work consumes more intelligence, a policy optimized only for lower bills will systematically favor shallow use cases. The right governance model separates exploration, production, and waste, then measures whether each category is improving future capability or business output.
The effective unit of AI competition is the workflow stack, not the model. Tokenizer behavior, reasoning effort, context retrieval, harness design, retries, and human acceptance can change total cost more than the published model price. Buyers should benchmark complete workflows and maintain a task-specific model taxonomy instead of expecting a single automatic router to optimize all knowledge work.
Learning budgets are a form of infrastructure investment. Failed experiments and reusable context may look unproductive in short-term dashboards, yet they reduce future iteration and improve the quality of production work. Cutting them too early can preserve today’s ROI optics while preventing the organization from developing the capabilities that make advanced AI use economical later.