> ## 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 balance

> 查看余额并验证 API Key。

## 用法

```bash theme={null}
glasser balance
```

此免费请求返回三个金额：

| 金额 | 含义 |
| - | - |
| Balance | 工作空间中已结算的余额。 |
| Held | 为未完成 Run 预留的余额。 |
| Available | 余额减去预留金额，可用于新 Run。 |

退出码 `0` 表示 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.