IntermediateAbout 16 min

    Model Routing & Cost Engineering

    Read the full article on Substack

    7 min read.

    Stream a live request mix through one of four policies — all-big, all-small, heuristic router, or confidence cascade — and watch cost, latency, and quality shift as you switch between them. A hands-on way to explore the tradeoffs every LLM product owner argues about.

    Think of it this way: A model router is triage at an ER. Not every visitor needs a surgeon — the intake nurse routes sniffles to the small clinic and heart attacks to the surgeon, and only escalates when the first responder isn't sure.

    Route by request shape: trivial to small, standard to medium, hard to big.

    Press Play to stream requests.

    Check your understanding

    Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.

    Route a request by cost

    Sequence

    Order a cost-aware routing path.

    Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.

    1. 1Drop a step here
    2. 2Drop a step here
    3. 3Drop a step here
    4. 4Drop a step here
    5. 5Drop a step here
    6. 6Drop a step here
    6 pieces left to place

    Quiz

    20 questions
    Question 1 of 20
    Score: 0

    The main reason "just use a smaller model" is often a worse cost lever than routing:

    Done with this lesson?

    Sign in free to keep your progress, streak and quiz scores.

    Keep going