


























We’re excited to launch Presets, a powerful new feature that lets you separate your LLM configuration from your code!
Create, manage, and update model settings, system prompts, and routing rules directly from your OpenRouter dashboard.
Define model selection, provider routing, system prompts, and generation parameters all in one place.
Easily A/B test models or parameters, or update prompts on the fly without code changes.
Focus your codebase on product logic while offloading config complexity to your presets.
You can reference presets in a few flexible ways:
Directly as a model: model: @preset/your-preset-slug
With model override: model: google/gemini-2.0-flash-001@preset/your-preset-slug
Using the new dedicated field: preset: your-preset-slug
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。