惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

爱范儿
爱范儿
T
The Blog of Author Tim Ferriss
G
Google Developers Blog
博客园_首页
博客园 - 【当耐特】
量子位
S
SegmentFault 最新的问题
B
Blog RSS Feed
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Visual Studio Blog
T
Tailwind CSS Blog
阮一峰的网络日志
阮一峰的网络日志
V
V2EX
Y
Y Combinator Blog
博客园 - 聂微东
The Cloudflare Blog
小众软件
小众软件
J
Java Code Geeks
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
月光博客
月光博客
H
Help Net Security
Jina AI
Jina AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
宝玉的分享
宝玉的分享

Analytics Vidhya

Handling Imbalanced Classification: What Works Better Than SMOTE GPT-5.6 Is Here: Sol, Terra, and Luna Loop Engineering for AI Agents: How /loop is Changing AI Workflows DeepSeek DSpark: The Speculative Decoding Trick Behind 400% Faster LLM OKF: Redefining Knowledge Bases for AI Agents Modern VLMs Explained: How GPT-4o, Gemini, Claude Vision, and Qwen-VL Work YOLO26 Tutorial: Object Detection, Pose Estimation & More Large Action Models (LAMs) vs Agentic LLMs: What's the Real Difference? Claude Sonnet 5: The Fable 5 at Home The Best $20 AI Plan: ChatGPT Plus vs Claude Pro vs Gemini Pro GraphRAG vs Vector RAG: Which Retrieval Method is Best? Using AI When You Don’t Trust AI The Self-Improving Loop in AI Agents: Architecture, Benefits, and How it Outperforms Traditional Agent Workflows Harness-1: The 20B Retrieval Subagent That Beats GPT-5.4 at Search Sakana Fugu: Multi-Agent System as a Model Claude's Hidden Art Skill: Making Illustrations With Code System Design for ML Interviews: 10 Real Problems Walked Through Most People Use ChatGPT Wrong: 10 Features and Tips That Changed How I Work OpenAI Just Launched 3 Free AI Courses with Certificates Autoregressive Models: Predicting the Future Using the Past Gemini Omni: AI Video Generation Inside Gemini DiffusionGemma: Google’s Diffusion-Based Open Model for Faster Text Generation Top 10 AI Engineering Tools Everyone is Using in 2026 I Tested Claude Fable 5: Can Anthropic’s Newest AI Deliver on the Hype? Prophet vs NeuralProphet vs TimeGPT vs Chronos: A Practical Comparison Build an Emergency Helpline Voice Agent with LangChain Choosing the Right Vector Database for RAG and AI Applications Google Gemma 4 12B: Architecture, Benchmarks, Access, and Hands-on Guide for Developers How to Choose the Right AI Model for Your Needs Agent Observability with LangSmith, Langfuse, and Arize: A Hands-On Comparison
Token Economics: Why AI is Getting “Cheaper”
Vasu Deo San · 2026-04-22 · via Analytics Vidhya

A year or two ago, using advanced AI models felt expensive enough that you had to think twice before asking anything. Today, using those same models feels cheap enough that you don’t even notice the cost.

This isn’t just because “technology improved” in a vague sense. There are specific reasons behind it, and it comes down to how AI systems spend computation. That’s what people mean when they talk about token economics.

Tokens: The Fundamental Unit

AI doesn’t read words the way we do. It chops text into smaller building blocks called tokens.

A token isn’t always a full word. It can be a whole word (like apple), part of a word (like un and believable), or even just a comma.

What are Tokens in LLM
GPT 5.2 token count for this section of the article

Each token generated requires a certain amount of computation. So if you zoom out, the cost of using AI comes down to a simple relationship:

AI token cost

Since AI token costs are per million tokens, the equation evaluates to:

Cost of LLM tokens
Click here to see how the cost is calculated for a model

We’d be doing the math on Gemini 3.1 Pro Preview.

This cost is calculated per million tokens

Let’s say you send a prompt that is 50,000 tokens (Input Tokens) and the AI writes back 2,000 tokens (Output Tokens).

Cost of LLM tokens
Calculating the Cost of LLM tokens

Since tokens are the currency of AI. If you control tokens, you control costs. 

If AI is getting cheaper, it means we’re doing one of two things:

  1. Reducing how much compute each token needs (Input/Output tokens)
  2. Making that compute cheaper (Token price)

In reality, we did both!

Using less compute per token

The first wave of improvements came from a simple realization:

We were using more computation than necessary.

Early models treated every request the same way. Small or large query, text or image inputs, run the full model at full precision every time. That works, but it’s wasteful.

So the question became: where can we cut compute without hurting output quality?

Quantization: Making each operation lighter

