Guides / 03
Guide 03 · API access

Fund the API, limit risk, then make the key.

Bind Billing with an authorized payment card, set a spend boundary, generate the credential once and prove it with a minimal request.

15–25 MINBILLING FIRSTSECRET SAFE
billing批准后再发钥匙只展示一次先设上限
01

Open the correct API Console

The API Console is separate from the consumer chat subscription. Check the domain and organization before adding money or creating credentials.

OpenAI API

Platform Console

Manage API Billing, projects, usage and keys.

Open OpenAI Platform
Anthropic API

Claude Console

Manage Claude API workspaces, Billing and keys.

Open Claude Console
02

Bind Billing and set the spending boundary

Use a physical or virtual card that you are authorized to use. Enter it only in the provider’s official checkout, then configure prepaid credit or usage controls offered by the platform.

OpenAI Billing

Prepaid Billing guide

Official instructions for credits, auto recharge, thresholds and monthly limits.

Read official guide
OpenAI Billing

Billing overview

Open your organization Billing page and confirm the correct organization.

Open Billing overview
!
Check auto recharge
Do not accept the default blindly. Set a threshold, recharge amount and monthly ceiling you can afford, or turn auto recharge off.
03

Create a project key and save it once

Create the key inside the project that will use it. Give it a descriptive name, copy it immediately to a password manager, and never paste it into AGG support chat.

OpenAI credential

API keys

Create and revoke project credentials.

Open API keys
Anthropic credential

API keys

Create and manage Claude Console keys.

Open API keys
i
Secret handling
Show only the last four characters when identifying a key. If a full key appears in a screenshot, ticket or public repository, revoke it and create a new one.
04

Test without exposing the credential

Store the key as an environment variable, then use the provider’s official quickstart request. Paste only the non-secret response or error into support.

POWERSHELL · OPENAI KEY
$env:OPENAI_API_KEY="paste-your-key-locally"
POWERSHELL · ANTHROPIC KEY
$env:ANTHROPIC_API_KEY="paste-your-key-locally"

API access completion check

0 of 4 checks complete.
Next route

Connect another model API

Use the local adapter only after the provider key works directly.

Open guide 04