AI Models
Contrie uses a fleet of 17 models across 8 providers. The router selects the cheapest model that can handle the classified complexity, and escalates a tier whenever the quality score lands under 70. This table renders from the same source file the router reads — it cannot go stale.
Model Fleet
| Model | Tier | Context | Vision | Priority |
|---|---|---|---|---|
| minimax/minimax-m3:free | free | 1049K | yes | 10 |
| nvidia/nemotron-3-super-120b-a12b:free | free | 262K | — | 9 |
| z-ai/glm-5.2:free | free | 256K | — | 8 |
| nvidia/nemotron-3-ultra-550b-a55b:free | free | 1000K | — | 6 |
| minimax/minimax-m2.7:free | free | 197K | — | 4 |
| google/gemma-4-31b-it:free | free | 262K | yes | 2 |
| deepseek/deepseek-v4-pro-0813 | budget | 1049K | — | 15 |
| deepseek/deepseek-v4-flash | budget | 1049K | — | 12 |
| deepseek/deepseek-chat-v3-0324 | budget | 164K | — | 10 |
| openai/gpt-5.6-luna | standard | 1050K | yes | 10 |
| openai/gpt-5-mini | standard | 400K | yes | 8 |
| anthropic/claude-haiku-4.5 | standard | 200K | yes | 6 |
| bytedance/ui-tars-1.5-7b | vision | 128K | yes | 16 |
| google/gemini-2.5-flash-lite | vision | 1049K | yes | 10 |
| google/gemini-3.1-flash-lite | premium | 1049K | yes | 12 |
| google/gemini-3.7-flash | premium | 1049K | yes | 8 |
| anthropic/claude-sonnet-5 | frontier | 1000K | yes | 10 |
How Model Routing Works
- The classifier scores the page — simple, complex, visual, or adversarial — from HTML size, structure, and anti-bot fingerprints
- The router picks the cheapest capable model within your tier (keyless demo and free keys use free models only)
- Every result is quality-scored 0–100; anything under 70 escalates to the next tier and retries, keeping the best attempt
- The free tier walks all free models in priority order before giving up
Vision Cascade
Requests that include a screenshot route through vision-capable models, escalating by tier until quality clears the bar:
ui-tars-1.5-7b (vision) → gemini-3.1-flash-lite (premium) → claude-sonnet-5 (frontier)
The full control flow, with a diagram, lives on the architecture page.