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

# 创建 API 密钥

> 在 Teio 控制台创建 API 令牌，用于接入各类 AI 编程工具

在使用 Teio 的 API 之前，你需要先创建一个密钥（API Key）。密钥是你调用 API 的凭证，所有工具的配置都需要用到它。

## 创建步骤

1. 登录 [Teio](https://teio.me)，进入控制台
2. 在左侧菜单中点击 **API密钥**
3. 点击 **创建API密钥**
4. 填写密钥名称，方便后续辨识用途
5. 选择分组，分组决定了该密钥可调用的模型范围，详见 [模型与分组](/modelandgroup)
6. 点击 **提交**，系统会生成一个以 `sk-` 开头的密钥

创建API密钥，如下图

<Frame>
  <img src="https://mintcdn.com/cdhyzxwl/3at4I4OeMJZ1xw1A/images/Screenshot-2026-06-02-at-18-02-46.png?fit=max&auto=format&n=3at4I4OeMJZ1xw1A&q=85&s=a7000c77a4fe4963aba1d20c1ee3b346" alt="Screenshot 2026 06 02 At 18 02 46" width="2614" height="1193" data-path="images/Screenshot-2026-06-02-at-18-02-46.png" />
</Frame>

创建密钥，如下图

<Frame>
  <img src="https://mintcdn.com/cdhyzxwl/3at4I4OeMJZ1xw1A/images/Screenshot-2026-06-02-at-18-04-00.png?fit=max&auto=format&n=3at4I4OeMJZ1xw1A&q=85&s=a8f02960c6235785e4f1391645342bf0" alt="Screenshot 2026 06 02 At 18 04 00" width="2614" height="1195" data-path="images/Screenshot-2026-06-02-at-18-04-00.png" />
</Frame>

## 管理密钥

在 **API密钥** 页面，你可以：

* 查看已创建的密钥列表
* 查看每个密钥的用量和状态
* 禁用或删除不再使用的密钥

<Tip>
  建议为不同的工具创建独立的密钥，方便追踪用量和单独撤销。
</Tip>

## 接下来

密钥创建完成后，前往[首页](/introduction)选择你使用的工具完成配置。

<Tip>
  不确定用哪个工具或模型？新手可以从图形界面的 [Cherry Studio](/cherry-studio) 开始，模型与分组的对应关系见 [模型与分组](/modelandgroup)。
</Tip>

## 常见问题

<AccordionGroup>
  <Accordion title="分组选错了怎么办？">
    可以在密钥管理页面编辑密钥，修改分组后保存即可生效。
  </Accordion>

  <Accordion title="一个密钥可以同时用在多个工具中吗？">
    技术上可以，但建议为每个工具创建独立的密钥，方便单独追踪用量和撤销。
  </Accordion>
</AccordionGroup>
