AI Agent Revolution: How Anthropic Cut Token Usage by 98% with Code Execution
Last Updated on November 11, 2025 by Editorial Team
Author(s): AbhinayaPinreddy
Originally published on Towards AI.
The Problem That’s Been Quietly Killing AI Agents
Imagine hiring an assistant who needs to read a 500-page instruction manual before making a simple phone call. That’s essentially what’s been happening with AI agents — and it’s been draining budgets, slowing responses, and limiting what these agents can actually do.

The article discusses the significant advancements made by Anthropic in improving the efficiency of AI agents by drastically reducing token usage from 150,000 tokens to just 2,000 tokens, representing a 98.7% reduction. This transformation allows developers to create more complex agents without worrying about costs and latency, leveraging a new paradigm where agents write code instead of just calling tools. The article outlines the flaws of traditional tool-calling approaches, particularly in terms of token consumption, latency, and limitations in functionalities. By adopting code execution models such as Model Context Protocol (MCP), the AI agents can respond faster, maintain privacy better, and handle multiple tasks simultaneously, ultimately revolutionizing the way AI agents function.
Read the full blog for free on Medium.
Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming a sponsor.
Published via Towards AI
Take our 90+ lesson From Beginner to Advanced LLM Developer Certification: From choosing a project to deploying a working product this is the most comprehensive and practical LLM course out there!
Towards AI has published Building LLMs for Production—our 470+ page guide to mastering LLMs with practical projects and expert insights!

Discover Your Dream AI Career at Towards AI Jobs
Towards AI has built a jobs board tailored specifically to Machine Learning and Data Science Jobs and Skills. Our software searches for live AI jobs each hour, labels and categorises them and makes them easily searchable. Explore over 40,000 live jobs today with Towards AI Jobs!
Note: Content contains the views of the contributing authors and not Towards AI.