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

# 开发环境和生产环境

> WaaS 2.0 API 开发环境和生产环境概览。

<Tip>
  即刻安装 [Cobo WaaS Skill](/developers/v2_cn/guides/overview/cobo-waas-skill)，在 Claude Code、Cursor 等 AI 开发环境中使用自然语言集成 WaaS API，显著提升开发效率 🚀
</Tip>

WaaS 2.0 API 提供了开发环境和生产环境。建议您先在开发环境中测试新功能，然后再将其部署到生产环境中。
如果您直接在官网注册免费试用，您当前已处于生产环境。无需切换到测试环境，您将均在正式环境中集成测试并正式使用。

|                 | **开发环境**                                                     | **生产环境**                                                                                 |
| --------------- | ------------------------------------------------------------ | ---------------------------------------------------------------------------------------- |
| 用途              | 用于功能开发、集成测试和问题调试的沙箱环境                                        | 用于实际业务运营的正式环境，处理真实用户交互和资产                                                                |
| API Base URL    | [https://api.dev.cobo.com/v2](https://api.dev.cobo.com/v2)   | [https://api.cobo.com/v2](https://api.cobo.com/v2)                                       |
| Cobo Portal URL | [https://portal.dev.cobo.com/](https://portal.dev.cobo.com/) | [https://portal.cobo.com/](https://portal.cobo.com/)                                     |
| 测试网             | 支持                                                           | 支持                                                                                       |
| 定价              | 免费使用                                                         | 付费使用。详情请参见[账单和支付介绍](https://manuals.cobo.com/cn/portal/bills-and-payments/introduction)。 |

<Warning>
  API Key 与环境绑定，**不可跨环境使用**。在开发环境（`portal.dev.cobo.com`）注册的 API Key 仅对开发环境的 API Host（`api.dev.cobo.com`）有效，生产环境同理。使用错误环境的 API Key 将返回 HTTP 401 / 错误码 2024，错误信息为 `Your API key is not registered in this environment. Development and Production environments use separate API keys.`。请在对应环境的 Cobo Portal 中注册 API Key。
</Warning>
