Skip to main content
The fastest way to see the gateway work: point the agent harness you already run at AI Reserve. Both take your 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.

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.

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.
Prefer to stay on one dependency? The official AI Reserve SDKs (Python & TypeScript) expose these same two wire formats nativelyclient.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.