Skip to main content
Agents

Model Routing

Configurable two-tier model routing matching capability to task demands.

Configuration

# .gem-team.yaml
model_routing:
  enabled: true
  tiers:
    premium: "gpt-5.6-sol (openai)"
    explore: "gpt-5.6-luna (openai)"

Orchestrator not routed - uses session default model. Enable in config to activate.

When to Use Model Routing

ScenarioEnable Routing?Why
Multi-agent workflow with many calls✅Premium for reasoning, Explore for execution
Single-task fast path❌Not needed; session default sufficient
Cost-sensitive team project✅55-60% savings on typical workflows
Simple personal projectOptionalSingle model may be simpler

Tier Assignments

TierAgentsPurpose
PremiumPlanner, Debugger, ReviewerReasoning: planning, diagnosis, challenge
ExploreResearcher, Implementer, Browser Tester, Mobile Tester, DevOps, Documentation, Skill Creator, Code SimplifierFast execution & exploration

Why Two Tiers?

FactorPremiumExplore
Task typePlanning, debugging, reviewingImplementing, researching, testing
ContextLarge (full plans, codebases)Bounded (scoped handoffs)
ReasoningMulti-step, counterfactualSingle-pass, pattern-match
Cost toleranceHigher (few calls)Lower (many calls)

Provider Examples

ProviderPremiumExplore
OpenAIgpt-5.6-sol, o1-progpt-5.6-luna, gpt-4o-mini
Anthropicclaude-4, claude-3.5-sonnetclaude-3.5-haiku
Googlegemini-2.5-progemini-2.5-flash

Definition

.apm/agents/gem-orchestrator.agent.md (applies routing)