# Anthropic SDK with zurelay > Official Claude libraries for Python and TS. Made by Anthropic. Source: https://zurelay.com/docs/integrations/anthropic-sdk The examples use `claude-opus-5-5`. Any Claude model ID from [the models page](https://zurelay.com/docs/models) works. ## Set it up 1. Install the SDK: `pip install anthropic` or `npm install @anthropic-ai/sdk`. 2. Set the base URL to `https://api.zurelay.com`, with no `/v1`. The SDK adds `/v1/messages` itself. 3. Use a Claude model ID. Other models answer on the OpenAI-compatible URL. ## Configuration **Python** (`app.py`): ```python import os from anthropic import Anthropic client = Anthropic( base_url="https://api.zurelay.com", api_key=os.environ["ZURELAY_API_KEY"], ) message = client.messages.create( model="claude-opus-5-5", max_tokens=1024, messages=[{"role": "user", "content": "Hello"}], ) print(message.content[0].text) ``` **TypeScript** (`app.ts`): ```typescript import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic({ baseURL: "https://api.zurelay.com", apiKey: process.env.ZURELAY_API_KEY, }); const message = await client.messages.create({ model: "claude-opus-5-5", max_tokens: 1024, messages: [{ role: "user", content: "Hello" }], }); console.log(message.content); ``` > **Note:** Both SDKs also read `ANTHROPIC_BASE_URL` and `ANTHROPIC_API_KEY` from the environment. [Anthropic SDK’s own docs](https://platform.claude.com/docs/en/cli-sdks-libraries/overview)