aireserve_api_… key with no code changes —
every request they make is metered and billed through your organization’s wallet.
Keep your existing code. The gateway speaks the provider-native wire formats directly, so
stock OpenAI and Anthropic SDKs and framework providers work unmodified
(and so do the Claude Code and Codex harnesses above) — change the
base URL, use your AI Reserve API key, keep everything else. Cross-provider calls are
bridged for you:
Claude models answer OpenAI-SDK calls and GPT models answer Anthropic-SDK calls, all
metered against the same key. (Teams on AWS Bedrock have an equally seamless path — see
Migrating from Bedrock and the
official AI Reserve SDKs.) Runnable versions of every snippet
in these guides live in examples/gateway/ in the repository.
The one gotcha — base URL suffix. OpenAI-flavored clients expect the
/v1 suffix on the base URL (they append
/chat/completions). Anthropic-flavored clients expect the host root without /v1 (they append /v1/messages
themselves). Each snippet shows the right form.Slack
Mention
@aireserve in any channel — every model, billed to your org’s wallet.Claude Code
Terminal harness on your key — environment variables only, plus the full 1M-token context.
Codex
Codex SDK and CLI over the OpenAI Responses format.
Cursor
Run the entire IDE — chat, agent mode, inline edits — through the gateway.
GitHub Copilot
Copilot Chat, agent mode, and the Copilot CLI on your key — one Custom Endpoint block, or org-wide via GitHub Enterprise.
Devin Desktop
Formerly Windsurf. Codex CLI and Claude Code run inside Devin as ACP agents — on your key.
Factory Droid
Droid CLI sessions on your key — one
customModels block, org-enforceable.Microsoft Office
Deploy Claude in Excel, PowerPoint, and Word, or connect through GPT for Work and automation.
Aider
The terminal pair programmer on your key — two environment variables.
Continue
IDE extensions and CLI on one
config.yaml models block.Goose
Block’s agent over either gateway dialect — one config.yaml block.
OpenCode
A custom-provider JSON block serves every gateway model.
OpenHands
CLI and agent server on three
LLM_* environment variables.Roo Code
The VS Code agent through the OpenAI Compatible provider.
OpenAI SDK
The official
openai package, Vercel AI SDK, and any OpenAI-compatible framework.Anthropic SDK
The official
anthropic package with a base-URL swap.AI Reserve Code CLI
A local, Claude-Code-style coding agent whose brain is your API key.
AWS SDK (boto3)
Unmodified
bedrock-runtime clients — override the endpoint and keep your code.AI Reserve SDKs
Five official SDKs — Python, TypeScript, Go, Java, Rust — with the exact Converse surface.
MCP server
Give your agents account operations — catalog, analytics, key and team management — over one hosted MCP endpoint.
client.chat.completions.create(...) and
client.messages.create(...) on the AI Reserve client.
Model discovery
GET /v1/models returns the OpenAI-shaped model list, so SDK and framework
discovery calls (client.models.list(), LangChain provider probes) work out of
the box. Anthropic-native clients can also call
POST /v1/messages/count_tokens for free token counting.
Guides for end users
Not writing code? These walkthroughs set up desktop apps on your organization’s key.Getting Started with Claude Desktop
Install and sign in to Claude Desktop through AI Reserve.
Getting Started with ChatGPT Work
Set up ChatGPT with your organization’s workspace.