---
title: "exo ai api-key create"
description: "Create an AI API key"
url: https://community.exoscale.com/reference/cli/exo/ai/api-key/create/
section: reference
last_updated: 2026-10-22
---
> For AI agents: the documentation index is at https://community.exoscale.com/llms.txt. Every page is available as markdown at `<page URL>index.md` or with `Accept: text/markdown`.

# exo ai api-key create

Create an AI API key from a registered model.

```bash
exo ai api-key create
   <name> \
   --model <name> \
   -z <zone>
```

Parameters:

* `<name>`: Name of the API Key
* `--model`: Optional models to grant access to (all by default). This parameter can be passed multiple times.
* `-z, --zone`: Exoscale zone where the deployment is created

### Related Commands

* [api-key](https://community.exoscale.com/reference/cli/exo/ai/index.md) - Manage AI API keys

