8 minutes

Create a preset

Create a preset so your team calls one name, and you can change the model, prompt, or routing behind it without a code change.

A preset keeps the configuration out of your team’s code. A preset can set:

  • The model, and backup models to try if it fails.
  • A system prompt.
  • Generation settings such as temperature and max tokens.
  • Provider routing: which providers to use or skip, and how to sort them.
  • Tools, including OpenRouter server tools like web search.

To create one, open the workspace, go to Presets, and choose New preset. Give it a short, descriptive name. OpenRouter generates a slug such as @preset/support-replies that your teammates pass as the model name in their API requests or Ori commands (every way to call a preset) (for example, ori claude --model @preset/support-replies). Pick the primary model, add optional backup models, and fill in only the settings you want to standardize.

Check your understanding

Five services each hard-code the same model and system prompt. You want to switch them all to a new model next week. What does moving them to a preset change?

When you edit the preset later, for example to switch to a cheaper model or tighten the prompt, every caller gets the change on their next request. Presets belong to a workspace, so only keys in that workspace can use them.

Apply it

A team asks for a preset that only uses providers that don’t keep data. Where does that go?

Takeaway

A preset bundles the model, fallbacks, system prompt, parameters, provider routing, and tools under one slug in a workspace. Your team calls @preset/<slug>, and you change the configuration in one place.