---
title: "oz0 model alias set"
description: "Map an alias to models, in order of preference: the first an agent's needs and the tenant's data rules allow is its model, the rest its fallbacks."
canonical_url: "https://docs.oz0.ai/reference/cli/oz0/model/alias/set"
---
# oz0 model alias set

> Map an alias to models, in order of preference: the first an agent's needs and the tenant's data rules allow is its model, the rest its fallbacks.

For: Operators and developers looking up a command.

Map an alias to models, in order of preference: the first an agent's needs and the tenant's data rules allow is its model, the rest its fallbacks.

--effort gives a target the reasoning effort it runs at when neither the agent nor a mapping rule sets one: low, medium, high, xhigh, max. Without it, a target runs at the model's own default.

## Usage

```bash
oz0 model alias set <alias> <provider>/<model>... [flags]
```

## Flags

<table>
<thead>
  <tr>
    <th>
      Flag
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        --description
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      
    </td>
    
    <td>
      what it is for, for people
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --effort
      </code>
    </td>
    
    <td>
      stringArray
    </td>
    
    <td>
      
    </td>
    
    <td>
      a target's reasoning effort when the agent sets none, as &lt;provider>/&lt;model>=&lt;level> (repeatable)
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --tenant
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        default
      </code>
    </td>
    
    <td>
      tenant
    </td>
  </tr>
</tbody>
</table>

## Inherited flags

<table>
<thead>
  <tr>
    <th>
      Flag
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        --context
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        $OZ0_CONTEXT or &lt;config dir>/orchestrator-zero/context.json
      </code>
    </td>
    
    <td>
      CLI context file written by server init
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --log-level
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        info
      </code>
    </td>
    
    <td>
      log level: debug, info, warn or error
    </td>
  </tr>
</tbody>
</table>

See [all `oz0` commands](https://docs.oz0.ai/reference/cli/oz0) and the [global flags](https://docs.oz0.ai/reference/cli/oz0#global-flags).


## Sitemap

See the full [sitemap](https://docs.oz0.ai/sitemap.md) for all pages.
