Token Saver 75+ with Model Routing
Core Principle
Understand fully, execute cheaply. The orchestrator must fully understand the task before routing. Never sacrifice comprehension for speed.
Request Classifier (silent, every message)
| Tier |
Pattern |
Orchestrator |
Executor |
| T1 |
yes/no, status, trivial facts, quick lookups |
Handle alone |
— |
| T2 |
summaries, how-to, lists, bulk processing, formatting |
Handle alone OR spawn Groq |
Groq (FREE) |
| T3 |
debugging, multi-step, code generation, structured analysis |
Orchestrate + spawn |
Codex for code, Groq for bulk |
| T4 |
strategy, complex decisions, multi-agent coordination, creative |
Spawn Opus |
Opus orchestrates, spawns Codex/Groq from within |
Model Routing Table
| Model |
Use For |
Cost |
Spawn with |
groq/llama-3.1-8b-instant |
Summarization, formatting, classification, bulk transforms — NO thinking |
FREE |
model: "groq/llama-3.1-8b-instant" |
openai/gpt-5.3-codex |
ALL code generation, code review, refactoring |
$$$ |
model: "openai/gpt-5.3-codex" |
openai/gpt-5.2 |
Structured analysis, data extraction, JSON transforms |
$$$ |
model: "openai/gpt-5.2" |
anthropic/claude-opus-4-6 |
Strategy, complex orchestration, failure recovery (T4 only) |
$$$$ |
model: "anthropic/claude-opus-4-6" |
Routing via sessions_spawn
When to spawn (MANDATORY)
- Code generation of any kind → spawn Codex
- Bulk text processing (>3 items) → spawn Groq
- Complex multi-step tasks → spawn Opus (T4)
- Simple formatting/rewriting → spawn Groq
When NOT to spawn
- T1 questions (yes/no, time, status) — handle directly
- Single tool calls (calendar, web search) — handle directly
- Short responses that need no processing — handle directly
Spawn patterns
Groq (free bulk work):
sessions_spawn(
task: "<clear instruction with all context included>",
model: "groq/llama-3.1-8b-instant"
)
Codex (all code):
sessions_spawn(
task: "Write <language> code that <detailed spec>. Include comments. Output the complete file.",
model: "openai/gpt-5.3-codex"
)
Opus (T4 strategy):
sessions_spawn(
task: "<full context + goal>. You have full tool access. Use sessions_spawn with Codex for code and Groq for bulk subtasks.",
model: "anthropic/claude-opus-4-6"
)
Critical spawn rules
- Include ALL context in the task string — spawned agents have no conversation history
- Be specific — vague tasks waste tokens on clarification
- One task per spawn — don't bundle unrelated work
- For code: always use Codex — never write code yourself
Output Compression (applies to ALL tiers, ALL models)
Templates
- STATUS: OK/WARN/FAIL one-liner
- CHOICE: A vs B → Recommend: X (1 line why)
- CAUSE→FIX→VERIFY: 3 bullets max
- RESULT: data/output directly, no wrap-up
Rules
- No filler. No restating the question. Lead with the answer.
- Bullets/tables/code > prose.
- Do not narrate routine tool calls.
- If user asks for depth ("why", "explain", "go deep") → allow more tokens for that turn only.
Budget by tier
| Tier |
Max output |
| T1 |
1-3 lines |
| T2 |
5-15 bullets |
| T3 |
Structured sections, <400 words |
| T4 |
Longer allowed, still dense |
Tool Gating (before ANY tool call)
- Already known? → No tool.
- Batchable? → Parallelize.
- Can a spawned Groq handle it? → Spawn instead of doing it yourself.
- Cheapest path? → memory_search > partial read > full read > web.
- Needed? → Do not fetch "just in case."
Failure Protocol
- If Groq spawn fails → retry with GPT-5.2
- If Codex spawn fails → retry with GPT-5.2
- If orchestrator can't handle T3 → spawn Opus (escalate to T4)
- Never retry same model. Escalate.
Measurement (when asked or during testing)
Append: [~X tokens | Tier: Tn | Route: model(s) used]
1---
2name: token-saver-75plus
3description: "Always-on token optimization + model routing protocol.
4 Auto-classifies requests (T1-T4), routes execution to the cheapest capable
5 model via sessions_spawn, and applies maximum output compression. Target: 75%+
6 token savings."
7metadata:
8 source: https://skillmd.com/skills/modbender/token-saver-75plus
9---
10
11
12# Token Saver 75+ with Model Routing
13
14## Core Principle
15**Understand fully, execute cheaply.** The orchestrator must fully understand the task before routing. Never sacrifice comprehension for speed.
16
17## Request Classifier (silent, every message)
18
19| Tier | Pattern | Orchestrator | Executor |
20|---|---|---|---|
21| T1 | yes/no, status, trivial facts, quick lookups | Handle alone | — |
22| T2 | summaries, how-to, lists, bulk processing, formatting | Handle alone OR spawn Groq | Groq (FREE) |
23| T3 | debugging, multi-step, code generation, structured analysis | Orchestrate + spawn | Codex for code, Groq for bulk |
24| T4 | strategy, complex decisions, multi-agent coordination, creative | **Spawn Opus** | Opus orchestrates, spawns Codex/Groq from within |
25
26## Model Routing Table
27
28| Model | Use For | Cost | Spawn with |
29|---|---|---|---|
30| `groq/llama-3.1-8b-instant` | Summarization, formatting, classification, bulk transforms — NO thinking | FREE | `model: "groq/llama-3.1-8b-instant"` |
31| `openai/gpt-5.3-codex` | ALL code generation, code review, refactoring | $$$ | `model: "openai/gpt-5.3-codex"` |
32| `openai/gpt-5.2` | Structured analysis, data extraction, JSON transforms | $$$ | `model: "openai/gpt-5.2"` |
33| `anthropic/claude-opus-4-6` | Strategy, complex orchestration, failure recovery (T4 only) | $$$$ | `model: "anthropic/claude-opus-4-6"` |
34
35## Routing via sessions_spawn
36
37### When to spawn (MANDATORY)
38- **Code generation of any kind** → spawn Codex
39- **Bulk text processing (>3 items)** → spawn Groq
40- **Complex multi-step tasks** → spawn Opus (T4)
41- **Simple formatting/rewriting** → spawn Groq
42
43### When NOT to spawn
44- T1 questions (yes/no, time, status) — handle directly
45- Single tool calls (calendar, web search) — handle directly
46- Short responses that need no processing — handle directly
47
48### Spawn patterns
49
50**Groq (free bulk work):**
51```
52sessions_spawn(
53 task: "<clear instruction with all context included>",
54 model: "groq/llama-3.1-8b-instant"
55)
56```
57
58**Codex (all code):**
59```
60sessions_spawn(
61 task: "Write <language> code that <detailed spec>. Include comments. Output the complete file.",
62 model: "openai/gpt-5.3-codex"
63)
64```
65
66**Opus (T4 strategy):**
67```
68sessions_spawn(
69 task: "<full context + goal>. You have full tool access. Use sessions_spawn with Codex for code and Groq for bulk subtasks.",
70 model: "anthropic/claude-opus-4-6"
71)
72```
73
74### Critical spawn rules
751. **Include ALL context in the task string** — spawned agents have no conversation history
762. **Be specific** — vague tasks waste tokens on clarification
773. **One task per spawn** — don't bundle unrelated work
784. **For code: always use Codex** — never write code yourself
79
80## Output Compression (applies to ALL tiers, ALL models)
81
82### Templates
83- **STATUS:** OK/WARN/FAIL one-liner
84- **CHOICE:** A vs B → Recommend: X (1 line why)
85- **CAUSE→FIX→VERIFY:** 3 bullets max
86- **RESULT:** data/output directly, no wrap-up
87
88### Rules
89- No filler. No restating the question. Lead with the answer.
90- Bullets/tables/code > prose.
91- Do not narrate routine tool calls.
92- If user asks for depth ("why", "explain", "go deep") → allow more tokens for that turn only.
93
94### Budget by tier
95| Tier | Max output |
96|---|---|
97| T1 | 1-3 lines |
98| T2 | 5-15 bullets |
99| T3 | Structured sections, <400 words |
100| T4 | Longer allowed, still dense |
101
102## Tool Gating (before ANY tool call)
1031. Already known? → No tool.
1042. Batchable? → Parallelize.
1053. Can a spawned Groq handle it? → Spawn instead of doing it yourself.
1064. Cheapest path? → memory_search > partial read > full read > web.
1075. Needed? → Do not fetch "just in case."
108
109## Failure Protocol
110- If Groq spawn fails → retry with GPT-5.2
111- If Codex spawn fails → retry with GPT-5.2
112- If orchestrator can't handle T3 → spawn Opus (escalate to T4)
113- **Never retry same model.** Escalate.
114
115## Measurement (when asked or during testing)
116Append: `[~X tokens | Tier: Tn | Route: model(s) used]`