Token-maxxing morreu (OpenRouter prova)
Token-maxxing: obsessão com tokens está morta. OpenRouter: plateau. Seu agent: foco errado. Qualidade > quantidade.
Equipe OpenClaw · Time de Engenharia & Produto
A Equipe OpenClaw é formada por engenheiros, designers e especialistas em IA dedicados a construir a melhor plataforma de agentes conversacionais para negócios brasileiros. Combinamos expertise…
Token-maxxing morreu (OpenRouter prova)
What the data shows (October 2026):
OpenRouter (largest multi-model API platform) released:
"Token usage across models has plateaued."
"No correlation between token count and performance."
"Models hitting same performance ceiling at different token counts."
What this means:
Old thinking (2023-2025): More tokens = Better quality Bigger prompts = Smarter responses Longer context = More understanding Formula: Maximize tokens → Maximize quality
New data (October 2026): Token increase: From 5K to 50K tokens Quality increase: Flat (no improvement) Cost increase: 10x Efficiency: -90% (wasted compute)
Reality: Token-maxxing = Cargo cult (looks like optimization, isn't) Performance plateau = Real (data-backed) Your agent: Probably over-tokenized (like everyone)
The token-maxxing myth (you've been doing it wrong)
What token-maxxing is (and why it fails)
Definition:
Token-maxxing: Belief: More tokens = Better outputs Strategy: Maximize token usage per request Tactics: - Add examples to prompts (more tokens) - Increase context window (more tokens) - Add reasoning steps (more tokens) - Verbose instructions (more tokens) Goal: "Use more tokens to get better quality"
Reality (OpenRouter data): Token increase: Doesn't improve quality Performance: Plateaus at ~30-50K tokens Beyond plateau: Cost increases, quality stagnates ROI: Negative (wasting money on tokens that don't help)
Why companies token-max (the psychology):
Reasoning: "If 10 examples are good, 50 examples must be better" "If 5K context is smart, 50K context must be brilliant" "If detailed prompts work, VERY detailed prompts work best"
What actually happens: Token 1-5K: Quality improves (+30% per additional K tokens) Token 5K-20K: Quality improves slower (+5% per additional K tokens) Token 20K-50K: Quality flat (+0% per additional K tokens) Token 50K+: Quality declines (-2% per additional K tokens)
Cost curve: Linear (more tokens = proportional cost increase)
Result: Tokens 1-5K: Great ROI (worth it) Tokens 5K-20K: Okay ROI (marginal) Tokens 20K-50K: Bad ROI (wasting money) Tokens 50K+: Terrible ROI (paying for degradation)
Real example: Token-maxxed agent (failing)
Your current agent (probably):
System prompt: "You are a helpful customer support agent. Your role is to... [10 detailed guidelines] [20 edge cases] [15 examples] [5 compliance rules] [10 tone guidelines]"
Total system prompt: 3000 tokens Cost per request: +$0.0015 (just system overhead) Quality improvement: None (beyond first 500 tokens)
Context: "Remember all previous conversations. Include full order history. Include all customer notes. Include all product details."
Total context: 20,000 tokens Cost per request: +$0.010 (10x system prompt) Quality improvement: Flat after 5,000 tokens Waste: ~75% of context tokens (not improving quality)
Total per request: Tokens: 23,000 Cost: $0.0115 Quality: Could achieve same with 8,000 tokens ($0.004) Waste: 65% of tokens (not contributing to quality)
Annual impact (1M requests/year): Current: 23M tokens × $0.50 per 1M = $11,500/year Optimized: 8M tokens × $0.50 per 1M = $4,000/year Waste: $7,500/year (from over-tokenization)
Projected (10M requests/year): Current: $115,000/year Optimized: $40,000/year Waste: $75,000/year
The OpenRouter data (token plateau is real)
What OpenRouter measured
Platform: 200+ models tested across all providers
Test methodology: Same request → 50 different token budgets Measure quality per token spent Track performance curve (diminishing returns)
Findings: Token 1-10K: Quality improves (steep curve) Token 10K-30K: Quality improves (flatter curve) Token 30K-50K: Quality flat (no improvement) Token 50K+: Quality declines (negative returns)
Patterns across models: Claude 3: Plateau at 35K tokens GPT-4: Plateau at 40K tokens Mistral: Plateau at 25K tokens Llama: Plateau at 20K tokens
Common: All models plateau (not linear improvement)
Visualization (quality vs. tokens):
100% ┌───────────────────────────────────── │ ╱─────────────────────────────── plateau 80%│ ╱ │ ╱ 60%│ ╱ │╱ 40%│ │ 20%│ └───────────────────────────────────── 0 10K 20K 30K 40K 50K 100K Tokens
Steep: 0-10K tokens (worth optimizing FOR)
Flat: 30K-50K tokens (worth optimizing AGAINST)
Negative: 50K+ tokens (stop immediately)
Cost per quality unit (the real metric)
Old thinking:
Metric: "How many tokens can we use?" Answer: "As many as possible." Logic: "More = Better" Result: Wasteful, expensive, no benefit
New thinking (OpenRouter-backed):
Metric: "Cost per quality unit" Formula: Cost ÷ Quality Score
Example: Request: "What's my order status?"
Approach A (token-maxxed): Tokens: 20,000 Quality score: 85/100 (good) Cost: $0.010 Cost per quality unit: $0.010 ÷ 0.85 = $0.0118/quality
Approach B (optimized): Tokens: 5,000 Quality score: 84/100 (virtually same) Cost: $0.0025 Cost per quality unit: $0.0025 ÷ 0.84 = $0.0030/quality
Efficiency gain: 4x better (same quality, 1/4 cost)
Why token-maxxing fails (the science)
The attention mechanism (why more tokens don't help)
How LLMs actually work:
Before: Your 50-example prompt LLM reads all 50 examples LLM allocates attention to each Attention is a limited resource (finite budget) Result: Each example gets ~2% attention (diluted)
After: Optimized 5-example prompt LLM reads 5 examples LLM allocates attention to each Same attention budget Result: Each example gets ~20% attention (focused)
Consequence: 50 examples @ 2% attention < 5 examples @ 20% attention More tokens ≠ Better understanding Focused tokens > Diluted tokens
The math (simplified):
Attention capacity: Fixed (model architecture) Token count: Variable (your choice)
If capacity = 100 attention units: 20 tokens: Each gets 5 units (focused, high signal) 200 tokens: Each gets 0.5 units (diluted, noise)
Quality = Signal clarity Not = Raw token count
Conclusion: 20 focused tokens > 200 diffused tokens Token-maxxing creates noise (not signal)
Real-world example: Support agent
Token-maxxed version (failing):
Prompt: "You are a helpful support agent. You will:
- Be polite
- Be accurate
- Be quick
- Never reveal PII
- Follow GDPR
- Follow CCPA
- Use simple language
- Provide context
- Ask clarifying questions
- Offer alternatives [30 more guidelines]
Examples: Example 1: Customer asks "Where's my order?" Response: "I'll look up your order..." [50 more examples]
Tools:
- Query order database
- Check payment status
- Initiate refund [20 more tools]"
Total prompt: 15,000 tokens Cost per request: $0.0075 Quality: 82/100 (good, but not great)
Problem:
- LLM drowning in information
- Can't focus on core task
- Guidelines conflict (too many)
- Examples contradict (too many)
- Tools listed but not used effectively
Result: Agent confused (not helpful) Cost high (wasting tokens) Quality mediocre (despite size)
Optimized version (working):
Prompt: "You are a helpful support agent.
Task: Answer customer questions about orders. Constraints:
- Be accurate
- Never reveal PII
- Use simple language
Example: Customer: "Where's my order?" Response: "I'll look up your order details." [+ tool call]
Tools: order_lookup(), refund_initiate()"
Total prompt: 800 tokens Cost per request: $0.0004 Quality: 81/100 (virtually same)
Benefit:
- LLM focused on core task
- Clear constraints (not overwhelming)
- Minimal examples (one is enough)
- Essential tools only (clear intent)
Result: Agent focused (more helpful) Cost low (efficient) Quality similar (easier to parse)
Comparison:
Token-maxxed: 15,000 tokens → $0.0075 → 82% quality → Confused agent Optimized: 800 tokens → $0.0004 → 81% quality → Focused agent
Difference: Cost reduction: -94.6% (15,000 → 800) Quality difference: -1% (negligible) Agent performance: +30% (clearer behavior) Annual savings (1M requests): $7,100
What to optimize instead (post-token-maxxing era)
1. Quality per token (not token quantity)
New metric:
Metric: Quality-per-token efficiency Formula: Quality score ÷ Token count
Goal: Maximize numerator (quality) AND minimize denominator (tokens)
Example: Bad: 20,000 tokens → 80/100 quality = 0.004 quality-per-token Good: 5,000 tokens → 79/100 quality = 0.0158 quality-per-token Better: 3,000 tokens → 78/100 quality = 0.026 quality-per-token Best: Remove redundancy, keep focus
2. Latency (response speed)
Why it matters:
Old thinking: "More tokens = better quality = worth the wait" New reality: "User waits 5 seconds → abandons chat"
Token count impact: 5,000 tokens: 0.5 seconds response time 20,000 tokens: 2.0 seconds response time 50,000 tokens: 5.0 seconds response time (abandoned)
Optimization: Reduce tokens → Reduce latency → Improve engagement Token reduction = Speed improvement = Better UX
3. Reliability (not sophistication)
Real business metric:
Token-maxxing logic: More tokens → More complex → More impressive → Better
Actual business metric: Does agent solve problem? Yes/No Does it do it fast? Yes/No Does customer come back? Yes/No
Reality: Simple agent (50% token count) solving 95% of cases
Complex agent (200% token count) solving 85% of cases
Why:
- Simpler = easier to parse
- Easier to parse = fewer errors
- Fewer errors = higher reliability
- Higher reliability = more valuable
How to stop token-maxxing (optimization playbook)
Step 1: Measure current token usage (baseline)
Implementation:
python
Log tokens per request
import logging
def agent_request(query): response = llm.generate( system_prompt=system_prompt, context=context, query=query )
Log token metrics
logging.info(f""" request_tokens: {response.usage.prompt_tokens} response_tokens: {response.usage.completion_tokens} total_tokens: {response.usage.total_tokens} quality_score: {evaluate_quality(response)} """)
return response
Aggregate daily
Calculate:
- Average tokens per request
- Average quality per request
- Quality per token ratio
- Cost per quality unit
Target baseline:
Typical company (before optimization): Average tokens: 15,000-20,000 per request Average quality: 78-82/100 Cost per request: $0.01-0.02 Waste: 60-70% (over-tokenized)
Step 2: Identify waste (where tokens don't help quality)
Analysis:
Prompt analysis: ☐ System prompt > 2,000 tokens? Cut it. ☐ Examples > 10? Reduce to 3-5. ☐ Guidelines > 20? Consolidate. ☐ Tools listed > actually used? Remove.
Context analysis: ☐ Context > 10,000 tokens? Cap it. ☐ Historical context needed? Summarize instead. ☐ All conversation history? Keep only last 3 messages. ☐ Full database fields? Return only relevant.
Step 3: Cut ruthlessly (remove token waste)
Before (token-maxxed):
System: 3,000 tokens Context: 12,000 tokens Request: 200 tokens Total: 15,200 tokens
After (optimized):
System: 500 tokens (consolidated, focused) Context: 3,000 tokens (capped, summarized) Request: 200 tokens (unchanged) Total: 3,700 tokens (75% reduction)
Quality impact: 81 → 79 (negligible -2%) Cost impact: $0.0076 → $0.00185 (75% savings)
Step 4: Measure improvement (verify no quality loss)
Metrics to track:
☐ Token count (should drop 50-75%) ☐ Response time (should improve 50-75%) ☐ Quality score (should stay same or improve) ☐ User satisfaction (CSAT, should improve) ☐ Task completion rate (should stay same) ☐ Cost per request (should drop 50-75%)
Conclusion: Token-maxxing is cargo cult optimization
Summary:
OpenRouter data (October 2026): ✓ Token usage has plateaued (no correlation with quality) ✓ Performance ceiling exists (~30-50K tokens per model) ✓ Token-maxxing = Wasting money (not improving quality) ✓ Optimization exists (quality-per-token efficiency)
Your situation (likely): ✗ Obsessing over token count (wrong metric) ✗ Adding more examples/context (not helping) ✗ Increasing prompt size (wasting compute) ✗ Not measuring quality-per-token (flying blind)
Action needed:
- Stop adding tokens (they don't help)
- Start measuring quality-per-token (real metric)
- Remove redundancy (focus signal)
- Cut 50-70% of tokens (maintain quality)
- Watch costs drop (and quality improve)
The question for your company:
Your agent:
- Tokens: Probably 15,000+ per request (over-optimized)
- Cost: Probably $0.01+ per request (expensive)
- Quality: Probably 78-82/100 (mediocre)
- Efficiency: Probably 60% waste (token-maxxed)
OpenRouter proves: You could cut tokens 75% (same quality)
Will you: Option A: Continue token-maxxing (waste continues) Option B: Optimize for quality-per-token (smart) Option C: Hybrid (both, gradually shift)
Token-maxxing: Cargo cult. Stop fazendo. Foco em qualidade por token. 📊
Publicado em 20 de outubro de 2026