The most direct improvement came from quantization. Models originally used high-precision numbers for calculations. But it turns out you can reduce that precision significantly without degrading performance in most cases.

Token Quantization
Instead of 16-bit or 32-bit numbers, you use 8-bit (or even lower). The math stays the same in structure, but becomes cheaper to execute.

This effect compounds quickly. Every token passes through thousands of such operations, so even a small reduction per operation leads to a meaningful drop in cost per token.

Note: Full-precision quantization constants (a scale and a zero point) must be stored for every block. This storage is essential so the AI can later de-quantize the data.

MoE Architecture: Not using the whole model every time

The next realization was even more impactful:

Maybe we don’t need the entire model to work for every response.

This led to architectures like Mixture of Experts (MoE).

Instead of one large network handling everything, the model is split into smaller “experts,” and only a few of them are activated for a given input. A routing mechanism decides which ones matter.

Mixture of Experts (MoE) Models
A MOE language model activating only its spanish nodes and not the whole model

So the model can still be large and capable overall, but for any query, only a fraction of it is actually doing work.

That directly reduces compute per token without shrinking the model’s overall intelligence.

SLM: Choosing the right model size

Then came a more practical observation.

Most real-world tasks aren’t that complex. A lot of what we ask AI to do is repetitive or straightforward: summarizing text, formatting output, answering simple questions.

That’s where Small Language Models (SLMs) come in. These are lighter models designed to handle simpler tasks efficiently. In modern systems, they often handle the bulk of the workload, while larger models are reserved for harder problems.

Small Language Models

So instead of optimizing one model endlessly, use a much smaller model that fits your purpose. 

Distillation: Compressing large models into smaller ones

Distillation is when a large model is used to train a smaller one, transferring its behavior in a compressed form. The smaller model won’t match the original in every scenario, but for many tasks, it gets surprisingly close.

Distillation in LLMs
An Overview of How LLM Distillation Works

This means you can serve a much cheaper model while preserving most of the useful behavior.

Again, the theme is the same: reduce how much computation is needed per token.

KV Caching: Avoiding repeated work

Finally, there’s the realization that not every computation needs to be done from scratch.

In real systems, inputs overlap. Conversations repeat patterns. Prompts share structure.

Modern implementations take advantage of this through caching which is reusing intermediate states from previous computations. Instead of recalculating everything, the model picks up from where it left off.

This doesn’t change the model at all. It just removes redundant work.

Note: There are modern caching techniques like TurboQuant which offers extreme compression in KV caching technique. Leading to even higher savings.

Making compute itself cheaper

Once the amount of compute per token was reduced, the next step was obvious:

Make the remaining compute cheaper to run.

Executing the same model more efficiently

A lot of progress here comes from optimizing inference itself.
Even with the same model, how you execute it matters. Improvements in batching, memory access, and parallelization mean that the same computation can now be done faster and with fewer resources.

You can see this in practice with models like GPT-4 Turbo or Claude 4 Haiku. These are entirely new intelligence layers which are engineered to be faster and cheaper to run compared to earlier versions.

This is what often shows up as “optimized” or “turbo” variants. The intelligence hasn’t changed: the execution has simply become tighter and more efficient.

Hardware that amplifies all of this

All these improvements benefit from hardware that’s designed for this kind of workload.

Companies like NVIDIA and Google have built chips specifically optimized for the kinds of operations AI models rely on, especially large-scale matrix multiplications.

Specialized Hardware

These chips are better at:

  • handling lower-precision computations (important for quantization)
  • moving data efficiently
  • processing many operations in parallel

Hardware doesn’t reduce costs on its own. But it makes every other optimization more effective.

Putting it all together

Early AI systems were wasteful. Every token used the full model, full precision, every time.

Then things shifted. We started cutting unnecessary work:

  • lighter operations
  • partial model usage
  • smaller models for simpler tasks
  • avoiding recomputation

Once the workload shrank, the next step was making it cheaper to run:

  • better execution
  • smarter batching
  • hardware built for these exact operations.

That’s why costs dropped faster than expected.

There isn’t just a single factor leading this change. Instead it is a steady shift toward using only the compute that’s actually needed.

Frequently Asked Questions

Q1. What are tokens in AI and why do they matter?

A. Tokens are chunks of text AI processes. More tokens mean more computation, directly impacting cost and performance.

Q2. Why is AI getting cheaper over time?

A. AI is cheaper because systems reduce compute per token and make computation more efficient through optimization techniques and better hardware.

Q3. How is AI cost calculated using tokens?

A. AI cost is based on input and output tokens, priced per million tokens, combining usage and per-token rates.

I specialize in reviewing and refining AI-driven research, technical documentation, and content related to emerging AI technologies. My experience spans AI model training, data analysis, and information retrieval, allowing me to craft content that is both technically accurate and accessible.