LLMsRelay/Docs
Back to dashboard

Claude API Gateway — Unified Access to All Claude Models

LLMsRelay API gateway provides unified access to Claude models via Anthropic-compatible and OpenAI-compatible endpoints. Choose Basic or Pro for Claude models.

TL;DR

LLMsRelay acts as an API gateway for Claude models — providing both Anthropic-native and OpenAI-compatible endpoints. Use a Basic or Pro key for Claude models; use a Codex key for OpenAI/GPT models.

What Is a Claude API Gateway?

A Claude API gateway is a proxy service that routes your requests to Anthropic's Claude models while adding convenience features: dual-format endpoints (Anthropic + OpenAI), instant signup, credit-based billing, and crypto payments.

The account balance is shared across keys. The key group determines the model family: Basic/Pro for Claude and Codex for OpenAI/GPT.

Two Endpoints, Matching Key Groups

EndpointBase URLFormatBest For
Anthropic Messageshttps://api.llmsrelay.com/v1/messagesAnthropic SDKPython/TS Anthropic SDK, Claude Code
OpenAI Compatiblehttps://api.llmsrelay.com/v1OpenAI SDKCursor, VS Code, any OpenAI-compatible tool

Quick Examples

Anthropic Format

Anthropic-compatible requestbash
curl https://api.llmsrelay.com/v1/messages \
  -H "x-api-key: YOUR_API_KEY" \
  -H "content-type: application/json" \
  -H "anthropic-version: 2023-06-01" \
  -d '{
    "model": "claude-sonnet-4.6",
    "max_tokens": 256,
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

OpenAI Format

OpenAI-compatible requestbash
curl https://api.llmsrelay.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-4.6",
    "max_tokens": 256,
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Why Use a Gateway?

  • No instant access or approval — sign up and get your API key in minutes
  • OpenAI-compatible — use Claude in any tool that supports OpenAI format
  • Flexible credit billing — one-time usage packs with no recurring charge
  • Crypto paymentspay with Bitcoin, ETH, USDT — no credit card needed
  • Global accessavailable worldwide, no regional restrictions
  • Same models — Claude Opus 4.7, Sonnet 4.6, Haiku 4.5 at identical per-token rates

Gateway vs Direct Anthropic API

FeatureLLMsRelay GatewayAnthropic Direct
SignupInstantMay require approval
OpenAI-compatible endpoint✅ Yes❌ No
Credit card requiredNo (crypto accepted)Yes
Per-token pricingSame ratesSame rates
IDE supportCursor, VS Code, Claude CodeCursor, VS Code, Claude Code
Regional availabilityWorldwideLimited regions
Billing modelCredits (pay as you go)Monthly billing

Supported Tools & Integrations

Ready to start?

Create a key and configure a compatible API route in under 2 minutes.

View Plans