# Provision models and providers

> Provision models and providers in Agent Router: connect providers, enable models in the organization catalog, and prepare them for project grants.

Providers are connected and models enabled in the Tetrate Agent Router Admin Console catalog, so there is something to grant to a project. A default project exists from onboarding (Key concepts → Projects); after enablement here, grant models in <Link to="/agent-router-enterprise/guides/operate-and-govern/project-and-data-plane-management/create-a-project/">Create a project and grant models</Link>.

:::caution Provider keys come first
Enabling a model does not make it callable. The provider behind it needs a working provider key first, and on Enterprise that key is customer-supplied: Tetrate does not provide provider keys on this tier.

Without one, the model still appears in the catalog but returns `404` when a developer calls it, and nothing in the Console marks it as broken. Set up the provider key first, in [Step 1](#step-1-configure-the-provider), and check that the connection status reads **Active** before enabling anything.
:::

**Persona:** Platform operator working in the Admin Console.

**Estimated time:** 20 to 30 minutes for an initial provisioning pass, depending on how many providers and models are involved.

## When this guide applies

| Situation | Why this guide helps |
| :---- | :---- |
| First-time setup of a fresh deployment | The catalog must have enabled models before any project can be granted access to them |
| Adding a new AI provider relationship (a contract with a vendor, or a self-hosted endpoint) | The provider must be configured and verified before any of its models can be enabled |
| Adding new model versions from an existing provider | Agent Router exposes only the models that have been explicitly enabled, not everything the provider supports |
| Rotating provider keys on a schedule or after a security event | A clean key rotation is the recurring operational task that this layer requires |
| Retiring a model or provider as part of a sunset or contract change | Disabling at the provider or model level cleanly removes capability from the developer-facing surface |

## Outcomes

By the end of this guide:

- At least one provider is configured with a healthy provider key and an **Active** connection status.
- At least one model from that provider is enabled and visible to developers in the Catalog in the Console.
- Key rotation and provider removal are understood.
- Private-link connectivity, where appropriate, keeps model traffic on the cloud backbone.

## Prerequisites

- Administrator access to the Admin Console, typically the `super_admin` or `provider_admin` role. The exact role model is covered in [Manage roles and permissions](/agent-router-enterprise/guides/identity-and-access-management/manage-roles-and-permissions/).
- Valid credentials for at least one upstream AI provider: an API key, an Azure deployment endpoint, or whatever the provider expects.
- For private-link setups, the network-level configuration (the private endpoint, route, or service connection) is already in place in the cloud environment. The Admin Console configures only the endpoint URL that the gateway dials; it does not provision the underlying network.

## Orient in the Admin Console

The Admin Console is reached at the deployment's dashboard URL, for example `https://dashboard.poc.tetrate.ai/`, with administrator credentials or corporate SSO, and opens on the **Home** page. The Admin Console configures what is available, to whom, and under what conditions; models and providers enabled here are what developers access in the [Console](/agent-router-service/guides/routing-and-traffic-management/route-requests-across-providers/).

### Who uses the Admin Console

Three operator personas typically work in the Admin Console:

| Role | Typical tasks |
| :---- | :---- |
| Agent Router administrators | Enable and disable models, manage provider keys, configure SSO |
| IT operations | Monitor Agent Router health, review audit logs |
| Security leads | Review user access, audit administrative actions, manage API keys |

### Sidebar navigation

The Admin Console sidebar is organized into the following sections:

| Section | Purpose |
| :---- | :---- |
| Home | The landing page; displays organization-wide metrics and quick links to common administrative tasks |
| Catalog → Models | Browse the model registry, enable or disable models, filter by provider, and view context windows and pricing tiers |
| Catalog → Providers | Manage connections to AI providers, view provider status, configure credentials, and add new connections |
| MCP Servers | Manage the catalog of Model Context Protocol (MCP) servers available to Console users, configure authentication types, and view the tools each server exposes |
| MCP OAuth Clients | Create and manage OAuth client configurations for MCP servers that require OAuth-based authentication |
| Usage → Analytics | Organization-wide usage metrics across all users and API keys, with breakdowns by user, model, provider, and API key, time-range filtering, and cost analysis |
| Policies → Budgets | Budgets that track spend per user or team, with a billed vs passthrough spend overview; tracking comes first and enforcement is a separate opt-in |
| Announcements | Publish organization-wide notifications visible to Console users, with severity levels and scheduled publication dates |
| Users | View and manage all registered users, including roles, last sign-in timestamps, and activity |
| API Keys | Admin-level view of all API keys across Agent Router (key owners, creation dates, and last-used timestamps) with the ability to revoke keys |
| Audit Logs | Tamper-resistant chronological history of all administrative actions, filterable by user, action type, resource, and time range |
| Settings | Configure OIDC single sign-on with the corporate identity provider, and view or configure deployment instance settings |

### Read the Home page of the Admin Console

The Home page refreshes on each load and displays five organization-wide metrics:

| Metric | Description |
| :---- | :---- |
| Total Users | Number of registered users across Agent Router, regardless of current activity status |
| Total API Keys | Number of API keys created, both active and revoked, giving a sense of total credential issuance |
| Total Requests | Cumulative count of requests routed through the gateway; **Usage → Analytics** provides time-range breakdowns |
| Active Models | Number of models currently enabled for Console users; disabled models do not appear in the Console |
| Provider Status | Summary of connected AI providers and whether each connection is healthy and reachable |

The Home page also provides shortcuts to the most common administrative tasks: jumping to **Catalog → Models** to enable or disable models, to Users to review registered accounts, to **Usage → Analytics** for organization-wide consumption data, and to Audit Logs to inspect recent administrative actions.

## Step 1: configure the provider

Providers are the upstream services the gateway is allowed to reach. Each provider entry carries the credentials and endpoint information for one external AI service.

1. Sign in to the Admin Console.
1. Open **Catalog → Providers** from the sidebar.
1. Review the existing provider list. Each entry shows the provider name, current status (Active or Inactive), the number of models the provider exposes, and the timestamp of the last successful health check.

    ![Catalog → Providers](/img/screenshots/agent-router-enterprise/guides/operate-and-govern/manage-models-and-providers/providers-management.jpeg)

1. Click **Add Provider** at the top of the list.
1. Select the provider type from the dropdown. The supported set grows over time:

    | Provider | Models exposed |
    | :---- | :---- |
    | OpenAI | GPT-4o, GPT-4o mini, o1, o3, and other OpenAI models |
    | Anthropic | Claude Opus, Sonnet, and Haiku families |
    | Google | Gemini 2.0 Flash, Gemini 2.5 Pro, and other Google AI models |
    | Azure OpenAI | Azure-hosted OpenAI models with enterprise Azure credentials |
    | Mistral | Mistral Large, Medium, and other Mistral models |
    | Cohere | Command R, Command R+, and Cohere embeddings |
    | Together | Open-source models hosted on Together AI infrastructure |
    | Perplexity | Perplexity search-augmented models |

1. Enter the required credentials. The exact fields depend on the provider: a single API key for OpenAI and Anthropic; an endpoint URL and a key for Azure OpenAI; deployment-specific values for self-hosted backends.
1. Click **Save**.
1. Agent Router verifies the connection. A successful verification flips the provider's status to **Active**; a failure leaves it at **Inactive** with diagnostic detail in the row.

A common cause of an immediate **Inactive** status is a credential pasted with leading or trailing whitespace, which the provider rejects without any visible cause. Re-pasting from a known-good source is the fastest first fix.

### Field reference: provider list

Each entry in the provider list carries the following columns:

| Column | Description |
| :---- | :---- |
| **Provider Name** | The provider identifier |
| **Status** | Active (connected and healthy) or Inactive (disconnected or credentials invalid) |
| **Models** | Number of models available through this provider |
| **Last Verified** | Timestamp of the most recent successful connection check |

Provider status is checked periodically and on each configuration change. An **Inactive** status may indicate expired API keys, network issues, or provider-side outages; the **Last Verified** timestamp shows when the connection was last confirmed healthy.

### Private provider connectivity

For deployments where compliance or performance requirements demand that provider traffic stay on the cloud backbone rather than traversing the public internet, the endpoint URL field can be set to a private-link address (Azure Private Link, AWS PrivateLink, or GCP Private Service Connect), and the data plane reaches the provider over that private connection.

Agent Router configures only the URL it dials. The underlying private endpoint (DNS, routing, and network policy) is configured at the cloud level beforehand, and the value entered here references the result of that work. For the architectural detail on this setup, see [Architecture overview](/product-architecture/architecture-overview/).

## Step 2: enable models for the provider

Once a provider's connection is healthy, the models it exposes appear in **Catalog → Models**. Enablement is an explicit step; models are not visible to developers until enabled.

1. Open **Catalog → Models** from the sidebar.
1. Review the model list. Each row shows the model identifier, the provider, the context window size, the pricing tier, and the current enabled/disabled status.
1. Use the search box to find a model by name, or the provider filter to narrow the list. Both work in real time.
1. Click any model row to open its detail view with the full model information, then close the detail view to return to the list.
1. Locate a model that should be exposed and toggle its **Status** switch to enabled.

![Catalog → Models](/img/screenshots/agent-router-enterprise/guides/operate-and-govern/manage-models-and-providers/models-management.jpeg)

A newly enabled model appears in the Catalog in the Console immediately. Developers whose key policies target it can start sending requests right away.

### Field reference: model list

Each row in the model list carries the following columns:

| Column | Description |
| :---- | :---- |
| **Model Name** | The model identifier (e.g., `gpt-4o`, `claude-sonnet-4-20250514`, `gemini-2.0-flash`) |
| **Provider** | The AI provider that serves the model |
| **Context Window** | Maximum token context length supported by the model |
| **Pricing Tier** | Cost classification for the model |
| **Status** | Whether the model is enabled or disabled for Console users |

For larger provisioning passes (enabling everything from a new provider, retiring everything from a deprecated one), the bulk-action surface is faster than per-row toggling:

1. Select multiple models using the checkboxes on the left of each row.
1. Open the **Bulk Actions** dropdown at the top of the list.
1. Choose **Enable Selected** or **Disable Selected**.
1. Confirm the operation when prompted. The selected models all update at once.

:::tip
Enabling every model from every provider gives developers a confusing menu, complicates Request Logs and Usage analytics, and makes model-specific policy harder to enforce. Default to the smaller list: only the models the organization has decided to support.
:::

Disabling a model does not delete it from the registry, and re-enablement is immediate. Requests that target a disabled model receive an error indicating the model is unavailable.

### Configure model-level auto-fallback

A model's detail view exposes an **Autofallback** setting. When it is enabled and one or more fallback models are chosen, the data plane attaches that fallback chain to the model itself: if the model's primary provider returns a recoverable error, requests fall back to the chosen fallback model automatically. This is the operator-side, catalog-level counterpart to the per-key fallback policy developers configure in the Console.

The two differ in whose traffic the fallback protects:

- **Model-level auto-fallback** (this setting, in the Admin Console) applies to the model across **the organization catalog**. It is the right tool for organization-wide resilience that should not depend on each developer configuring their own key.
- **Per-key fallback** (configured developer-side in the Console, under [Improve resilience with fallbacks](/agent-router-service/guides/improve-resilience-with-fallbacks/)) applies only to the single API key it is attached to. A request sent with any other key does not inherit it, and falls through to the model's global route instead.

To enable it:

1. Open the model's detail view from **Catalog → Models**.
1. Turn on **Autofallback**.
1. Choose one or more fallback models, in priority order.
1. Save.

The fallback model must itself be **enabled** in the catalog (Step 2); a fallback entry that points at a disabled or unlisted model is skipped, leaving the chain shorter than intended. When the fallback provider differs from the primary (for example the same model served from a second region), confirm the fallback model resolves to the correct upstream identifier before relying on it, by sending a test request that forces the fallback path (see Step 3).

## Step 3: verify end-to-end through a developer-side request

A short end-to-end check from the developer surface confirms that the model is reachable from the gateway and that the credentials flow correctly.

1. Open the Console (a separate sign-in to the developer surface).
1. Create or reuse an API key with policies that target the newly enabled model. The mechanics are covered in [Route requests across providers](/agent-router-service/guides/routing-and-traffic-management/route-requests-across-providers/).
1. Send a test request through the gateway.
1. Confirm a successful response.
1. Return to the Admin Console.
1. Open **Usage → Analytics**. Within a short delay, the test request appears in the organization-wide usage view, attributed to the model and provider just provisioned.

If the request fails with an authentication error on the upstream side, the provider's credentials are the most likely cause; if the request fails because the model is unavailable, the enablement step has been missed or has not yet propagated. Both failure modes are distinguishable in the Console's Request Logs.

### A model that is enabled but not callable

Six distinct conditions present the same way: the model is enabled in the Admin Console, and a request for it fails. The error code the gateway returns is what separates them, so capture it before changing any configuration.

| Symptom | Condition | Resolution |
| --- | --- | --- |
| `400`, code `model_not_available` | The model is listed by `GET /v1/models` but its catalog entry is still propagating (data planes on 0.4.0 or later) | Retry. This clears on its own |
| `503`, code `model_not_ready` | The route exists but is not active yet. The response carries `Retry-After: 30` | Retry. This clears on its own |
| `404`, code `model_not_routed`, clearing within a minute | The change has not reached this data plane yet | Wait, then retry. See [Configuration propagation](/reference/configuration-propagation/) |
| `400`, code `model_not_found` | The model is enabled in the organization catalog but not assigned to the project the key belongs to. The gateway answers exactly as for a model that does not exist, so a caller cannot learn what another project holds | Assign it, see [Add providers and models to projects](/agent-router-enterprise/guides/operate-and-govern/manage-models-and-providers/add-providers-and-models-to-projects/) |
| `404`, code `model_not_routed`, persisting | The model is enabled and assigned, but no route for it is deployed on this data plane | Confirm the data plane serves the project and that the model's provider has deployed; see [Gateway behavior](/reference/gateway-behavior/#a-model-that-is-enabled-but-not-yet-routable) |
| `404` or an upstream authentication error, no model behind the provider working | The provider has no working credential, so no backend exists for its routes to point at | Set or rotate the credential on the provider entry |

Work through it in this order:

1. **Read the error code**, not just the status. The bodies are listed in [Gateway behavior](/reference/gateway-behavior/#a-model-that-is-enabled-but-not-yet-routable).
1. **Call `GET /v1/models` with the same key.** It returns what that key can actually reach on that data plane, which is the authoritative answer and frequently disagrees with the catalog count. A model absent from that list is not callable, whatever the Console shows.
1. **Check the provider before the model.** One missing credential takes out every model behind it at once, which reads as a catalog-wide failure rather than a provider one. The failure stops at that provider: since 0.5.0 an unreadable credential no longer stalls route deployment for other providers, so the affected provider stays on its last deployed configuration and is picked up again once its credential is readable, while every other provider keeps updating normally. On earlier data planes, one unreadable credential could hold up route updates for unrelated providers too.
1. **On a self-hosted data plane, run `tetrate agentrouter doctor`.** Routes that reference a backend that does not exist are the signature of the credential case. See [Reading tetrate agentrouter doctor output](/reference/tetrate-cli/doctor/).

## Step 4: operate the provisioned layer

Recurring operations use the same screens as the initial setup. Releasing and retiring models can be automated: [Keep the model catalog current](/agent-router-enterprise/guides/operate-and-govern/manage-models-and-providers/keep-the-model-catalog-current/) reconciles the deployment against Tetrate's published catalog, disabling retired models and picking up new ones and price changes.

### Rotate provider keys

Provider keys are rotated on a schedule, after a suspected compromise, or when a contract migrates to a new account.

1. Open **Catalog → Providers**.
1. Click the provider row to open its configuration.
1. Update the credential fields with the new value.
1. Click **Save**.
1. Confirm that the status remains **Active** after re-verification.

The rotation takes effect on the next request. In-flight requests that were authorized with the old credential complete with it; subsequent requests use the new one. There is no service restart and no downtime window.

Since 0.4.0, **changing a provider's authentication type revokes the credential the provider previously held**: the stored key and the policies that inject it are removed from the data plane on the next configuration push, with no action needed beyond making the change. On earlier releases the stored key kept authenticating managed traffic after such a change, with nothing in the Console to show it was still live, so retiring a key on an older release means also revoking it on the provider side.

### Remove a provider configuration

Retiring a provider (contract ended, account consolidation, or provider deprecated) ends with a single delete, after the provider's models are gone.

1. Delete every model registered under the provider, and revoke any Bring Your Own Key (BYOK) keys registered for it.
1. Open the provider's actions menu and select **Delete**.
1. Type `DELETE` and confirm.

The delete is refused while the provider still has models or BYOK keys, or while it is the only provider of a project that still has model assignments. The dialog then stays open and shows a message naming the blocker, listed in [Console messages and states](/reference/console-messages/#a-refused-provider-delete). Any key policy that targeted the removed models falls through to its configured fallback, if one exists, or fails with an unavailable-model error otherwise. Before removing a provider that is actively serving traffic, scan the Console-side key policies and reroute or retire any that depend on it.

### Add new model versions

A new provider model version appears in **Catalog → Models** once the provider's catalog is refreshed. Agent Router never enables new models on the operator's behalf; enabling is a separate step:

1. Locate the new model in the list.
1. Review its context window and pricing tier.
1. Toggle its status to enabled.
1. Coordinate with the developer side, through internal communication or through the [Communicate with Agent Router users](/agent-router-enterprise/guides/operate-and-govern/communicate-with-platform-users/) flow, so that developers know the model is available.
1. Optionally pair the introduction with a canary rollout on the developer side, using the patterns from [Apply advanced routing rules](/agent-router-service/guides/routing-and-traffic-management/apply-advanced-routing-rules/).

Where to go next

With the catalog in place, grant models to a project, then onboard keys and apply spend controls as needed.

  <Link to="/agent-router-enterprise/guides/operate-and-govern/project-and-data-plane-management/create-a-project/" className="tare-nav-card">
    Create a project and grant models
    Grant catalog models to a project so its gateway can route to them.
  </Link>
  <Link to="/agent-router-enterprise/guides/operate-and-govern/manage-models-and-providers/provision-models-via-api/" className="tare-nav-card">
    Provision models via API
    Automate provider, credential, model, and project assignment through the Catalog API.
  </Link>
  <Link to="/agent-router-enterprise/guides/operate-and-govern/onboard-developers-and-issue-keys/" className="tare-nav-card">
    Onboard developers and issue keys
    Make the provisioned models reachable to developer accounts.
  </Link>
  <Link to="/agent-router-enterprise/guides/operate-and-govern/manage-models-and-providers/provisioning-aws-bedrock-models/" className="tare-nav-card">
    Provision AWS Bedrock models
    Configure AWS Bedrock as an AI model provider with region-specific endpoints.
  </Link>
