클로드 사용량 제한을 해결하기 위한 마이크로소프트의 새로운 계획

원제 · This Is Microsoft's New Plan To Fix Claude's Usage Limits

13:083분 읽기AI LABS2026. 10. 28.컴퓨터/소프트웨어 · AI/미래기술

핵심 요약

마이크로소프트의 토큰 이코노마이저는 AI 에이전트의 세션 기록과 반복 실수를 학습하여 불필요한 도구와 토큰 낭비를 제거함으로써 작업 비용을 최대 30% 이상 절감한다.

하이라이트

  • 마이크로소프트가 개발한 '토큰 이코노마이저'는 AI 에이전트의 토큰 사용량을 줄여주는 플러그인 도구이다.

  • 깃허브 실제 프로젝트 6개의 버그 277개를 대상으로 한 테스트에서, Claude Code의 Sonnet 모델은 23.6%, Opus 모델은 30.9%의 비용 절감 효과를 기록했다.

  • 이 도구는 작업 방식을 직접 바꾸지 않고도 에이전트의 반복되는 실수와 사용되지 않는 도구를 추적하여 제거한다.

  • 초기 설치 시점에는 학습 데이터가 없어 비용이 오히려 증가할 수 있으며, 마이크로소프트의 테스트에서는 6번째 작업부터 비용이 절감되기 시작했다.

  • 기존 `.claude` 폴더의 30일간 세션 기록을 활용하도록 저장소를 수정하면, 초기 학습 기간 없이 즉시 과거 데이터를 기반으로 절감 효과를 얻을 수 있다.

타임라인

  1. 토큰 이코노마이저의 개요 및 테스트 결과

    토큰 이코노마이저는 에이전트가 작업을 수행할 때 소모되는 토큰 비용을 낮추기 위해 설계된 플러그인이다. 기존의 파일 지도를 미리 만드는 방식들과 달리, 이 도구는 에이전트의 실제 작업 세션과 명령어 실행 과정을 관찰하며 토큰 낭비 요소를 학습하고 제거한다. 실제 깃허브 버그 수정 실험에서 모델의 성능 저하 없이 명확한 비용 절감 효과를 증명했다.

    • 마이크로소프트가 개발한 토큰 이코노마이저는 AI 에이전트가 사용하는 토큰량을 줄여주는 도구이다.
    • 깃허브 프로젝트의 버그 수정 테스트 결과, 모든 환경에서 작업 비용이 낮아졌으며 Sonnet은 23.6%, Opus는 30.9%의 비용이 절감되었다.
    • 메시지마다 포함되는 토큰이 줄어들면서 에이전트가 작업에 더 집중하여 버그 수정 성공률이 높아지기도 했다.
  2. 토큰 낭비 원인과 도구의 세 가지 주요 기능

    에이전트는 대화가 진행될수록 필요 없는 이전의 대화 내용이나 사용하지 않는 도구들까지 함께 보내며 토큰을 소모한다. 토큰 이코노마이저는 이러한 비효율을 해결하기 위해 세 가지 접근법을 사용한다. 첫째, 반복되는 명령 오류를 마이크로 스킬로 기록해 재발을 막는다. 둘째, 장기간 쓰이지 않는 도구를 비활성화한다. 셋째, 에이전트가 무한 루프나 막힌 상황에 빠졌을 때 이를 감지하고 개입한다.

    • 에이전트는 매 요청마다 방대한 지침, 도구 목록, MCP, 전체 대화 내용을 함께 전송하여 토큰을 낭비한다.
    • 도구는 에이전트의 반복되는 실수를 '마이크로 스킬'이라는 사실 데이터로 기록하여 같은 실수를 방지한다.
    • 최소 두 개 이상의 세션에서 10번 이상 사용되지 않은 불필요한 도구를 자동으로 비활성화하여 매 턴 전송되는 토큰을 줄인다.
  3. 설치 방법 및 초기 학습 한계 극복 방안

    플러그인은 터미널을 통해 간편하게 설치할 수 있으며, 훅을 통해 세션 시작과 종료 시 자동으로 작동한다. 마이크로 스킬 기능은 토큰 소모와 보안상의 이유로 기본 꺼져 있으므로 본인 프로젝트라면 켜는 것이 유리하다. 다만 에이전트가 패턴을 학습하기 전까지는 초기 비용이 발생할 수 있는데, `.claude` 폴더에 저장된 이전 30일간의 세션 기록을 활용하도록 코드를 수정하면 이 공백기를 해결할 수 있다.

    • GitHub 저장소의 안내에 따라 사용하는 에이전트의 명령어를 복사하여 터미널에 붙여넣으면 쉽게 설치할 수 있다.
    • 기본 설정에서는 마이크로 스킬 기능이 꺼져 있으며, 사용량 한도 절약과 프롬프트 인젝션 방지를 위해 사용자 선택에 따라 켜야 한다.
    • 초기 설치 직후에는 학습된 데이터가 없어 오히려 비용이 더 나올 수 있으며, 6번째 작업부터 절감 효과가 나타난다.
  4. 상태 확인 명령어 및 실제 절감 효과 측정

    도구의 작동 상태를 점검하기 위해 다양한 명령어가 제공된다. status는 전반적인 학습 세션과 팩트 개수를 보여주며, tool prune은 비활성화된 도구들과 그 이유를 추적한다. 실제 측정 결과 메시지당 토큰 소모량이 대폭 감소했으며, 동일한 작업을 수행할 때 소요되는 전체 단계와 비용 또한 눈에 띄게 줄어드는 것으로 나타났다.

    • status, micro skills, tool prune 등의 명령어를 통해 현재 프로젝트의 플러그인 학습 상태와 비활성화된 도구 목록을 확인할 수 있다.
    • tool prune measure 명령어를 사용한 결과, 메시지당 토큰이 약 34,300개에서 24,400개로 줄어들어 약 29%의 절감 효과를 보였다.
    • 학습 데이터가 쌓인 상태에서 테스트한 결과, 플러그인을 사용했을 때 작업 단계와 전체 비용이 약 21% 감소했다.

