Lab · Semantic routing
A topographic map of which model to use
Altitude is cognitive effort. Sending every request to one large model is climbing Everest to say “hello”. Real workflows are routes, not points: intake and replies stay on the cheap plains, and only the step that needs deep reasoning climbs to the summit. Pick a workflow or type a prompt and watch the route.
Incoming
WhatsApp agent + invoices
Saved vs. one big model
−77%
$11.2 vs $48.0 / 1k runs
Step 1/4 · Plains
Intent filter
Flash-Lite · No reasoning · $0.40/1k
Drag to orbit · scroll or pinch to zoom · right-drag to pan.
The altitude matrix
| Zone | Typical tasks | Model tier | Parameters |
|---|---|---|---|
| Plains | Greetings, classification, simple extraction | Flash-Lite · Haiku · Mini | No reasoning, temp 0.2, under 200 ms |
| Hills | Brainstorming, emails, short summaries | Flash · Sonnet · GPT-4o | No reasoning, temp 0.8–1.0 for creativity |
| Mountain | Excel formulas, JSON extraction, refactors | Gemini Pro · Claude Opus | Moderate reasoning, temp 0.1 for exact syntax |
| Summit | QA, hard bugs, race conditions, architecture | Thinking · o3 · DeepSeek-R1 | High reasoning-token budget |
- Deterministic filter first. A regex catches “hi” before any embedding or token is spent.
- Escalate when unsure. Low router confidence moves a request one altitude up, never down.
- Semantic cache. Repeated questions never leave the plains.
Costs are an illustrative model in USD per 1,000 runs, meant to compare shapes of routes, not vendor pricing. The free-text router here is keyword-based so the demo runs entirely in your browser; in production the same slot is filled by an embedding router (e.g. all-MiniLM-L6-v2) with a confidence threshold.