Skip to content

Drop-in API

Use Pod’s load-bearing promise is drop-in compatibility: you change one base URL and nothing else. Your token lives in the URL path; your existing API calls, SDKs, and tools work unchanged.

Client familyBase URL
Anthropic-compatiblehttps://api.usepod.ai/proxy/<token>
OpenAI-compatiblehttps://api.usepod.ai/proxy/<token>/v1

The proxy path mirrors the upstream API surface, so …/v1/chat/completions, …/v1/messages, …/v1/models, and streaming all behave as the underlying provider does.

Claude Code
ANTHROPIC_BASE_URL=https://api.usepod.ai/proxy/<token> claude
Cursor / OpenAI SDK
OPENAI_BASE_URL=https://api.usepod.ai/proxy/<token>/v1 cursor
OpenAI Python SDK
from openai import OpenAI
client = OpenAI(
base_url="https://api.usepod.ai/proxy/<token>/v1",
api_key="unused", # auth is the token in the base URL
)
resp = client.chat.completions.create(
model="gpt-5.5",
messages=[{"role": "user", "content": "hello"}],
)
print(resp.choices[0].message.content)

Every proxied response includes:

  • X-Balance-Remaining — your token’s remaining balance after this request.
  • X-Pod-Route — which path served the request (marketplace, BYOK relay, or centralized fallback).
  • The api_key your SDK requires is ignored — authentication is the token in the base URL. Use any placeholder.
  • Want to bound cost per request? See Spend controls.