7 minutes

Switch models and use presets in the Ori CLI

Run your coding agent against any model in the catalog, let openrouter/auto choose per prompt, or use a preset your team configured.

This lesson covers the Ori command-line tool (CLI). The flags below don’t apply if you use the Ori desktop app.

Once your agent runs through Ori, you aren’t locked to a single vendor’s models. Pass --model with any slug from the models page:

Shell
ori claude --model anthropic/claude-sonnet-4.5
ori codex --model google/gemini-3.8-flash

If you don’t want to pick a model by hand, use openrouter/auto to let the Auto Router select a model for each turn based on the prompt:

ori claude --model openrouter/auto

If your team has set up a preset in your workspace (bundling a preferred model, fallback models, and provider routing), pass the preset’s @preset/ slug as the model:

ori claude --model @preset/engineering-agent

Check your understanding

Your team’s admin updates @preset/engineering-agent in the workspace to use a newer model and a faster provider sort. What do you need to change on your machine?

You can check which presets exist in your workspace under Presets in the dashboard sidebar.

Apply it

You’re debugging a tricky concurrency bug and want a frontier reasoning model for this session, then want to switch back to a fast, lower-cost model for routine edits. How do you do that with Ori?

Takeaway

Use --model <author/model> to pick any model in the catalog, --model openrouter/auto to let OpenRouter choose, or --model @preset/<slug> to use your team’s shared workspace configuration.