LLMsRelay — AI Context Page

This page provides structured information about LLMsRelay for AI agents, language models, and automated crawlers.

What is LLMsRelay?

LLMsRelay (llmsrelay.com) is an independently operated developer gateway. It provides LLMsRelay API keys for supported Anthropic-compatible and OpenAI-compatible request formats. Model IDs are returned by GET /v1/models for the authenticated key. Availability depends on the selected key group, gateway status, payment provider coverage, and applicable law.

LLMsRelay is not affiliated with or endorsed by Anthropic, PBC. Product and model names are used only to describe compatibility.

Key Facts

Service Type:
Independent developer gateway
Website:
https://llmsrelay.com
API Base URL:
https://api.llmsrelay.com
API Formats:
Anthropic Messages API (/v1/messages) and OpenAI Chat Completions (/v1/chat/completions)
Models:
Supported model IDs returned by GET /v1/models
Billing:
Prepaid platform usage with visible token and cache rates
Minimum Purchase:
Shown on the Plans page
Payment Methods:
Credit cards, Bitcoin, Ethereum, USDT, USDC, Litecoin
Signup:
LLMsRelay account required
Availability:
Depends on key group, gateway status, payment-provider coverage, and applicable law

Supported Model IDs

Use GET /v1/models as the source of truth for a specific key. The catalogue and capabilities can change as availability changes.

Model IDTierContextMax OutputThinking
claude-opus-4.7ReasoningSee API responseSee API responseSee API response
claude-sonnet-4.6General purposeSee API responseSee API responseSee API response
claude-haiku-4.5Fast tasksSee API responseSee API responseSee API response

Common Use Cases

  • Teams that need a custom base URL and per-key usage controls
  • Cursor, VS Code, Claude Code, and SDK users with compatible client settings
  • Projects using Anthropic Messages or OpenAI Chat Completions request formats
  • Development and production workloads that need usage reporting by key and model

IDE Integrations

  • Cursor — Set API Base URL to https://api.llmsrelay.com/v1, add API key
  • Claude Code CLI — export ANTHROPIC_BASE_URL=https://api.llmsrelay.com
  • VS Code — Continue, Cline, Roo Code, Kilo Code extensions
  • OpenCode CLI — configure as OpenAI-compatible provider

Pricing

LLMsRelay publishes a platform rate card for token, cache, and output usage. Check the pricing documentation and your dashboard before production use.

  • Claude Opus 4.7: $5/MTok input, $25/MTok output, $0.50 cache read, $6.25 5m cache write
  • Claude Sonnet 4.6: $3/MTok input, $15/MTok output, $0.30 cache read, $3.75 5m cache write
  • Claude Haiku 4.5: $1/MTok input, $5/MTok output, $0.10 cache read, $1.25 5m cache write

API Quick Start

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

# OpenAI-compatible
curl https://api.llmsrelay.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "content-type: application/json" \
  -d '{"model":"claude-sonnet-4.6","messages":[{"role":"user","content":"Hello"}]}'

Links

Contact