protologue

Routing

Also called model routing, query routing.

Routing is a workflow pattern that classifies an incoming request and directs it to a specialized prompt, tool, or model suited to that category.

Description

Routing allows separate prompts to be optimized for distinct cases, and lets easy queries go to smaller, cheaper models while hard ones go to more capable models.

Sources

  1. Anthropic (2024). Building effective agents.

Cite this entry

Protologue. (2026). Routing. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.0.0, PTL-0066). https://protologue.com/t/routing/

BibTeX
@misc{protologue_routing,
  title = {Routing},
  author = {{Protologue}},
  year = {2026},
  howpublished = {Protologue: A Taxonomy of Prompting and LLM Techniques, v1.0.0},
  note = {Entry PTL-0066},
  url = {https://protologue.com/t/routing/}
}

Markdown JSON