Build your own AI router.
Train a router with Pathfinder to choose the right model for each task.
How a router learns
Replay a decision from the same starting point. Select a model to see how its choice affected the run.
A build fails on a fresh install
Three models start with the same files and error log.
Pinned the missing dependency. The clean build passed for 15¢ less than Model C.
Built with Pathfinder
We trained ARC, Rayline’s open-weight router, to predict how likely each model is to finish a task and how many tokens it will use.
Read the ARC technical report ↗What does a higher pass rate cost?
Set a target for how many builds need to pass. See which combination of models meets it at the lowest cost in this example.
90 passed using models B and C.
Keep experiments reproducible
When you add a model or change how you train, rerun the same tests to see what improved and where performance slipped.
Trace every example
Follow a training example back to the task, model response, and test result that produced it.
Compare runs
Check which settings changed between runs and how each router scored on the same tasks.
Test on unseen tasks
Compare the router with each model on tasks held out of training. Measure success and cost together.
Which tasks would you route?
Tell us which models you use and what counts as a successful result. We’ll help you plan your first router experiment.