Integrations
Anthropic SDK with zurelay
Official Claude libraries for Python and TS. Made by Anthropic.
Model in the examples:
Set it up
- 1
Install the SDK:
pip install anthropicornpm install @anthropic-ai/sdk. - 2
Set the base URL to
https://api.zurelay.com, with no/v1. The SDK adds/v1/messagesitself. - 3
Use a Claude model ID. Other models answer on the OpenAI-compatible URL.
Configuration
app.py
import osfrom anthropic import Anthropicclient = 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)Both SDKs also read
ANTHROPIC_BASE_URL and ANTHROPIC_API_KEY from the environment.Questions, or something missing? Ask support in your dashboard or email support@zurelay.com.