설명

Claude usage limits run out faster when Claude AI wastes tokens. Learn how Microsoft's TokenEconomizer cuts what Claude Code sends with every message so your Claude Code limit lasts longer, plus Claude Code tips to stretch your Claude usage limit using your past sessions. Try DataImpulse at https://dataimpulse.com/?utm_source=youtube&utm_medium=video&utm_campaign=ailabs and get residential proxies for just $1/GB to access the web from around the world. Community with All Resources: https://ailabspro.io/?v=1kQ_1_QL5Es The Roundup, our daily newsletter covering the AI stories that matter. Join now: https://www.theroundup.so/ Got a software idea but don't have the team to build it? Autometa turns your ideas into production-ready software. Check out https://autometa.dev/yt to see what we can build for you. TokenEconomizer repo: https://github.com/microsoft/TokenEconomizer What We Cover in This Video - What TokenEconomizer is: a plugin from Microsoft that makes your agent use fewer tokens on every task, so your Claude limit goes further - How it differs from map-based token savers like Graft: it learns from how you work instead of mapping your files first - How to use Claude Code with it without changing the way you work Claude Usage Limits Explained: Where Your Claude Tokens Go - Every message to Claude Code, Anthropic's coding agent, carries the agent's instructions, its full tool list, your MCP tools and skills, and the whole conversation so far - All of that counts toward your Claude token usage, even the parts the model doesn't need - Claude AI doesn't remember what worked between sessions, so it spends tokens repeating the same mistakes - Tools you never use still get sent with every single message Microsoft's Test Results - 277 real bugs from six real GitHub projects, fixed one after another - Five setups across Claude Code, Codex and GitHub Copilot, and every one cost less with the tool - On Claude Code, Sonnet 5 cost 23.6% less and Opus 4.8 cost 30.9% less, with no drop in performance - Sonnet even fixed one more bug out of every hundred with the tool on Three Ways It Helps You Save Claude Tokens - Micro-skills: when Claude keeps making the same mistake, the tool writes it down as a fact about your project and hands it to Claude at the start of every session - Unused tools: any tool not used across ten messages over at least two sessions gets turned off for that project, the biggest saver in Microsoft's tests - Getting stuck: when a model confirms Claude is stuck, the tool tells it once to try something different, and tells you to press Esc if it's still stuck Claude Code Setup with TokenEconomizer - Copy the install command for your agent from the GitHub repo and paste it into your terminal - The hooks that run on their own: at session start, after every tool Claude uses, and when the session ends - Why micro-skills start off: writing the facts uses some of your own Claude Code usage limits, and a downloaded project could hide a prompt injection in what its commands print - How to turn micro-skills on for your own projects with the config command The Gap We Fixed - The plugin starts blank in every project, so early sessions can cost more - In Microsoft's tests, almost every project only got cheaper by the sixth task - We had Claude Code change the tool so it first reads the past sessions Claude keeps in the main .claude folder for 30 days, and starts from that history instead of zero - Why this won't help a brand-new project with no history Our Results - The status, microskills, toolprune and toolprune measure commands, and what each one shows you - 276 unused tools turned off on our demo project - Every message dropped from about 34,300 tokens to about 24,400, about 29% less - The toolprune restore command for giving Claude back a tool it needs - On a second app: 99 steps without the plugin, 79 with it, about 21% cheaper, with the same checks passing Who This Is For - Anyone learning how to use Claude for building who keeps hitting Claude AI usage limits - Whether you're on the Claude Pro plan or Claude Max, fewer tokens per message means your Claude weekly limit lasts longer - Claude AI tips that apply to any project you keep coming back to, since the plugin saves more the longer you use it - Our changed version of the tool is on AI Labs Pro 00:00 Intro 01:25 About This Tool 03:16 How It Works 06:04 How To Install It 08:13 The Problem 09:02 Our Fix 12:01 Results Hashtags #claude #ClaudeCode #ClaudeAI #Anthropic #howToUseClaudeCode #howToUseClaude #ClaudeMax #claudeUsageLimits

이 영상에 대해 글쓰기