Skip to main content

Documentation Index

Fetch the complete documentation index at: https://runcrate.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Use anthropic/claude-4-sonnet on Runcrate with the same OpenAI-compatible interface you already know. One API key gives you Claude plus 170+ other models — switch between them by changing a single string. No separate Anthropic account, no separate billing.

Why use Claude through Runcrate

Direct Anthropic APIRuncrate
API formatAnthropic-specific SDKOpenAI-compatible (drop-in)
Models availableClaude onlyClaude + DeepSeek + Llama + Qwen + 170 more
API keysOne per providerOne key for everything
BillingSeparate per providerSingle credit balance
Switching modelsRewrite integration codeChange one string

Same code, different base URL

If you already use the OpenAI SDK, switching to Claude on Runcrate is a one-line change:
curl https://api.runcrate.ai/v1/chat/completions \
  -H "Authorization: Bearer rc_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-4-sonnet",
    "messages": [
      {"role": "user", "content": "Compare REST and GraphQL in three sentences."}
    ],
    "max_tokens": 256
  }'

Switch models without changing code

The real advantage: swap model and the rest of your code stays identical.
from openai import OpenAI

client = OpenAI(
    base_url="https://api.runcrate.ai/v1",
    api_key="rc_live_YOUR_API_KEY",
)

models = [
    "anthropic/claude-4-sonnet",
    "deepseek-ai/DeepSeek-V4-Pro",
    "meta-llama/Llama-4-Scout-17B-16E-Instruct",
]

for model in models:
    response = client.chat.completions.create(
        model=model,
        messages=[{"role": "user", "content": "What is the capital of France?"}],
        max_tokens=32,
    )
    print(f"{model}: {response.choices[0].message.content}")

Next steps