Choose your default model in the configuration step during onboarding. The setting is stored for your team and applied server-side to every request that does not name a model. You can change it at any time: open your team in the dashboard and go to Settings → Routing, where the routing policy (default model and preferences) is saved as one unit.
You can choose any model from the dashboard Models page, or choose auto to let the AI Router decide which model to use.
The default model is also the model AI Router uses when no candidate can be selected for a request.
Set the model parameter when a specific request needs to use a different model from your account default. For example:
Using OpenAI:
Using langchain:
You can also set model to auto to let the AI Router decide for that request.
Per-request parameters override your account configuration. When a request sends routing parameters, the AI Router uses those values for that request instead of your account configuration. Requests that hard-code routing parameters will not pick up later changes you make in the dashboard.
...
client.chat.completions.create(
model='gpt-5.2',
messages=[{"role": "user", "content": input}]
)
llm = ChatOpenAI(
model='gpt-5.2',
base_url='https://api.airouter.io',
)