> For the complete documentation index, see [llms.txt](https://docs.console.zenlayer.com/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.console.zenlayer.com/welcome/ai-gateway/manage-model-access.md).

# Manage Model Access

Model Access lets a team administrator control which models the AI Gateways in a resource group can use. You set it once per resource group, and every AI Gateway in that group follows it: members who create or edit an AI Gateway in the group can only choose from the models allowed here.

{% hint style="info" %}
Changing model access requires administrator permission. Without it you can still view the list, but **Manage** is disabled.
{% endhint %}

## How It Works

* **Standard models** are allowed by default. A resource group with no restriction can use every standard model, and providers or models added to the Model Catalog later are allowed automatically.
* **Restricted models** may have extra terms or compliance conditions. They are never allowed automatically. You check each restricted model you want a resource group to use.
* When a member creates an AI Gateway in the resource group, the model picker shows only the models allowed here; anything not allowed is not listed. Within that scope, the member can still narrow the gateway's own model list with **Custom Access**. See **Configure Model Access** in [Create an AI Gateway](https://docs.console.zenlayer.com/welcome/ai-gateway/create-an-ai-gateway.md).

{% hint style="info" %}
Model access is set per resource group, not per AI Gateway. To give an AI Gateway a different set of models, move it to another resource group or narrow the list on the gateway itself with Custom Access.
{% endhint %}

## View Model Access

{% stepper %}
{% step %}

#### Open the Model Access List

Go to [**zenConsole**](https://console.zenlayer.com/) and log in with your account. On the left menu bar, go to **Products** > **GPU & AI** > **AI Gateway**, then click **Model Access** under **Models**.

The list shows every resource group in your team. You can search by resource group name.
{% endstep %}

{% step %}

#### Read the List

| Column                | What it shows                                                                                                                                                                                                               |
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Standard models**   | **All models** when the group has no restriction, otherwise the number of allowed providers. The line below tells you whether new providers are allowed automatically, and how many of the providers auto-allow new models. |
| **Restricted models** | The number of restricted models the group can use, or **None**.                                                                                                                                                             |
| **Last updated**      | When the group's model access was last changed.                                                                                                                                                                             |

Click the number in **Standard models** or **Restricted models** to see the providers and models behind it. A provider marked **Auto Update** also allows the models it adds later; **All models** in the Models column means every current model of that provider is allowed.
{% endstep %}
{% endstepper %}

## Change Model Access

{% stepper %}
{% step %}

#### Open Manage Model Access

In the row of the resource group, click **Manage**. The dialog applies to every AI Gateway in that resource group.
{% endstep %}

{% step %}

#### Set Standard Models

* **Auto-allow new providers**: turn it on to allow providers added to the Model Catalog later, with all their models, automatically.
* **Select providers and models**: check a provider to allow all of its current models, or expand the provider and check individual models. Use the search box to find a provider or model; the selected models are shown in the search box.
* **Auto-allow new \<provider> models**: open a provider and turn this on to allow the models it adds later automatically. The provider is then marked **Auto Update**. Turn it off to allow only the models you check; the provider is marked **Manual Update**.
  {% endstep %}

{% step %}

#### Set Restricted Models

Check each restricted model you want this resource group to use. Restricted models are never added automatically, even when **Auto-allow new providers** is on. The group can use a restricted model only after you check it.
{% endstep %}

{% step %}

#### Confirm

Click ***Confirm***. The new model access applies to every AI Gateway in the resource group.
{% endstep %}
{% endstepper %}
