Notícias
Notícias
5 min de leitura
30 de outubro de 2026

Seu agent usa LLM pra decisão (joey-1 custa 100x menos)

joey-1: Decision model R$0.01/1M tokens (vs LLM R$1+). Seu agent faz routing/classification? Economize 90%. Quando usar decision model.

Equipe OpenClaw

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…


Seu agent usa LLM pra decisão (joey-1 custa 100x menos)

What just happened (October 2026):

Baseten released joey-1 — a decision model (2B parameters).

Key spec:

  • Price: R$0.01 per 1M tokens (vs LLM R$1-20 per 1M tokens)
  • Task: Classification, routing, decisions (not text generation)
  • Speed: Sub-100ms (decisions, not thinking)
  • Accuracy: Calibrated probabilities (not hallucinated text)
  • Open weights (Hugging Face, MIT license)

Translation: Your AI agent can make routing decisions for 100x less cost.

Critical question: How many times does your agent use an LLM just to answer "Yes" or "No"?

Honest answer: Probably thousands of times per day. Wasting millions per year.

Reality for B2B SaaS agents:

Example: Customer support agent workflow

  1. Customer message arrives: "I forgot my password"

  2. Agent uses LLM (GPT-4): "Classify this intent" Cost: R$0.02 per message (input+output) Task: Simple classification (yes/no)

  3. Agent makes decision: "This is password reset" Route to: Password reset workflow

  4. Repeat 10,000 times/day Daily cost: 10k × R$0.02 = R$200 Monthly cost: R$6,000 Annual cost: R$72,000

With joey-1: Cost: R$0.0001 per message (100x cheaper) Daily cost: 10k × R$0.0001 = R$1 Monthly cost: R$30 Annual cost: R$360

Savings: R$71,640/year (99.5% reduction)

You're probably hemorrhaging money on decision tasks. Here's how to stop:


