All setup guides
Setup guide
Talos in Anthropic SDK
Point the Anthropic SDK at Talos and call any model through the Messages API.
- Format
- Anthropic Messages
- Base URL
- https://api.gettalos.xyz
- Models
- Any OpenRouter id. See them all
Steps
- Set
baseURLtohttps://api.gettalos.xyzand pass your Talos key. - Use any OpenRouter model id as
model, Claude or not. - Tools, images, prompt caching and streaming work as they do with Anthropic.
client.ts
import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic({ baseURL: "https://api.gettalos.xyz", apiKey: process.env.TALOS_API_KEY,}); const message = await client.messages.create({ model: "anthropic/claude-opus-5", max_tokens: 1024, messages: [{ role: "user", content: "Hello from Talos" }],});Highlighted lines are the ones you add or change. Put your own key where it says sk-talos-….
Python
client.py
import anthropicimport os client = anthropic.Anthropic( base_url="https://api.gettalos.xyz", api_key=os.environ["TALOS_API_KEY"],) message = client.messages.create( model="anthropic/claude-opus-5", max_tokens=1024, messages=[{"role": "user", "content": "Hello from Talos"}],)No key yet? Buy usage with USDC or HYPE and get one straight away.
Get a key