Anthropic
Claude Opus 5.5
anthropic/claude-opus-5.5
A text model for code analysis, architectural questions and long prompts.
POST /v1/chat/completions · Input and output tokens
API examples
Store the API key in an environment variable and reuse one idempotency key for retries of the same request.
1from openai import OpenAI2import os3 4client = OpenAI(5 base_url="https://api.anyllm.space/v1",6 api_key=os.environ["ANYLLM_API_KEY"],7 max_retries=0,8)9 10res = client.chat.completions.create(11 model="anthropic/claude-opus-5.5",12 max_tokens=1000,13 messages=[{"role": "user", "content": "Summarize the specification"}],14 extra_headers={15 "X-Max-Cost-Rub": "1.50",16 "X-Client-Reference": "project-01",17 "Idempotency-Key": "req-001",18 },19)