Skip to content

Smart Router

The Smart Router automatically selects the optimal AI model for each task based on complexity, budget, and plan tier. It keeps costs low for simple bugs and uses powerful models only when needed.

Model Registry

All models available through Eiryx, organized by tier:

Economy Tier

ModelProviderInput CostOutput CostContextBest For
Gemini 3 Flash PreviewGoogle$0.30/1M$2.50/1M1M tokensTriage, simple fixes
Claude Haiku 4.5Anthropic$1.00/1M$5.00/1M200K tokensConfig fixes, typos

Standard Tier

ModelProviderInput CostOutput CostContextBest For
Claude Sonnet 4.6Anthropic$3.00/1M$15.00/1M1M tokensMost bugs and features
Gemini 3.1 Pro PreviewGoogle$1.25/1M$10.00/1M1M tokensCost-effective alternative
GPT-4oOpenAI$2.50/1M$10.00/1M128K tokensBroad capability

Premium Tier

ModelProviderInput CostOutput CostContextBest For
Claude Opus 4.6Anthropic$5.00/1M$25.00/1M1M tokensComplex architecture
o3OpenAI$10.00/1M$40.00/1M200K tokensReasoning-heavy tasks

How Routing Works

  1. Task difficulty analysis — Keywords in the description are matched against complexity signals (e.g., “race condition” → hard, “typo” → easy).
  2. Starting tier — Easy tasks start at Economy, moderate at Standard, architecture tasks at Premium.
  3. Escalation — If the model fails after multiple strategy changes, the router escalates to the next tier.
  4. Cost cap — Each plan has a max_cost_per_fix. The router never exceeds this.

Provider Resolution

Your API key determines which models are available:

  • OpenRouter key → All models available (OpenRouter routes to any provider)
  • Anthropic key → Only Claude models
  • Google key → Only Gemini models
  • Multiple keys → Union of all available models

This is why OpenRouter is the recommended provider — one key gives you access to every model in the registry.

Overriding the Router

In the Create Task dialog, you can:

  • Click Analyze Difficulty to see the router’s recommendation
  • Manually select a different model from the dropdown
  • Adjust the iteration budget

Manual overrides skip the router’s automatic selection.