Model Dispatch -- Model Selection and Provider Routing
Purpose: Select the appropriate LLM model and route to the correct provider workflow. Called by /aim-agent-dispatch and /aim-agent-lifecycle.
Model Selection
By Complexity
| Complexity |
Model |
| Straightforward / Moderate |
Sonnet |
| Significant / Complex / Architectural |
Opus |
Role-Based Defaults
| Agent Role |
Default |
Override When |
| DEV (implementation) |
Sonnet |
Opus if architectural changes or complex refactoring |
| Code review |
Sonnet |
Opus if reviewing architectural decisions |
| Analyst |
Sonnet |
Opus if deep architectural analysis |
| PM |
Sonnet |
Opus if complex domain modeling |
| Architect |
Opus |
Already at highest tier |
| SM, UX Designer |
Sonnet |
Standard for all work |
| Generic agent |
Sonnet |
Opus if task requires deep reasoning |
Override Rules
- User override: User preference always wins.
- Failed fix escalation: After loop count > 1, consider upgrading to Opus.
- Haiku: Only for simple, high-volume parallel tasks (file scanning, grep-and-report). Never for implementation, review, or planning.
- Cost awareness: Use Opus when reasoning depth justifies the cost, not as default.
- Non-Claude providers: Reasoning tier (Opus/Sonnet/Haiku) maps to equivalent model on the selected provider.
Provider Routing
Path 1: Claude Native
MANDATORY for opus, sonnet, haiku -- use the Claude Code native parallel system.
→ workflows/claude-native/workflow.md
Path 2: Non-Claude Providers
| Provider |
Workflow |
| openrouter, ollama, gemini, deepseek, groq, cerebras, mistral, openai, vertex-ai, siliconflow |
tmux-dispatch or bmad-dispatch |
| api (image/audio/video) |
api-dispatch |
Framework
All sub-workflows, references, scripts, wrappers, and evals are in:
{skills_path}/aim-model-dispatch/
1---2name: aim-model-dispatch3description: Select the appropriate LLM model for each agent based on task complexity and role4---56# Model Dispatch -- Model Selection and Provider Routing78**Purpose**: Select the appropriate LLM model and route to the correct provider workflow. Called by /aim-agent-dispatch and /aim-agent-lifecycle.910---1112## Model Selection1314### By Complexity1516| Complexity | Model |17|------------|-------|18| Straightforward / Moderate | Sonnet |19| Significant / Complex / Architectural | Opus |2021### Role-Based Defaults2223| Agent Role | Default | Override When |24|------------|---------|---------------|25| DEV (implementation) | Sonnet | Opus if architectural changes or complex refactoring |26| Code review | Sonnet | Opus if reviewing architectural decisions |27| Analyst | Sonnet | Opus if deep architectural analysis |28| PM | Sonnet | Opus if complex domain modeling |29| Architect | Opus | Already at highest tier |30| SM, UX Designer | Sonnet | Standard for all work |31| Generic agent | Sonnet | Opus if task requires deep reasoning |3233### Override Rules34351. **User override**: User preference always wins.362. **Failed fix escalation**: After loop count > 1, consider upgrading to Opus.373. **Haiku**: Only for simple, high-volume parallel tasks (file scanning, grep-and-report). Never for implementation, review, or planning.384. **Cost awareness**: Use Opus when reasoning depth justifies the cost, not as default.395. **Non-Claude providers**: Reasoning tier (Opus/Sonnet/Haiku) maps to equivalent model on the selected provider.4041---4243## Provider Routing4445### Path 1: Claude Native4647**MANDATORY** for opus, sonnet, haiku -- use the Claude Code native parallel system.4849→ [`workflows/claude-native/workflow.md`]({skills_path}/aim-model-dispatch/workflows/claude-native/workflow.md)5051### Path 2: Non-Claude Providers5253| Provider | Workflow |54|----------|----------|55| openrouter, ollama, gemini, deepseek, groq, cerebras, mistral, openai, vertex-ai, siliconflow | [`tmux-dispatch`]({skills_path}/aim-model-dispatch/workflows/tmux-dispatch/workflow.md) or [`bmad-dispatch`]({skills_path}/aim-model-dispatch/workflows/bmad-dispatch/workflow.md) |56| api (image/audio/video) | [`api-dispatch`]({skills_path}/aim-model-dispatch/workflows/api-dispatch/workflow.md) |5758---5960## Framework6162All sub-workflows, references, scripts, wrappers, and evals are in:63`{skills_path}/aim-model-dispatch/`