Skip to main content
Presets allow you to separate your LLM configuration from your code. Create and manage presets through the OpenRouter web application to control provider routing, model selection, system prompts, and other parameters, then reference them in OpenRouter API requests.

What are Presets?

Presets are named configurations that encapsulate all the settings needed for a specific use case. For example, you might create:
  • An “email-copywriter” preset for generating marketing copy
  • An “inbound-classifier” preset for categorizing customer inquiries
  • A “code-reviewer” preset for analyzing pull requests
Each preset can manage:
  • Provider routing preferences (sort by price, latency, etc.)
  • Model selection (specific model or array of models with fallbacks)
  • System prompts
  • Generation parameters (temperature, top_p, etc.)
  • Provider inclusion/exclusion rules

Quick Start

  1. Create a preset. For example, select a model and restrict provider routing to just a few providers.