# 通过 Workspace 账号访问 Google AI Studio

全部 [Google Workspace](https://workspace.google.com) 默认情况下，用户可以访问 AI Studio。 AI Studio 也是用户管理 Gemini API 计费的主要场所。如果您是 Workspace 用户并且想要开始使用 AI Studio，请查看 [AI Studio 快速入门](/docs/ai-studio-quickstart).

## 问题排查  {% #troubleshooting %}

如果您的 Google Workspace 帐户禁用了对 AI Studio 的访问，您可能会看到如下错误：

`We are sorry, but you do not have access to Google AI Studio. Please contact your Organization Administrator for access.`

如果您认为您应该有权访问 AI Studio，请联系您的工作区管理员。

## 为 Workspace 用户启用 AI Studio  {% #enable-ai-studio %}

重要提示：本节适用于 Google Workspace 管理员。

作为 Google Workspace 管理员，您可以控制谁使用 AI Studio：

* 所有版本的 AI Studio 默认情况下都是打开的。

* 您可以为组织部门内或跨组织部门的用户组关闭或打开 AI Studio。

* Google Workspace 教育版：18 年龄以下的用户无法使用 Google Workspace 教育版账户使用 AI Studio。即使 AI Studio 设置打开也是如此。欲了解详情，请访问 [按年龄控制对 Google 服务的访问权限](https://support.google.com/a/answer/10651918).

{% callout type="note" %}
如果您关闭 AI Studio，用户将无法管理 Gemini API 的计费。
{% /callout %}

要为组织中的用户启用或禁用 AI Studio，请参阅 [为用户打开或关闭Google AI Studio](https://support.google.com/a/answer/15004095).

## 仅为管理 Gemini API 计费的用户打开 AI Studio  {% #billing-group %}

如果您不想为所有人打开 AI Studio，您可以仅为管理 Gemini API 计费的用户组打开它。

1. [创建一个群组](https://support.google.com/a/answer/167160) 在 [admin.google.com/ac/groups](https://admin.google.com/ac/groups) 并添加管理 Gemini API 计费的用户。
1. 打开 **安全性** 该组的标签。欲了解详情，请访问 [使用安全组控制对敏感数据的访问](https://support.google.com/a/answer/9468710).
1. 在管理控制台中，转到 [附加 Google 服务](https://admin.google.com/ac/appslist/additional)
   然后单击 **人工智能工作室** 然后 **服务状态**.
1. 在左边，在下面 **团体**，搜索并选择您创建的组。
1. 检查 **ON** 盒子。
1. 点击 **保存**.

![](https://www.gstatic.com/cloud-cms/0b387a2e93b19fe4e6bd41475b82d8de.png)
