Yearly Pay yearly and get 2 months free on every paid plan. See plans
Sign in Start free

Chat Pipeline

Last updated 14 Jun 2026

The four stages

  1. Mode — what surface you are on (Chat, Code, Canvas, Realtime, etc.). The Mode declares which capabilities it needs.
  2. Capability set — derived from Mode (e.g., Chat needs text + vision + tools). You can override per message via the model picker.
  3. AiModel filter — we list all models in our catalog that support every required capability under your subscription tier and any BYOK constraints you have set.
  4. Price rank — among eligible models the cheapest by current AiModelPricing snapshot wins. You can override to Quality-first if your plan supports it.

What this means for routing

You never pick a model by name unless you want to — the system picks for you based on what your conversation requires. When provider prices change, your routing changes automatically; you do not need to update anything. The BillingRecord captures which model actually served the call so audit remains correct.

Capabilities at a glance

text generation, vision (image input), tool use (function calling), structured output, code execution (sandbox), image generation, audio in (STT), audio out (TTS), video generation, embeddings, reranking, search, reasoning, batch, fine-tuning, realtime, voice cloning.

See /docs/doc-api-reference#capabilities for the full enum.

Video guide

Watch how it works

AI chat that picks the model, searches the web and does deep research

In ToRun chat you just ask. Auto works out what each message needs and picks the best-value model that can do it; attach a photo and that turn moves to a model that can see it. Pick a model yourself and your choice is honoured. The assistant searches the web mid-answer and attaches its sources, uses tools like reminders and notes, runs Deep Research for bigger questions, and answers place questions with a map, nearest first. Your location is used only for that search.

Chapters
  1. 0:00 Ask anything
  2. 0:11 Auto, or your own pick
  3. 0:31 Web search and tools
  4. 0:52 Deep Research
  5. 1:07 Places on a map