---
title: "AI Gateway: Model Override Policy"
description: ""
canonicalUrl: "https://zuplo.com/changelog/2026/09/29/ai-gateway-model-override"
pageType: "changelog"
date: "2026-09-29"
tags: "runtime, portal, policy"
---
The new AI Gateway Model Override policy lets you, rather than the client,
decide which model an app uses. Force every request onto one model, or supply a
default model for requests that don't name one. Set a rule for completions,
embeddings, or both.

- **`force`**: Every request uses the configured model. A model in the request
  body is ignored.
- **`default`**: The configured model applies only when the request omits
  `model`. A request that names a model keeps its choice.

```json
{
  "models": {
    "completions": { "force": "openai/gpt-6-sol" },
    "embeddings": { "default": "openai/text-embedding-3-small" }
  }
}
```

## When to use it

Use `force` to pin an app to one vetted model regardless of client input, or to
move existing traffic to a new model without shipping a client update. Use
`default` to let clients leave out `model` while keeping full choice for clients
that send one. It also gives bodyless Responses API calls, such as retrieving or
deleting a stored response, the model routing they need.

Responses report the model that served the request in their `model` field, so
clients can see when an override applied.

## Where it goes in the chain

Place Model Override before Model Filtering and Fallback Model. A model it sets
doesn't also need a Model Filtering allow-list entry, and Fallback Model can
still add fallback and quota-fallback models after it. A selection made by an
earlier policy, such as a custom routing policy, is never overwritten.

## Getting started

The policy is part of the AI Gateway template. Add it to an app on the app's
**Policies** tab and set its options. Gateways connected to source control can
add the declaration with `zuplo source upgrade --type ai-gateway`. See the
[Model Override policy](https://zuplo.com/docs/policies/ai-gateway-model-override-inbound)
for every option and the full request behavior, and
[policy chains](https://zuplo.com/docs/ai-gateway/policy-chains) for how apps
select policies.