Anthropic model
Claude Opus 5
claude-opus-5Latest Claude Opus. Deep reasoning, agentic coding, and 1M-token context.
Drop-in OpenAI compatibility
Use one model ID.
Python
from openai import OpenAI
client = OpenAI(
base_url="https://api.text-generator.io/v1",
api_key="YOUR_TEXT_GENERATOR_KEY",
)
response = client.chat.completions.create(
model="claude-opus-5",
messages=[{"role": "user", "content": "Hello"}],
)Resilient by default