711
Dictionary

AI Router

A layer that picks the cheapest capable model for each request, saving cost and latency.

1 min readupdated 2026-06-22

/ quick answer

An AI router inspects the incoming prompt and dispatches it to the smallest model that can handle it — a small local model for classification, a mid-tier for drafting, a frontier model only for hard reasoning. Products: OpenRouter, Portkey, LiteLLM.

A layer that picks the cheapest capable model for each request, saving cost and latency. An AI router inspects the incoming prompt and dispatches it to the smallest model that can handle it — a small local model for classification, a mid-tier for drafting, a frontier model only for hard reasoning. Products: OpenRouter, Portkey, LiteLLM. In practice: A support agent routes 80% of tickets to GPT-4o mini, 15% to GPT-4o, and 5% to Claude Opus, cutting bill by ~70% with no quality drop.
Definition
An AI router inspects the incoming prompt and dispatches it to the smallest model that can handle it — a small local model for classification, a mid-tier for drafting, a frontier model only for hard reasoning. Products: OpenRouter, Portkey, LiteLLM.
Example
A support agent routes 80% of tickets to GPT-4o mini, 15% to GPT-4o, and 5% to Claude Opus, cutting bill by ~70% with no quality drop.
Related Tool Stacks

/ frequently asked

What is AI Router?

An AI router inspects the incoming prompt and dispatches it to the smallest model that can handle it — a small local model for classification, a mid-tier for drafting, a frontier model only for hard reasoning. Products: OpenRouter, Portkey, LiteLLM.

What is an example of AI Router?

A support agent routes 80% of tickets to GPT-4o mini, 15% to GPT-4o, and 5% to Claude Opus, cutting bill by ~70% with no quality drop.

Why does AI Router matter?

A layer that picks the cheapest capable model for each request, saving cost and latency.

What should I learn after AI Router?

Open the related workflows and prompts further down this page: they show how this idea is applied in a real task, step by step.

/ continue exploring

Related concepts

The vocabulary this page depends on.

all dictionary →

Related workflows

Turn this into a repeatable process.

all workflows →

Related tool stacks

The tools that run it in production.

all tool stacks →

Comparisons & alternatives

Pick between the options.

all comparisons →