Apps built on the Anthropic Python SDK can switch to AIGate by changing only the base_url:
import anthropic
client = anthropic.Anthropic(
api_key="sk-aigate-...",
base_url="https://api.aigatecloud.com",
)
msg = client.messages.create(
model="quality",
max_tokens=1024,
messages=[{"role":"user","content":"Hello"}],
)AIGate translates the request to the OpenAI shape, runs it through the routing engine, and converts the response back to Claude's {content:[{type:"text",text:"…"}]} format. system prompts are honored, stop_reason is preserved.