---
title: "How to Use AGI Plan: Sign Up, Create a Key, Change One Setting"
description: "How to use AGI Plan: sign up with an email code, pick a plan and create an API key, then change one base URL in Claude Code, Codex, or Cherry Studio. Pay in RMB."
url: https://cdnping.org/en/blog/agiplan-getting-started
language: en
published: 2026-11-27
category: "Relays & gateways"
tags: ["AGI Plan","setup guide","Claude Code","Codex","Cherry Studio","API key"]
source: cdnping.org
license: Free to quote and summarize with a link to the url above.
---
# How to Use AGI Plan: Sign Up, Create a Key, Change One Setting

How do you use AGI Plan? Three steps: sign up with an email verification code, pick a plan and create an API key, then change the base URL and key in the tool you already use to AGI Plan's. You don't have to switch tools. Claude Code, Codex, and similar tools work as usual.

First, the relationship: AGI Plan is a commercial partner of cdnping. This article covers only what the AGI Plan team has stated publicly. For the exact page locations, setting names, and current plans, go by [agiplan.dev](https://agiplan.dev) and each tool's official documentation.

## What is AGI Plan, and what should you know first?

It is a multi-provider LLM aggregation gateway. You subscribe monthly, pay in RMB (Chinese yuan), and don't need an overseas credit card. One quota can be switched between different capability groups, and the gateway is compatible with both the OpenAI and Anthropic API formats.

Three things to understand before you pay:

- The AGI Plan team states plainly that it is not an officially authorized channel. If your situation requires an official account or official contract with a particular vendor, a gateway like this cannot replace it. See [Is AGI Plan an official Claude channel?](/en/blog/is-agiplan-official-claude-channel)
- Some models are labeled "overseas only." Which models are affected is listed at [agiplan.dev/models](https://agiplan.dev/models); for how to read the label, see [How to read AGI Plan's service regions and the "overseas only" label](/en/blog/agiplan-service-regions-model-labels).
- Whatever AI service you use, follow its terms of service and local regulations.

## How do the three steps work?

### Step 1: Sign up with an email code

Go to [agiplan.dev/startup](https://agiplan.dev/startup) and sign up with a verification code sent to your email. You don't need a Claude or ChatGPT account.

### Step 2: Pick a plan and create a key

There are currently four public plans: Lite ¥49/month, Plus ¥119/month, Pro ¥649/month, and Max ¥1,368/month. The four tiers differ only in quota, and annual billing is 20% off. Pay-as-you-go is also available: ¥1 = 500 CU, with a ¥20 minimum top-up. Prices are as listed at [agiplan.dev/pricing](https://agiplan.dev/pricing).

Quota is measured in CU: 1 CU equals 1,000 output tokens of the baseline model. To convert that into your own usage, see [What is an AGI Plan CU?](/en/blog/agiplan-cu-explained). To choose among the four tiers, see [How to choose an AGI Plan tier](/en/blog/agiplan-plans-lite-plus-pro-max).

Once the plan is active, create an API key in the console and copy it somewhere safe. A key is as sensitive as a password, so don't paste it into a public repository or a screenshot.

### Step 3: Change one setting in your tool

You only need to change two things: the base URL and the API key. Use the base URL shown in the AGI Plan console and tutorial pages. It isn't copied here, to avoid it going stale.

## Where does each tool keep these settings?

| Tool | What to change | Notes |
| --- | --- | --- |
| Claude Code | Base URL, key | Uses the Anthropic format; no Claude account needed. For variable names and how to set them, follow the Claude Code docs and AGI Plan's step-by-step tutorial |
| Codex | Base URL, key | Uses the OpenAI format; no ChatGPT account needed. For the config file syntax, follow the Codex docs and AGI Plan's tutorial |
| Cherry Studio | "API address" and "API Key" under a custom provider | UI labels may change between versions; go by what the app shows |
| Cline, Roo Code, Kilo Code, Cursor | Custom base URL and key | Works with any tool that lets you enter a base URL plus an API key |
| OpenCode, Pi, Hermes | Same as above | AGI Plan has step-by-step tutorials on its site |

For the thinking behind connecting Claude Code, start with [Can you use Claude Code without a Claude account?](/en/blog/claude-code-without-claude-account), which explains how the base URL approach works and where it falls short.

## How do you confirm it works?

1. Send a very short request from the tool, such as asking it to reply "ok", and see whether a response comes back.
2. If you get a 401 or an authentication error, first check that the key was copied in full, with no extra spaces or line breaks.
3. If you get a 404, the base URL path is most likely wrong. Some tools want the address to include a version path and some don't, so compare it character by character with the tutorial page.
4. If requests time out or are slow, open the [cdnping speed test](/en) to check your connection to the various API endpoints, then check [/en/status/agiplan](/en/status/agiplan) for platform-side problems.
5. To see whether the service as a whole is down, check [/en/down/agiplan](/en/down/agiplan).

For general network latency troubleshooting, see [How to read latency when accessing AI APIs from China](/en/learn/ai-api-latency-china).

## What does the AGI Plan team say about privacy and data?

According to its public statements, request bodies are not written to disk by default, and content is not used for training or resold. That is the provider's own statement, not a third-party audit finding. If you handle sensitive code or data, read the terms of service in full before you connect.

## Who is it for, and what should you do next?

It suits individual developers who want to keep using tools like Claude Code and Codex, would like to pay in RMB, and are fine with the gateway model. If your team has compliance requirements, such as an official contract or data processing in a specific region, evaluate official channels first.

A suggested order:

1. Read the explanation of the "overseas only" label first, and confirm the models you want are available.
2. Start with Lite or a small pay-as-you-go top-up, run a day or two of real work, and check whether CU consumption matches your expectations.
3. If you're satisfied, move up a tier or switch to annual billing.

When you're ready, start at [agiplan.dev/startup](https://agiplan.dev/startup).
