Claude-compatible API gateway
Keep your tools. Change one URL.
One API key for Claude Code and any client that speaks the Anthropic or OpenAI request format.
Project8 is an independent gateway built on third-party AI models. Not affiliated with or endorsed by Anthropic. Claude is a trademark of Anthropic.
POST https://api.project8.app/v1/messages
x-api-key: p8-••••••••••••
{
"model": "claude-sonnet-4-6",
"max_tokens": 256,
"stream": true,
"messages": [
{ "role": "user",
"content": "Reverse a string in Python." }
]
}HTTP/1.1 200 OKevent: message_startevent: content_block_delta"Use slicing: def reverse(s): return s[::-1]. It returns a new string and leaves the original alone."event: message_stop
01
Compatibility
| Base URL | https://api.project8.app |
|---|---|
| Anthropic format | POST /v1/messages, with streaming and tool use |
| Token counting | POST /v1/messages/count_tokens |
| OpenAI format | POST /v1/chat/completions |
| Model list | GET /v1/models |
| Authentication | x-api-key header or Authorization: Bearer |
| Key format | p8- followed by a random secret |
| Built-in tools | Web search and image input, where your plan and server provide them |
02
Set up in 3 steps
1
Create an account
Sign up with your email and choose a plan.
2
Copy your key
It appears in your console once the payment is confirmed.
3
Change the base URL
Run npx project8-cli, or set up your tool below.
npx project8-cli
- Run npx project8-cli and paste your key, or edit the settings file yourself.
- The VS Code extension for Claude Code reads the same file.
- Restart Claude Code.
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "YOUR_API_KEY",
"ANTHROPIC_BASE_URL": "https://api.project8.app",
"CLAUDE_CODE_AUTO_MODE_SERVER": "0"
}
}03
Compatible model IDs
| Compatible model ID | Context |
|---|---|
| claude-fable-5-2 | 1M |
| claude-fable-5-1 | 1M |
| claude-fable-5 | 1M |
| claude-opus-5-5 | 1M |
| claude-opus-5 | 1M |
| claude-sonnet-5-5 | 1M |
| claude-sonnet-5 | 1M |
| claude-haiku-5-5 | 200K |
| claude-opus-4-8 | 1M |
| claude-opus-4-7 | 1M |
| claude-opus-4-6 | 1M |
| claude-sonnet-4-6 | 1M |
| claude-opus-4-5 | 200K |
| claude-sonnet-4-5-20250929 | 200K |
| claude-haiku-4-5-20251001 | 200K |
| claude-opus-4-1-20250805 | 200K |
| claude-opus-4-20250514 | 200K |
| claude-sonnet-4-20250514 | 200K |
These are IDs your client can send. The gateway routes each one to a compatible third-party model; an ID does not mean the request is served by Anthropic’s model of that name.
04
Pricing
Pro Plan
$12 USD
- Term
- 1 month
- Requests per minute
- 60
- Payment
- One-time, no auto-renewal
- Notes
- 5,000,000 tokens per 5-hour window for 30 days. 60 requests per minute.
5x Plan
$35 USD
- Term
- 1 month
- Requests per minute
- 60
- Payment
- One-time, no auto-renewal
- Notes
- 7,000,000 tokens per 5-hour window for one month. 60 requests per minute.
20x Plan
$59 USD
- Term
- 1 month
- Requests per minute
- 60
- Payment
- One-time, no auto-renewal
- Notes
- 30,000,000 tokens per 5-hour window for one month. 60 requests per minute.
| Plan | Pro Plan$12USD | 5x Plan$35USD | 20x Plan$59USD |
|---|---|---|---|
| Term | 1 month | 1 month | 1 month |
| Requests per minute | 60 | 60 | 60 |
| Payment | One-time, no auto-renewal | One-time, no auto-renewal | One-time, no auto-renewal |
| Notes | 5,000,000 tokens per 5-hour window for 30 days. 60 requests per minute. | 7,000,000 tokens per 5-hour window for one month. 60 requests per minute. | 30,000,000 tokens per 5-hour window for one month. 60 requests per minute. |
Payments are processed by Creem. Any applicable tax is shown at checkout. See the refund policy and terms.
05
Questions
What is Project8?
An API gateway that accepts the Anthropic and OpenAI request formats. You get one key, change the base URL to https://api.project8.app, and keep your tools.
Are the answers from Anthropic’s Claude models?
No. Project8 is an independent gateway built on third-party AI models. The claude-* IDs are compatibility names that your client can send; the gateway routes each one to a compatible third-party model. Not affiliated with or endorsed by Anthropic. Claude is a trademark of Anthropic.
How does the token budget work?
Each plan gives a key a token budget per 5-hour window. The window starts with your first request and the budget returns when it ends. Non-cached input and output tokens count, and some model IDs count at a higher rate than others. When the budget is used up, requests are refused until the window resets.
Do plans renew automatically?
No. A plan is a one-time payment for a fixed term. Renew or upgrade from your console when you want to.
Can I share my key?
No. A key is for one person, on up to 5 devices at the same time unless your key shows another limit. Keys used on more devices are treated as shared and suspended without refund.
More answers in the full FAQ.