Claude, from the OpenAI client you already have.
No Anthropic SDK and no second integration. Request anthropic/claude-3.5-sonnet from the same client as your OpenAI traffic. One request log, one cost dashboard, both providers.
$129/month SaaS. Bring your own model keys. No inference markup.
Three steps to connect.
Add an OpenRouter key
Claude runs through OpenRouter, so one key covers Anthropic, Google, and Meta models. Paste it in the ProxyLLM dashboard; it is encrypted with AES-256-GCM.
Point your SDK
Set the base URL to https://api.proxyllm.ai/v1 with your ProxyLLM key as the bearer. No Anthropic SDK, no second client library.
Request anthropic/ models
anthropic/claude-3.5-sonnet, anthropic/claude-3.5-haiku, anthropic/claude-3-opus. The slash in the model name tells the gateway to dispatch via OpenRouter.
Same client, different model name.
The anthropic/ prefix sends the request through your OpenRouter key.
from openai import OpenAI
client = OpenAI(
base_url="https://api.proxyllm.ai/v1",
api_key="pk_live_…", # your ProxyLLM key
)
r = client.chat.completions.create(
model="anthropic/claude-3.5-sonnet",
messages=[{"role": "user", "content": "Review this diff."}],
) Run your AI workloads on your ChatGPT subscription.
ProxyLLM runs OpenAI's Codex for you, signed in with your own ChatGPT account. Your apps call one OpenAI-compatible endpoint and the work bills to your flat plan instead of per-token API pricing.
Add Claude without adding a codepath.
Claude traffic runs on your own OpenRouter key with no inference markup. OpenAI-bound work has its own lane: Codex Hosted serves it from your flat ChatGPT subscription.