TerraceRoute — Token-Efficient Routing Agent

Created by team Terrace Riot on July 09, 2026
Hybrid Token-Efficient Routing AgentVideo CaptioningUnicorn Track

TerraceRoute is a hybrid, token-efficient routing agent for Track 1. It reads a batch of natural-language tasks and answers each one using the fewest billed Fireworks tokens possible, without dropping below the accuracy gate. The core insight came from our own calibration experiments: a small model's internal confidence signals (perplexity, self-consistency) actually anti-correlate with correctness — models are often confidently wrong on reasoning traps. What works instead is cross-model disagreement and, wherever possible, deterministic verification. So TerraceRoute routes every task down a terrace of increasingly expensive checks, exiting as early as it safely can: 1. Classify each task into one of the eight capability domains. 2. Solve it locally with a bundled 3B model — local tokens cost zero. 3. Verify for free where the domain allows: math expressions are evaluated in Python, generated code is executed against self-tests, and counting tasks use real tools instead of the LLM. 4. Escalate to Fireworks AI only when local verification fails or the task lands in a known trap zone (logical/deductive puzzles), sending the most compact prompt that still clears the gate. Everything runs inside the 4 GB / 2 vCPU, CPU-only, 10-minute scoring environment. A watchdog writes results progressively and guarantees every task is answered, so the container never times out or ships an empty slot. Escalation aggressiveness is a single knob we calibrate against the live leaderboard — the true oracle for the hidden accuracy threshold.

Category tags: