Quick start
These four steps take about five minutes.
1. Sign up
Section titled “1. Sign up”Go to api.openpalm.ai and click Sign up in the top-right corner. You register with an email address, confirm it with a verification code, and complete a human-verification check.
The old address api.openpalmlab.com still works for now.
By signing up you agree to the Terms of Service and Privacy Policy.
2. Add funds
Section titled “2. Add funds”Open Wallet in the console (/wallet) and add funds with one of the online payment methods shown on the page. Your balance is held in US dollars (USD). If you have a redemption code, you can redeem it on the same page.
- Each request is charged against your balance based on actual usage. Every charge is listed on the Usage Logs page; see Usage logs.
- Your balance has paid, bonus and invite parts. The charging order, processing fees, check-in and redemption codes are covered in Wallet and top-ups. You can also use a subscription plan or earn quota through referral rewards.
- Per-model prices are on the pricing page. See Models and pricing for how billing works.
3. Create a token (API key)
Section titled “3. Create a token (API key)”Open API Keys in the console (/keys) and click Create API Key:
- Give it a name you will recognize, for example
laptop-claude-code. - Choose a group. If you are not sure, keep the default. The differences between groups are explained in Tokens and groups.
- Optionally set a spending limit, expiry date, model allowlist or IP allowlist. You can also leave all of these at their defaults.
- Save, then copy the token from the list. It is a string that starts with
sk-.
4. Send your first request
Section titled “4. Send your first request”Replace sk-xxxx with your token, and replace YOUR_MODEL with the name of any model on the pricing page that is available in your token’s group:
curl https://api.openpalm.ai/v1/chat/completions \ -H "Authorization: Bearer sk-xxxx" \ -H "Content-Type: application/json" \ -d '{ "model": "YOUR_MODEL", "messages": [{"role": "user", "content": "Hello, who are you?"}] }'If the response is JSON that contains choices, you are connected. If you get an error, see Troubleshooting.
Next steps
Section titled “Next steps”- All available endpoints: Endpoints and authentication
- Calling the API from code: OpenAI / Anthropic SDKs
- Using coding tools: Claude Code, Codex CLI
- Checking your remaining balance: Balance and usage
- Understanding balance, plans and billing: Wallet and top-ups, Subscription plans