SDK recipes
Runnable templates for each supported SDK. Drop the gateway base URL into an existing project, set one env var, run the snippet. The response carries the gateway's `X-Request-Id` header so you can correlate any result back to the routing decision in your dashboard.
OpenAI · Python
Drop-in `OpenAI(base_url=...)` swap with X-Request-Id correlation.
Read the recipe →OpenAI · Node
TypeScript client config with the gateway base URL plus retry config.
Read the recipe →Anthropic · Python
Anthropic SDK with `base_url` swap; pinned `claude-haiku-5-5`.
Read the recipe →Anthropic · Node
`@anthropic-ai/sdk` config with the gateway origin and Haiku pin.
Read the recipe →curl
Two-flag swap: `Authorization: Bearer` plus the gateway origin.
Read the recipe →LangChain · Python
`ChatOpenAI` and `ChatAnthropic` configured against the gateway.
Read the recipe →Cursor
Supported Cursor chat models, if your Cursor version accepts a custom base URL.
Read the recipe →Codex CLI
Custom `model_provider` in `~/.codex/config.toml` pointed at the gateway.
Read the recipe →Claude Code
`ANTHROPIC_BASE_URL` plus `ANTHROPIC_AUTH_TOKEN`; family-lock keeps Claude models on Anthropic by default.
Read the recipe →Try a snippet against your own workspace
Each link opens the matching example in Integrate; copy the snippet, set your key, run it, and use the returned X-Request-Id in Requests to see the routing decision, or send a test request from Integrate on a Team plan.