🪟 Windows TippsThe Gemini desktop app is now available for Windows(11.09.2026 um 17:06 Uhr)
⚠️ Malware / Trojaner / VirenWindows 11 just dropped the tool ransomware abused, Microsoft says don’t restore WMIC(10.09.2026 um 20:11 Uhr)
⚠️ Malware / Trojaner / VirenVorsicht: Android-Malware verschlüsselt Ihre Handys und nimmt heimlich Fotos auf(11.09.2026 um 09:35 Uhr)
🕵️ SicherheitslückenMicrosoft geht endlich eines der nervigsten Probleme von Windows 11 an(11.09.2026 um 11:58 Uhr)
💾 IT Security ToolsSysinternals Suite(11.09.2026 um 12:00 Uhr)
🕵️ SicherheitslückenDefender 0-Day ShieldBreak (CVE-2026-69414) nicht sauber gepatcht - BornCity(11.09.2026 um 12:52 Uhr)
🪟 Windows TippsThe Gemini desktop app is now available for Windows(11.09.2026 um 17:06 Uhr)
⚠️ Malware / Trojaner / VirenWindows 11 just dropped the tool ransomware abused, Microsoft says don’t restore WMIC(10.09.2026 um 20:11 Uhr)
⚠️ Malware / Trojaner / VirenVorsicht: Android-Malware verschlüsselt Ihre Handys und nimmt heimlich Fotos auf(11.09.2026 um 09:35 Uhr)
🕵️ SicherheitslückenMicrosoft geht endlich eines der nervigsten Probleme von Windows 11 an(11.09.2026 um 11:58 Uhr)
💾 IT Security ToolsSysinternals Suite(11.09.2026 um 12:00 Uhr)
🕵️ SicherheitslückenDefender 0-Day ShieldBreak (CVE-2026-69414) nicht sauber gepatcht - BornCity(11.09.2026 um 12:52 Uhr)

🔧 Programmierung 🕛 vor 1 Monat 5 Min Lesezeit
0

How To Cut MCP Token Costs? Save Up To 92% At Scale With Code Mode 💎

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

Today, new artificial intelligence models are released every six months, such as GPT 5.6, Fable 5, Kimi K3 and many others.



And now the most active discussion in the technical community is the concept of tokens, which allows us to use LLM in our favorite IDEs such as Cursor.



Plans are quite expensive today and every request is important to the business. In this article, I would like to tell you how you can save your money using LLM using one tool.



Well, let's get started!






🖥️ Real example



Instead of words, let's look at one small example that I prepared for you:




CODE
Request 1 (2,350 tokens): "Fetch the data from the endpoint..."
↓ (Model reasons about what to do)
Request 2 (3,100 tokens): "Here's the response. Now transform it..."
↓ (Model reasons again)
Request 3 (2,900 tokens): "Now check these projects..."
↓ (Model reasons about results)
Request 4 (2,500 tokens): "Generate a summary based on..."

Total: 10,850 tokens = $0.32 per execution






Now let's imagine that our entire business is built on these requests. The site can have as many users as you like, and each such request to LLM spends our money. Considering that the plans of providers like Claude, although not so expensive, are still a serious budget expenditure. You will have to think through a business model so that it makes a profit.






👀 What do I want to suggest in this situation?



If you have a small business and want to cut down on the costs of using tokens, I suggest you try



Code Mode is a transformative approach to using MCP that solves a critical problem at scale:



The Problem: When you connect 8-10 MCP servers (150+ tools), every single request includes all tool definitions in the context. The LLM spends most of its budget reading tool catalogs instead of doing actual work.



Instead of exposing 150 tools directly, Code Mode exposes just four generic tools. The LLM uses those tools to write Starlark that orchestrates everything else in a sandbox.






📊 Comparison



Since I have written many articles on the topic of Bifrost, you already know how to work with it. Let's try to apply what I wanted. First of all, here's what I want to do:




CODE
Default Mode:
Request 1: "Use the database tool to fetch data"
→ Model reasons, calls tool
→ Response: 2,450 tokens

Request 2: "Transform the result..."
→ Model reasons, calls tool
→ Response: 3,100 tokens

Total Requests: 4+ API calls
Total Tokens: 10,850+






Now working with the solution:




CODE
Code Mode:
Request 1: "Here's what I need. Write Python to do it."
→ Model writes code (single request)
→ Python executes all tools in sequence
→ Results fed back in one batch

Total Requests: 1 API call
Total Tokens: 850






If you think this is some kind of deception, then no. The reason here is very simple. Language models are good at writing code. Bad at reasoning step-by-step through tool chains.
























































Round MCP Footprint Pass Rate (Classic) Pass Rate (Code Mode) Input Tokens (Classic) Input Tokens (Code Mode) Token Reduction Cost (Classic) Cost (Code Mode) Cost Savings
1 96 tools / 6 servers 64/64 (100%) 64/64 (100%) 19.9M 8.3M -58.2% $104.04 $46.06 -55.7%
2 251 tools / 11 servers 64/65 (98.5%) 65/65 (100%) 35.7M 5.5M -84.5% $180.07 $29.80 -83.4%
3 508 tools / 16 servers 65/65 (100%) 65/65 (100%) 75.1M TBD TBD TBD TBD TBD





  • Bifrost Docs: https://docs.getbifrost.ai


  • Bifrost CLI: npx -y @maximhq/bifrost-cli



  • Thanks for reading this article! ❤️



    I'd love to hear your thoughts on this mode in the comments!

    Vollständiger Original-Bericht
    Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
    ↗ Original-Artikel auf dev.to lesen
    Wie bewertest du diesen Beitrag?
    1 Klick Feedback
    Teilen mit Netzwerk & Team:

    Community-Analysen & Experten-Meinungen 0

    Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
    Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
    Community Pulse: Relevanz-Einschätzung
    1 Klick Experten-Votum
    🔴 Akute Relevanz 0%
    🟡 In Evaluierung 0%
    🟢 Keine Auswirkung 0%
    Spannende Innovation 0%
    Verwandte Story-Cluster & Quellen (Vektor-KI)
    Port 8095 Engine
    1 Quelle
    The Gemini desktop app is now available for Windows
    1 Quelle
    Windows 11 just dropped the tool ransomware abused, Microsoft says don’t restore WMIC
    1 Quelle
    Vorsicht: Android-Malware verschlüsselt Ihre Handys und nimmt heimlich Fotos auf
    Ähnliche Beiträge
    🔍 Verwandte News

    Auch interessante Nachrichten How To Cut MCP Token Costs? Save Up To 92% At Scale With Code Mode 💎

    Thematisch verwandte Begriffe: Token, Costs, Save, Scale · 6 Treffer

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...