Skip to main content

Quick start

New to Guangji API? Follow these four steps. Already have a key? Go to client setup.

1. Sign in to Guangji API​

Open the Guangji API website and sign in. If you do not have an account, register and complete the verification requested on the page.

Enter the console. Check your available balance in the wallet, and use the payment methods shown there if you need to top up.

2. Create an API key​

Open API keys, sometimes called Tokens, and create a key. Give it a recognizable name, select the intended group, and set an appropriate spending limit.

Save and copy the complete key. See Create an API key.

Use the correct credential

Model requests use a key from the API keys page. The access token in your account profile is for account management; do not put it in a chat client.

3. Connect a client or your code​

SettingValue
API Base URLhttps://guangjiapi.top/v1 for tools expecting a full OpenAI-compatible base URL
API KeyThe complete key you just created
ModelA model ID copied from the Guangji API model marketplace

Some tools append /v1 themselves. Check the address guide before entering it.

4. Send a test message​

Select your model and send a short request. After receiving a response, check the model and cost in the console usage logs.

Test requests can incur charges

Check the current model price before testing, and start with a small request.

If there is no response, keep the error message and follow troubleshooting, or contact QQ support.

Search all documentation Tab to navigate · Enter to open · Esc to close