API access to Claude and ChatGPT models
For Claude Code, Claude Desktop, Codex and your own apps
Set up in three steps
- 01
Create your account and keys
One key for each person or service. Claude and ChatGPT keys draw on the same balance.
- 02
Connect your local client
Put a Claude key in Claude Code or Claude Desktop, or a ChatGPT key in Codex.
- 03
Call the API from your server
Both the Anthropic and OpenAI formats work. Usage comes out of your balance; top-ups start at $10.
Pay as you go, or VIP for company teams
Claude and ChatGPT share one balance. Claude VIP and ChatGPT VIP are bought separately.
Pay as you go
No monthly fee
For personal or light use. Top up and pay for the tokens you use; Claude and ChatGPT share the same balance. Fable models are not included.
Sign up freeClaude VIPFor company teams
Usage at the VIP price: 1/5 of the standard price
- Fable models included
- Dedicated servers
- A support group with a named contact (WeChat or Feishu)
- A higher concurrency limit
- Faster responses
The monthly fee is separate; usage is charged from your balance at the VIP price.
Claude model prices
Multiplier 0.5x · VIP pays 1/5Prices are per million tokens. In each cell, the top figure is what you pay and the struck-through one below is the official Anthropic price; you pay the official price × the multiplier. Prices are in balance credit: each US$1 you pay adds $7, so $1 of credit is worth ¥1.
| Model | Context | Input | Output | Cache write | Cache read | Multiplier |
|---|---|---|---|---|---|---|
| Claude Opus 5.5claude-opus-5-5 | 1M | $2$4 | $10$20 | 0.5x | ||
| Claude Fable 5.2VIP onlyclaude-fable-5-2 | 1M | $4$8 | $20$40 | 0.5x | ||
| Claude Fable 5.1VIP onlyclaude-fable-5-1 | 1M | $5$10 | $25$50 | 0.5x | ||
| Claude Sonnet 5.5claude-sonnet-5-5 | 1M | $1$2 | $5$10 | 0.5x | ||
| Claude Haiku 4.5claude-haiku-4-5 | 200K | $0.5$1 | $2.5$5 | 0.5x |
What you actually pay
In real money, pay-as-you-go costs 7.1% of the official Anthropic price (about 1/14). VIP costs 1.4% (about 1/70), plus the VIP monthly fee.
- Official Anthropic priceUS$8.70
- RoamAI pay-as-you-goUS$0.62
- RoamAI VIPUS$0.12
Each request is counted as 200K cache-read tokens, 5K cache-write, 500 input and 1K output, which is typical for Claude Code. One message in Claude Code usually takes several requests, one for each step such as reading or editing a file. Amounts are in US$; US$1 buys $7 of credit.
Pay as you go
No monthly fee
For personal or light use. Top up and pay for the tokens you use; Claude and ChatGPT share the same balance. Fable models are not included.
Sign up freeChatGPT VIPFor company teams
Usage at the VIP price: 1/5 of the standard price
- A dedicated ChatGPT channel
- Set up within 24 hours of payment
Each higher tier comes with a larger usage allowance. Not sure which fits? Contact us. The monthly fee does not include usage; usage is charged from your balance at the VIP price. Plus a payment processing fee: 3% by card, 2.9% + $0.30 with WeChat Pay or Alipay.
ChatGPT model prices
Standard 0.2x · VIP 0.04xPrices are per million tokens. In each cell, the top figure is what you pay and the struck-through one below is the official OpenAI price. The standard price is the official price × 0.2x; the VIP price is the official price × 0.04x. Prices are in balance credit: each US$1 you pay adds $7, so $1 of credit is worth ¥1.
| Model | Input | Output | Cache read | Multiplier |
|---|---|---|---|---|
| GPT-6 Astragpt-6-astra | $2$10 | $10$50 | 0.2x | |
| GPT-6.1 Solgpt-6.1-sol | $0.4$2 | $2$10 | 0.2x | |
| GPT-6.1 Terragpt-6.1-terra | $0.2$1 | $1$5 | 0.2x | |
| GPT-6 Lunagpt-6-luna | $0.02$0.1 | $0.1$0.5 | 0.2x | |
| GPT-5.6 Solgpt-5.6-sol | $1$5 | $6$30 | 0.2x | |
| GPT-5.6 Lunagpt-5.6-luna | $0.04$0.2 | $0.24$1.2 | 0.2x |
What you actually pay
In real money, the standard price is 2.9% of the official OpenAI price (about 1/35). The VIP price is 0.6% (about 1/175), plus the VIP monthly fee.
- Official OpenAI priceUS$15.00
- RoamAI standard priceUS$0.43
- RoamAI VIP priceUS$0.09
Each request is counted as 120K cache-read tokens, 1.5K input and 300 output, which is typical for a request from Codex. One task in Codex usually takes many requests, one for each step such as reading a file or running a command. Amounts are in US$; US$1 buys $7 of credit.
ChatGPT image generation
Image models such as gpt-image-2 are billed per image on /v1/images/generations and /v1/images/edits, at the same price for every quality level. The price depends on the output size: 1K up to 1024 px on the longest side, 2K up to 2048 px, 4K above that; when the size is unknown it counts as 2K. Image generation called as a tool from Codex or /v1/responses is billed per token instead.
| Size | Standard / image | VIP / image |
|---|---|---|
| 1K (≤1024 px) | $0.03 | $0.006 |
| 2K (≤2048 px) | $0.05 | $0.01 |
| 4K | $0.1 | $0.02 |
For comparison, OpenAI bills gpt-image-2 per token: a 1024×1024 image costs about $0.006 at low quality, $0.053 at medium and $0.211 at high (OpenAI list prices, October 2026). Our prices above are in balance credit, where $1 of credit is worth ¥1.
ChatGPT is turned on per workspace. Sign up, then contact us and we will turn it on.
Setup guides
All posts →- Claude Code 529 Overloaded, 429 and 500 errors
- Install Claude Code with npm when the install script fails
- Claude Code API errors: Invalid API key, Not logged in, 403
- ANTHROPIC_AUTH_TOKEN vs ANTHROPIC_API_KEY in Claude Code
- How to choose a Claude API relay: price and caching
- Use Claude Desktop with an API key in gateway mode
- Use Claude Code with an API key and a custom base URL
- Call the Claude API with the Anthropic or OpenAI SDK
- How to choose a Claude model and reasoning effort
Common questions
What is RoamAI?
- RoamAI is an API service for Claude and ChatGPT models. Create an API key in the console and use it in Claude Code, Claude Desktop, Codex or your own applications. Usage is charged per token from a prepaid balance. Company teams can add VIP for dedicated resources and lower usage prices.
How do I pay?
- Top up in the console under Top up & billing, with WeChat Pay, Alipay or a card. It shows up a few seconds after you pay. Pick $10 / $30 / $100 or enter $10–$1,000. Credit is counted at ¥1 = $1, so each US$1 you pay adds $7.
How do I start using ChatGPT models?
- Sign up, then contact us by email or WeCom and we will turn ChatGPT on for your workspace. A ChatGPT section then appears in the console, where you create ChatGPT keys. Usage is paid from the same balance as Claude.
Does the balance expire? Can I get a refund?
- The balance never expires. Paid top-ups are not refunded, and free credit cannot be refunded or cashed out. If we shut down, we refund what is left of what you paid. Risk notice: if the upstream provider suspends the dedicated resources behind your Claude VIP, the upstream cost is not refunded, and the service fee is refunded in proportion to the days not used.
What if my Claude VIP usage limit runs out?
- Change the API address in your client to the public address https://cc-public.roamai.cloud:18443 and keep the same key. Usage through the public address is charged at the standard price. The public address does not offer Fable and only accepts Claude Code and Claude Desktop. When your limit resets, switch back to your dedicated address for the VIP price.
Can I use a client that only speaks the OpenAI format?
- Yes. ChatGPT models use the OpenAI format (/v1/responses and /v1/chat/completions). For Claude models, add /v1 to the API address and use Chat Completions; streaming works, tool calls do not. If you need tools with Claude, use the Anthropic format (/v1/messages).
How many people should share a key?
- One each. Usage is counted and keys are turned off per key, so with a shared key you cannot tell who used what, or cut off one person when they leave.
Can I get an invoice?
- Yes, contact us and we will issue one. We do not take company bank transfers.
One account for Claude and ChatGPT
Create a key and use it in Claude Code, Claude Desktop, Codex or on your own servers.
Start using RoamAI