The problem: LLMs are overkill for decisions (you're using a Ferrari to drive to the mailbox)

Most agent tasks = simple routing/classification. But you're using GPT-4 (R$20/1M tokens). 🎯✅📋

What your agent actually does (% of tasks):

  1. Text generation (creative, reasoning) = 10% Example: "Write sales email" → needs LLM (GPT-4) Cost: R$0.02 per task Worth it: Yes (complex task)

  2. Routing/classification (simple decision) = 60% Example: "Is this password reset?" → yes/no Cost: Using GPT-4 R$0.02 per task Worth it: No (simple task) Better: joey-1 R$0.0001 per task Savings: 200x cheaper

  3. Entity extraction (structured data) = 20% Example: "Extract email from message" → regex+ML Cost: Using GPT-4 R$0.02 per task Worth it: Sometimes (depends complexity) Better: joey-1 (if yes/no) or regex (if simple) Savings: 50-200x cheaper

  4. Guardrails (safety checks) = 10% Example: "Is this message safe?" → yes/no Cost: Using GPT-4 R$0.02 per task Worth it: No (simple classification) Better: joey-1 R$0.0001 per task Savings: 200x cheaper

Reality of your agent:

You're using GPT-4 for 60% of tasks (routing)

When you should use: - Text generation: GPT-4 (10%) - Routing: joey-1 (60%) - Entity extraction: joey-1 or regex (20%) - Guardrails: joey-1 (10%)

Cost breakdown (10k messages/day):

Current (all GPT-4):
  10k × R$0.02 = R$200/day = R$6k/month = R$72k/year

Optimized (GPT-4 + joey-1):
  1k text gen × R$0.02 = R$20
  6k routing × R$0.0001 = R$0.60
  2k extraction × R$0.0001 = R$0.20
  1k guardrails × R$0.0001 = R$0.10
  Daily cost: R$20.90
  Monthly cost: R$627
  Annual cost: R$7,524

Savings: R$64,476/year (90% reduction)

Why you're doing this wrong:

Reason 1: Easy to implement (one LLM, done) "Use GPT-4 for everything" = simple architecture Trade-off: Costs 100x more

Reason 2: Unclear which tasks need which models "Is this task complex?" = hard to judge Default: Use strongest model (GPT-4) Result: Overspend

Reason 3: Cost not visible per task You see monthly bill (R$6k) Don't see: Each "yes/no" costs R$0.02 If visible: Would switch immediately

Reason 4: Switching costs seem high "Migrating to joey-1 = engineering effort" But: 2-3 days of work for R$60k/year savings ROI: 30-40x (obviously worth it)

Reason 5: Inertia "GPT-4 works, why change?" Because: Burning money unnecessarily Smart move: Optimize (save R$60k, improve speed)

What joey-1 actually does:

Decision model = binary/multi-class classification

Input: "I forgot my password" Output: {"label": "password_reset", "confidence": 0.98}

NOT: "Based on your message, you appear to need password reset assistance..."

Task type (joey-1 handles these): ✓ Intent classification ("is this a complaint?") ✓ Sentiment analysis ("is this angry?") ✓ Routing decision ("which team handles this?") ✓ Safety check ("is this prompt injection?") ✓ Priority ranking ("is this urgent?") ✓ Spam detection ("is this spam?") ✓ Entity classification ("is this a phone number?") ✓ Language detection ("is this Portuguese?")

NOT for (use LLM): ✗ Text generation ("write an email") ✗ Creative tasks ("brainstorm ideas") ✗ Complex reasoning ("why did this happen?") ✗ Multi-step reasoning ("plan this project") ✗ Open-ended questions ("what should I do?")


The solution: Use joey-1 for routing, GPT-4 only for reasoning

Split your pipeline: joey-1 (decisions) → GPT-4 (reasoning). Save 90% + 10x faster. 🎯✅📋

Optimized agent architecture:

Current (wrong): Message → GPT-4 (everything) → Output Latency: 1-2 seconds Cost: R$0.02 per message

Optimized (right): Message → joey-1 (classify) → Route ↓ ├→ Password reset (simple) → Output ├→ Complaint (complex) → GPT-4 (reasoning) → Output └→ Sales question (medium) → Template → Output

Latency: 50-100ms (joey-1) + 0-500ms (GPT-4 if needed)
Cost: R$0.0001 + R$0 to R$0.02 (depending on branch)
Average: R$0.003 per message (99% savings)

How to implement (step-by-step):

Step 1: Map your agent tasks Week 1: Analyze last 1000 messages Question: "Does this need LLM or just decision?" Result: Categorize each task

Example categorization: - Password reset: Decision (route) → Skip LLM - Complaint: Complex → Use LLM (GPT-4) - FAQ: Decision (lookup) → Skip LLM - Refund request: Decision (policy check) → Skip LLM - Feature request: Complex → Use LLM (GPT-4) - Spam: Decision (classify) → Skip LLM

Result: 60% of tasks need no LLM (just routing)

Step 2: Build joey-1 routing layer Week 2: Train joey-1 on your intent classes Data needed: ~500 examples per intent (you have this) Time: 1 day (Baseten has guides) Cost: R$0 (fine-tuning included)

Create: Intent classifier
Input: Customer message
Output: ["password_reset", 0.95], ["complaint", 0.03], ["faq", 0.01]

Step 3: Update agent pipeline Week 3: Integrate joey-1 into agent Code: 50 lines (routing logic) Test: 1 day Deploy: 1 day Total: 2-3 days engineering

Pseudocode:

message = get_customer_message()
intent = joey1_classify(message)  // R$0.0001

if intent == "password_reset":
  send_reset_link()
elif intent == "complaint":
  response = gpt4_draft_response(message)  // R$0.02
  send_response(response)
elif intent == "faq":
  answer = lookup_faq_database(message)
  send_answer(answer)

Step 4: Monitor and optimize Week 4+: Track accuracy + cost Metrics: - Intent accuracy (target: >95%) - Cost savings (target: >80%) - Speed improvement (target: >5x faster)

If accuracy <95%:
  - Add more training data
  - Retrain joey-1
  - Iterate

Cost savings by use case:

Use case 1: Customer support chatbot Current: 10k messages/day × R$0.02 = R$200/day Optimized: 6k messages/day × R$0.0001 + 2k × R$0.01 + 2k × R$0.02 = R$0.60 + R$20 + R$40 = R$60.60/day Savings: 70% (R$139.40/day = R$50.8k/year)

Use case 2: Sales lead routing Current: 1000 leads/day × R$0.02 = R$20/day Optimized: 1000 leads/day × R$0.0001 = R$0.10/day Savings: 99.5% (R$19.90/day = R$7.2k/year)

Use case 3: Content moderation Current: 50k messages/day × R$0.02 = R$1000/day Optimized: 50k × R$0.0001 = R$5/day Savings: 99.5% (R$995/day = R$363k/year)

Use case 4: Email routing Current: 5k emails/day × R$0.02 = R$100/day Optimized: 5k × R$0.0001 = R$0.50/day Savings: 99.5% (R$99.50/day = R$36.3k/year)

Speed improvements:

joey-1 latency: 50-100ms (sub-second decisions) GPT-4 latency: 500-2000ms (thinking)

Current (all GPT-4): 1000ms average Optimized (60% joey-1, 40% GPT-4): = (0.6 × 75ms) + (0.4 × 1500ms) = 45ms + 600ms = 645ms

Speed improvement: 35% faster (user experience better) Bonus: Faster = happier customers = higher satisfaction


When to use each model (decision framework)

Ask: "Is this a yes/no decision?" If yes → joey-1. If no → GPT-4. 🎯✅📋

Decision matrix:

Task: Intent classification ("Is this password reset?") Output: Yes/No Best model: joey-1 Cost: R$0.0001 Speed: 75ms Accuracy: 98%

Task: Response generation ("Write empathetic reply") Output: Text Best model: GPT-4 Cost: R$0.02 Speed: 1500ms Accuracy: 95%

Task: Sentiment analysis ("Is customer angry?") Output: Yes/No Best model: joey-1 Cost: R$0.0001 Speed: 75ms Accuracy: 95%

Task: Explaining technical issue ("Why is this happening?") Output: Text Best model: GPT-4 Cost: R$0.02 Speed: 1500ms Accuracy: 90%

Task: Spam detection ("Is this spam?") Output: Yes/No Best model: joey-1 Cost: R$0.0001 Speed: 75ms Accuracy: 97%

Task: Brainstorming ("Ideas for marketing campaign") Output: Text Best model: GPT-4 Cost: R$0.02 Speed: 2000ms Accuracy: N/A (creative)

Task: Priority classification ("Is this urgent?") Output: Yes/No Best model: joey-1 Cost: R$0.0001 Speed: 75ms Accuracy: 94%

Task: Generating legal document ("Draft contract") Output: Text Best model: GPT-4 Cost: R$0.02 Speed: 2000ms Accuracy: 85% (needs human review)

Heuristic: If output is binary/categorical → joey-1. If output is text → GPT-4.

Exceptions:

  • If GPT-4 is very cheap relative to impact → use it anyway
  • If joey-1 accuracy too low → use GPT-4 + guardrails
  • If speed critical → always use joey-1 (if possible)

The bottom line: You're wasting 90% of your LLM budget on simple decisions. joey-1 fixes this. Save R$50-300k/year. Do it this week.

Split model usage. Use joey-1 for routing. Use GPT-4 for reasoning. Save money. Speed up. AGORA. 🎯✅📋

Facts:

Fact 1: joey-1 costs 100x less than LLM (R$0.0001 vs R$0.02) Fact 2: 60% of agent tasks are simple routing (don't need LLM) Fact 3: You're probably using GPT-4 for 100% of tasks (wrong) Fact 4: Splitting models = 90% cost reduction + faster speed Fact 5: Implementation = 2-3 days (worth it)

Action items (this week): 1. Audit your agent (categorize tasks) 2. Calculate potential savings (probably R$50-100k/year) 3. Decide: Build routing layer with joey-1? 4. If yes: 2-3 days engineering 5. Deploy: Roll out gradually (risk management) 6. Monitor: Track accuracy + cost + speed

Expected ROI: - Investment: 2-3 days engineering (R$5-10k) - Savings: R$50-300k/year (depending scale) - Break-even: 1-3 weeks - Time investment: 2-3 days one-time

Questions: Q: Is my agent suitable for split architecture? A: If you classify/route messages → yes (probably)

Q: Will joey-1 be accurate enough?
A: For intent classification → 95%+ (yes). For complex → train + test.

Q: Can I use joey-1 + my current LLM?
A: Yes (better). Most agents use one LLM (OpenAI/Anthropic).

Q: How long to implement?
A: 2-3 days (if you have data). Less if using Baseten's templates.

Q: Will my agent slow down?
A: No, faster (joey-1 is 50-100ms vs LLM 500-2000ms).

Q: Open-source or managed?
A: Both available (Hugging Face open weights + Baseten managed).

Timeline: Week 1: Audit + decide (1-2 days) Week 2: Build routing layer (2-3 days) Week 3: Test + deploy (2-3 days) Week 4: Monitor + optimize (ongoing)

Expected impact: Cost: -90% (for routing tasks) Speed: +5x (sub-100ms vs 500-2000ms) Accuracy: Same or better (targeted models) Complexity: +1 (routing logic, but manageable)

→ OpenClaw: joey-1 Decision Model, Agent Cost Optimization, Routing Architecture, LLM vs Decision Model

joey-1: R$0.0001/token (100x cheaper). Seu agent usa LLM pra decisões simples (wrong). Separe: joey-1 routing + GPT-4 reasoning. Economize 90% (R$50-300k/ano). Mais rápido. Agora. 🎯✅📋


Publicado em 30 de outubro de 2026

Leia também