Designed for tablet+. View on a tablet or larger screen for the intended layout.
CORE_WORKSHOP_v1.0
SPEAKER NOTES MODE — press s to hide
BLOCK 4 · AI GATEWAY (PRODUCTION) 3:10 – 3:20 · 10 min · 3L / 7HO · Lab

TOPIC 4.3 / 10 · HO #2

Configure models + aliases

Three concepts in the catalog: available, enabled, aliased. Aliases let production teams swap models without touching app code.

4.3

Models + aliases

10 min 3L / 7HO 3:10 – 3:20
Slide 1 / 3 · The catalog

Which models are available, default, aliased

  • Available — what your providers expose
  • Enabled — what your gateway accepts requests for
  • Aliased — internal name → real provider/model id
  • Aliases are how production teams swap models without code changes
  • Two levers, two layers: aliases swap a model id; routing rules (coming in 4.6) swap a provider. Same goal — change behavior without touching the app.
Slide 2 / 3 · The alias trick

Why aliases matter

Before (no alias):

model: "openai/gpt-4o-mini"

After (alias):

model: "small-fast"
alias: "small-fast" → "openai/gpt-4o-mini"

Model swap = config change. Not deploy.

Slide 3 / 3 · Five clicks

HO #2 — Configure models (7 min)

  1. Sidebar → ModelsModel Catalog
  2. Enable Claude Sonnet 4.6 (Anthropic)
  3. Enable gpt-4o-mini (OpenAI)
  4. (Optional) Models → Model Providers → OpenAI → Edit key → Aliases (Optional) → Name small-fast · Value gpt-4o-mini
  5. Confirm both models show as enabled

Per-provider note: aliases live on the provider key, not gateway-wide. The mapping you add to OpenAI's key only resolves when the request is routed to OpenAI. Edit other providers' keys to alias the same name across providers, or use a routing rule + alias combo.