> ## Documentation Index
> Fetch the complete documentation index at: https://glasser.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# glasser keys add

> 在本机保存 API Key。

## 用法

```bash theme={null}
glasser keys add -l <label> -k <key>
```

在本机保存 API Key。

## 选项

| 选项 | 说明 |
| - | - |
| `--label, -l` | API Key 的唯一标签 |
| `--key, -k` | 要保存的 API Key |

全局选项、JSON 模式、退出码和环境变量见 [CLI 约定](https://glasser.ai/docs/zh/cli.md#global-flags)。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.