Model Selection — Task-Aware Routing via BitRouter
You have access to 33 LLM models through BitRouter's OpenRouter upstream.
Rather than using the auto load-balancer for every task, actively select
the right model based on the task at hand. This saves cost and improves
quality.
Decision Framework
Before starting a task, assess it along two axes:
- Complexity: How hard is the reasoning / how many steps?
- Cost sensitivity: Is this a one-shot or a high-volume repeated task?
Then pick the lowest tier that can handle the job well.
Model Tiers
Tier 1 — Frontier (complex reasoning, architecture, research)
Use for: multi-file refactors, system design, novel algorithm design, complex
debugging, long-horizon planning, tasks where correctness is critical.
| Model |
In $/M |
Out $/M |
Context |
Max Out |
Vision |
Notes |
| anthropic/claude-opus-4.6 |
5.00 |
25.00 |
1M |
128K |
yes |
Best for long agentic workflows, coding |
| anthropic/claude-opus-4.5 |
5.00 |
25.00 |
200K |
64K |
yes |
Strong reasoning, file input |
| openai/gpt-5.4 |
2.50 |
15.00 |
1M |
128K |
yes |
Unified Codex+GPT, massive context |
| google/gemini-3.1-pro-preview |
2.00 |
12.00 |
1M |
65K |
yes |
Best SWE-bench, audio/video input |
| google/gemini-3-pro-preview |
2.00 |
12.00 |
1M |
65K |
yes |
Multimodal frontier |
| google/gemini-2.5-pro |
1.25 |
10.00 |
1M |
65K |
yes |
Thinking model, math/science |
Cost guidance: $2–25/M output. Use only when task demands it.
Tier 2 — Strong (general coding, analysis, most dev work)
Use for: standard feature implementation, code review, writing tests, data
analysis, technical writing, moderate-complexity debugging.
| Model |
In $/M |
Out $/M |
Context |
Max Out |
Vision |
Notes |
| anthropic/claude-sonnet-4.6 |
3.00 |
15.00 |
1M |
128K |
yes |
Best all-round dev model |
| anthropic/claude-sonnet-4.5 |
3.00 |
15.00 |
1M |
64K |
yes |
Strong coding, file input |
| qwen/qwen3-max-thinking |
0.78 |
3.90 |
262K |
32K |
no |
Deep chain-of-thought reasoning |
| z-ai/glm-5 |
0.72 |
2.30 |
80K |
131K |
no |
Systems design, agent workflows |
| moonshotai/kimi-k2.5 |
0.45 |
2.20 |
262K |
65K |
yes |
Visual coding, agent swarms |
| mistralai/mistral-large-2512 |
0.50 |
1.50 |
262K |
— |
yes |
MoE 675B, good multilingual |
| qwen/qwen3.5-397b-a17b |
0.39 |
2.34 |
262K |
65K |
yes |
Largest Qwen MoE, vision+video |
Cost guidance: $0.40–15/M output. Default tier for most work.
Tier 3 — Fast (simple tasks, high throughput, cost-sensitive)
Use for: formatting, translation, summarization, triage, simple Q&A, boilerplate
generation, linting, commit messages, quick lookups.
| Model |
In $/M |
Out $/M |
Context |
Max Out |
Vision |
Notes |
| anthropic/claude-haiku-4.5 |
1.00 |
5.00 |
200K |
64K |
yes |
Fast + capable, great value |
| google/gemini-3-flash-preview |
0.50 |
3.00 |
1M |
65K |
yes |
Fast thinking model, multimodal |
| mistralai/devstral-2512 |
0.40 |
2.00 |
262K |
— |
no |
123B dense, code specialist |
| google/gemini-2.5-flash |
0.30 |
2.50 |
1M |
65K |
yes |
Workhorse, audio/video support |
| openai/gpt-5-mini |
0.25 |
2.00 |
400K |
128K |
yes |
Compact GPT-5, good reasoning |
| qwen/qwen3.5-plus-02-15 |
0.26 |
1.56 |
1M |
65K |
yes |
1M context, vision+video |
| qwen/qwen3.5-122b-a10b |
0.26 |
2.08 |
262K |
65K |
yes |
MoE, good all-round |
| minimax/minimax-m2.5 |
0.20 |
1.17 |
196K |
65K |
no |
Real-world productivity |
| x-ai/grok-4.1-fast |
0.20 |
0.50 |
2M |
30K |
yes |
2M context, great tool calling |
| qwen/qwen3.5-27b |
0.20 |
1.56 |
262K |
65K |
yes |
Dense, fast, vision+video |
| qwen/qwen3.5-35b-a3b |
0.16 |
1.30 |
262K |
65K |
yes |
MoE, linear attention, fast |
| openai/gpt-4o-mini |
0.15 |
0.60 |
128K |
16K |
yes |
Cheap, reliable baseline |
| deepseek/deepseek-chat |
0.32 |
0.89 |
163K |
163K |
no |
DeepSeek V3, huge output window |
| minimax/minimax-m2.1 |
0.27 |
0.95 |
196K |
— |
no |
Lightweight, coding-focused |
| z-ai/glm-4.5-air |
0.13 |
0.85 |
131K |
98K |
no |
Agent-focused, lightweight |
Cost guidance: $0.13–5/M output. Use for bulk work and simple tasks.
Tier 4 — Ultra-cheap (maximum throughput, minimal cost)
Use for: batch processing, classification, extraction, format conversion,
simple parsing, test data generation, any task where speed >> quality.
| Model |
In $/M |
Out $/M |
Context |
Max Out |
Vision |
Notes |
| openai/gpt-5-nano |
0.05 |
0.40 |
400K |
128K |
yes |
Smallest GPT-5, ultra-fast |
| xiaomi/mimo-v2-flash |
0.09 |
0.29 |
262K |
65K |
no |
MoE 309B/15B active, cheapest |
| stepfun/step-3.5-flash |
0.10 |
0.30 |
256K |
256K |
no |
Cheap MoE, massive output |
| qwen/qwen3-coder-next |
0.12 |
0.75 |
262K |
65K |
no |
Code-specialist, open-weight |
| deepseek/deepseek-v3.2 |
0.26 |
0.38 |
163K |
— |
no |
Efficient reasoning, tool use |
Cost guidance: $0.05–0.75/M output. 10–100x cheaper than frontier.
Specialist Models
These excel at specific tasks regardless of their tier placement:
| Task |
Best Models |
Why |
| Code generation |
qwen3-coder-next, devstral-2512, deepseek-v3.2 |
Purpose-built for code |
| Code review / refactor |
claude-sonnet-4.6, devstral-2512, gpt-5.4 |
Strong at understanding intent |
| Multimodal (image) |
gemini-3-pro-preview, claude-sonnet-4.6, kimi-k2.5 |
Native vision |
| Audio/Video |
gemini-2.5-flash, gemini-3-flash-preview, gemini-3-pro-preview |
Only Gemini supports A/V |
| Huge context (>500K) |
grok-4.1-fast (2M), gpt-5.4 (1M), gemini-* (1M), sonnet-4.6 (1M) |
Large context windows |
| Maximum output |
stepfun/step-3.5-flash (256K), deepseek-chat (163K), gpt-5.4/nano (128K) |
For long-form generation |
| Multilingual |
mistral-large-2512, qwen3.5-*, kimi-k2.5 |
Strong non-English |
| Math/Science |
gemini-2.5-pro, qwen3-max-thinking, claude-opus-4.6 |
Thinking/reasoning modes |
| Agentic tool use |
grok-4.1-fast, claude-sonnet-4.6, glm-5, glm-4.5-air |
Optimized for tool calling loops |
How to Switch Models
Use the BitRouter CLI to create task-specific routes:
# Set a named route for the current task type
bitrouter route add my-task openrouter:anthropic/claude-sonnet-4.6
# Create a route with failover (tries in order)
bitrouter route add code-review \
openrouter:qwen/qwen3-coder-next \
openrouter:mistralai/devstral-2512 \
--strategy priority
# Create a load-balanced pool for a task type
bitrouter route add batch-work \
openrouter:openai/gpt-5-nano \
openrouter:xiaomi/mimo-v2-flash \
openrouter:stepfun/step-3.5-flash \
--strategy load_balance
# Check current routes
bitrouter route list
# Remove a route when done
bitrouter route rm my-task
Then use the route name as the model in your API calls:
curl http://127.0.0.1:8787/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model": "code-review", "messages": [...]}'
Quick Selection Cheatsheet
| Task |
Recommended Model |
Cost |
| Architecture / system design |
claude-opus-4.6 |
$$$$$ |
| Complex multi-file refactor |
gpt-5.4 or gemini-3.1-pro |
$$$$ |
| Standard feature / bug fix |
claude-sonnet-4.6 |
$$$ |
| Code review |
devstral-2512 or qwen3-coder-next |
$$ |
| Write tests |
claude-haiku-4.5 or gpt-5-mini |
$$ |
| Simple edit / formatting |
gpt-5-nano or mimo-v2-flash |
$ |
| Summarize / translate |
gpt-5-nano or step-3.5-flash |
$ |
| Batch classify / extract |
gpt-5-nano or deepseek-v3.2 |
$ |
| Image analysis |
gemini-2.5-flash or claude-sonnet-4.6 |
$$-$$$ |
| Audio/video processing |
gemini-2.5-flash or gemini-3-flash |
$$ |
| Long document analysis (>500K) |
grok-4.1-fast (2M ctx, $0.50/M) |
$ |
| Research / deep reasoning |
qwen3-max-thinking or gemini-2.5-pro |
$$-$$$$ |
Cost Comparison Examples
For a typical 2K input / 1K output task:
| Tier |
Model |
Cost per call |
| Ultra-cheap |
gpt-5-nano |
$0.0005 |
| Fast |
gemini-2.5-flash |
$0.003 |
| Strong |
claude-sonnet-4.6 |
$0.021 |
| Frontier |
claude-opus-4.6 |
$0.035 |
A 70x cost difference between cheapest and most expensive. Choose wisely.
1---2name: model-select3description: Select the best LLM model for a task from 33 available models routed through BitRouter. Use this skill when choosing which model to use for a specific task, optimizing cost vs quality, switching models mid-workflow, or creating task-specific routes. Triggers on: model selection, choose model, pick model, which model, cost optimization, task routing, model switching.4license: MIT5---67# Model Selection — Task-Aware Routing via BitRouter89You have access to 33 LLM models through BitRouter's OpenRouter upstream.10Rather than using the `auto` load-balancer for every task, **actively select11the right model** based on the task at hand. This saves cost and improves12quality.1314---1516## Decision Framework1718Before starting a task, assess it along two axes:19201. **Complexity**: How hard is the reasoning / how many steps?212. **Cost sensitivity**: Is this a one-shot or a high-volume repeated task?2223Then pick the lowest tier that can handle the job well.2425---2627## Model Tiers2829### Tier 1 — Frontier (complex reasoning, architecture, research)3031Use for: multi-file refactors, system design, novel algorithm design, complex32debugging, long-horizon planning, tasks where correctness is critical.3334| Model | In $/M | Out $/M | Context | Max Out | Vision | Notes |35|-------|--------|---------|---------|---------|--------|-------|36| anthropic/claude-opus-4.6 | 5.00 | 25.00 | 1M | 128K | yes | Best for long agentic workflows, coding |37| anthropic/claude-opus-4.5 | 5.00 | 25.00 | 200K | 64K | yes | Strong reasoning, file input |38| openai/gpt-5.4 | 2.50 | 15.00 | 1M | 128K | yes | Unified Codex+GPT, massive context |39| google/gemini-3.1-pro-preview | 2.00 | 12.00 | 1M | 65K | yes | Best SWE-bench, audio/video input |40| google/gemini-3-pro-preview | 2.00 | 12.00 | 1M | 65K | yes | Multimodal frontier |41| google/gemini-2.5-pro | 1.25 | 10.00 | 1M | 65K | yes | Thinking model, math/science |4243**Cost guidance**: $2–25/M output. Use only when task demands it.4445### Tier 2 — Strong (general coding, analysis, most dev work)4647Use for: standard feature implementation, code review, writing tests, data48analysis, technical writing, moderate-complexity debugging.4950| Model | In $/M | Out $/M | Context | Max Out | Vision | Notes |51|-------|--------|---------|---------|---------|--------|-------|52| anthropic/claude-sonnet-4.6 | 3.00 | 15.00 | 1M | 128K | yes | Best all-round dev model |53| anthropic/claude-sonnet-4.5 | 3.00 | 15.00 | 1M | 64K | yes | Strong coding, file input |54| qwen/qwen3-max-thinking | 0.78 | 3.90 | 262K | 32K | no | Deep chain-of-thought reasoning |55| z-ai/glm-5 | 0.72 | 2.30 | 80K | 131K | no | Systems design, agent workflows |56| moonshotai/kimi-k2.5 | 0.45 | 2.20 | 262K | 65K | yes | Visual coding, agent swarms |57| mistralai/mistral-large-2512 | 0.50 | 1.50 | 262K | — | yes | MoE 675B, good multilingual |58| qwen/qwen3.5-397b-a17b | 0.39 | 2.34 | 262K | 65K | yes | Largest Qwen MoE, vision+video |5960**Cost guidance**: $0.40–15/M output. Default tier for most work.6162### Tier 3 — Fast (simple tasks, high throughput, cost-sensitive)6364Use for: formatting, translation, summarization, triage, simple Q&A, boilerplate65generation, linting, commit messages, quick lookups.6667| Model | In $/M | Out $/M | Context | Max Out | Vision | Notes |68|-------|--------|---------|---------|---------|--------|-------|69| anthropic/claude-haiku-4.5 | 1.00 | 5.00 | 200K | 64K | yes | Fast + capable, great value |70| google/gemini-3-flash-preview | 0.50 | 3.00 | 1M | 65K | yes | Fast thinking model, multimodal |71| mistralai/devstral-2512 | 0.40 | 2.00 | 262K | — | no | 123B dense, code specialist |72| google/gemini-2.5-flash | 0.30 | 2.50 | 1M | 65K | yes | Workhorse, audio/video support |73| openai/gpt-5-mini | 0.25 | 2.00 | 400K | 128K | yes | Compact GPT-5, good reasoning |74| qwen/qwen3.5-plus-02-15 | 0.26 | 1.56 | 1M | 65K | yes | 1M context, vision+video |75| qwen/qwen3.5-122b-a10b | 0.26 | 2.08 | 262K | 65K | yes | MoE, good all-round |76| minimax/minimax-m2.5 | 0.20 | 1.17 | 196K | 65K | no | Real-world productivity |77| x-ai/grok-4.1-fast | 0.20 | 0.50 | 2M | 30K | yes | 2M context, great tool calling |78| qwen/qwen3.5-27b | 0.20 | 1.56 | 262K | 65K | yes | Dense, fast, vision+video |79| qwen/qwen3.5-35b-a3b | 0.16 | 1.30 | 262K | 65K | yes | MoE, linear attention, fast |80| openai/gpt-4o-mini | 0.15 | 0.60 | 128K | 16K | yes | Cheap, reliable baseline |81| deepseek/deepseek-chat | 0.32 | 0.89 | 163K | 163K | no | DeepSeek V3, huge output window |82| minimax/minimax-m2.1 | 0.27 | 0.95 | 196K | — | no | Lightweight, coding-focused |83| z-ai/glm-4.5-air | 0.13 | 0.85 | 131K | 98K | no | Agent-focused, lightweight |8485**Cost guidance**: $0.13–5/M output. Use for bulk work and simple tasks.8687### Tier 4 — Ultra-cheap (maximum throughput, minimal cost)8889Use for: batch processing, classification, extraction, format conversion,90simple parsing, test data generation, any task where speed >> quality.9192| Model | In $/M | Out $/M | Context | Max Out | Vision | Notes |93|-------|--------|---------|---------|---------|--------|-------|94| openai/gpt-5-nano | 0.05 | 0.40 | 400K | 128K | yes | Smallest GPT-5, ultra-fast |95| xiaomi/mimo-v2-flash | 0.09 | 0.29 | 262K | 65K | no | MoE 309B/15B active, cheapest |96| stepfun/step-3.5-flash | 0.10 | 0.30 | 256K | 256K | no | Cheap MoE, massive output |97| qwen/qwen3-coder-next | 0.12 | 0.75 | 262K | 65K | no | Code-specialist, open-weight |98| deepseek/deepseek-v3.2 | 0.26 | 0.38 | 163K | — | no | Efficient reasoning, tool use |99100**Cost guidance**: $0.05–0.75/M output. 10–100x cheaper than frontier.101102### Specialist Models103104These excel at specific tasks regardless of their tier placement:105106| Task | Best Models | Why |107|------|-------------|-----|108| **Code generation** | qwen3-coder-next, devstral-2512, deepseek-v3.2 | Purpose-built for code |109| **Code review / refactor** | claude-sonnet-4.6, devstral-2512, gpt-5.4 | Strong at understanding intent |110| **Multimodal (image)** | gemini-3-pro-preview, claude-sonnet-4.6, kimi-k2.5 | Native vision |111| **Audio/Video** | gemini-2.5-flash, gemini-3-flash-preview, gemini-3-pro-preview | Only Gemini supports A/V |112| **Huge context (>500K)** | grok-4.1-fast (2M), gpt-5.4 (1M), gemini-* (1M), sonnet-4.6 (1M) | Large context windows |113| **Maximum output** | stepfun/step-3.5-flash (256K), deepseek-chat (163K), gpt-5.4/nano (128K) | For long-form generation |114| **Multilingual** | mistral-large-2512, qwen3.5-*, kimi-k2.5 | Strong non-English |115| **Math/Science** | gemini-2.5-pro, qwen3-max-thinking, claude-opus-4.6 | Thinking/reasoning modes |116| **Agentic tool use** | grok-4.1-fast, claude-sonnet-4.6, glm-5, glm-4.5-air | Optimized for tool calling loops |117118---119120## How to Switch Models121122Use the BitRouter CLI to create task-specific routes:123124```bash125# Set a named route for the current task type126bitrouter route add my-task openrouter:anthropic/claude-sonnet-4.6127128# Create a route with failover (tries in order)129bitrouter route add code-review \130 openrouter:qwen/qwen3-coder-next \131 openrouter:mistralai/devstral-2512 \132 --strategy priority133134# Create a load-balanced pool for a task type135bitrouter route add batch-work \136 openrouter:openai/gpt-5-nano \137 openrouter:xiaomi/mimo-v2-flash \138 openrouter:stepfun/step-3.5-flash \139 --strategy load_balance140141# Check current routes142bitrouter route list143144# Remove a route when done145bitrouter route rm my-task146```147148Then use the route name as the model in your API calls:149```bash150curl http://127.0.0.1:8787/v1/chat/completions \151 -H "Content-Type: application/json" \152 -d '{"model": "code-review", "messages": [...]}'153```154155---156157## Quick Selection Cheatsheet158159| Task | Recommended Model | Cost |160|------|-------------------|------|161| Architecture / system design | claude-opus-4.6 | $$$$$ |162| Complex multi-file refactor | gpt-5.4 or gemini-3.1-pro | $$$$ |163| Standard feature / bug fix | claude-sonnet-4.6 | $$$ |164| Code review | devstral-2512 or qwen3-coder-next | $$ |165| Write tests | claude-haiku-4.5 or gpt-5-mini | $$ |166| Simple edit / formatting | gpt-5-nano or mimo-v2-flash | $ |167| Summarize / translate | gpt-5-nano or step-3.5-flash | $ |168| Batch classify / extract | gpt-5-nano or deepseek-v3.2 | $ |169| Image analysis | gemini-2.5-flash or claude-sonnet-4.6 | $$-$$$ |170| Audio/video processing | gemini-2.5-flash or gemini-3-flash | $$ |171| Long document analysis (>500K) | grok-4.1-fast (2M ctx, $0.50/M) | $ |172| Research / deep reasoning | qwen3-max-thinking or gemini-2.5-pro | $$-$$$$ |173174---175176## Cost Comparison Examples177178For a typical 2K input / 1K output task:179180| Tier | Model | Cost per call |181|------|-------|---------------|182| Ultra-cheap | gpt-5-nano | $0.0005 |183| Fast | gemini-2.5-flash | $0.003 |184| Strong | claude-sonnet-4.6 | $0.021 |185| Frontier | claude-opus-4.6 | $0.035 |186187**A 70x cost difference between cheapest and most expensive.** Choose wisely.