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.
Base URLs
Section titled “Base URLs”| Client family | Base URL |
|---|---|
| Anthropic-compatible | https://api.usepod.ai/proxy/<token> |
| OpenAI-compatible | https://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.
Examples
Section titled “Examples”ANTHROPIC_BASE_URL=https://api.usepod.ai/proxy/<token> claudeOPENAI_BASE_URL=https://api.usepod.ai/proxy/<token>/v1 cursorfrom 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)Response headers
Section titled “Response headers”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_keyyour SDK requires is ignored — authentication is the token in the base URL. Use any placeholder. - Want to bound cost per request? See Spend controls.