Skip to content
project8

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.

Request / responseExample
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

Compatibility specification
Base URLhttps://api.project8.app
Anthropic formatPOST /v1/messages, with streaming and tool use
Token countingPOST /v1/messages/count_tokens
OpenAI formatPOST /v1/chat/completions
Model listGET /v1/models
Authenticationx-api-key header or Authorization: Bearer
Key formatp8- followed by a random secret
Built-in toolsWeb search and image input, where your plan and server provide them

02

Set up in 3 steps

  1. 1

    Create an account

    Sign up with your email and choose a plan.

  2. 2

    Copy your key

    It appears in your console once the payment is confirmed.

  3. 3

    Change the base URL

    Run npx project8-cli, or set up your tool below.

Setup wizard for Claude Code
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.
~/.claude/settings.json
{
  "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 IDs and their context windows
Compatible model IDContext
claude-fable-5-21M
claude-fable-5-11M
claude-fable-51M
claude-opus-5-51M
claude-opus-51M
claude-sonnet-5-51M
claude-sonnet-51M
claude-haiku-5-5200K
claude-opus-4-81M
claude-opus-4-71M
claude-opus-4-61M
claude-sonnet-4-61M
claude-opus-4-5200K
claude-sonnet-4-5-20250929200K
claude-haiku-4-5-20251001200K
claude-opus-4-1-20250805200K
claude-opus-4-20250514200K
claude-sonnet-4-20250514200K

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

US dollars. Each plan is a one-time payment for a fixed term.
  • 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.

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.