All models

Claude Opus 5

anthropic/claude-opus-5
textVisionFilesReasoning

Anthropic's flagship for demanding reasoning, coding and long-horizon agentic work — end-to-end software tasks, code review and bug finding. Text, image & file input, 1M context.

Pricing

Request / 1M
Response / 1M

Parameters

messagesrequired
reasoning_effortoff · low · medium · high · xhigh · max
temperature0–2
max_tokensoptional
streamtrue · false
image_urlimage (data: URL)
filePDF · DOCX · TXT · CSV · XLSX · PPTX (data: URL)

How to use via API

from openai import OpenAI
client = OpenAI(base_url="https://api.mixen.ai/v1", api_key="mxn-...")
resp = client.chat.completions.create(
model="anthropic/claude-opus-5",
messages=[{"role": "user", "content": "Привет"}],
reasoning_effort="low", # off · low · medium · high · xhigh · max
temperature=0.7,
max_tokens=1024,
stream=False,
)
print(resp.choices[0].message.content)
# Стриминг: stream=True — ответ приходит чанками
for chunk in client.chat.completions.create(
model="anthropic/claude-opus-5",
messages=[{"role": "user", "content": "Привет"}],
stream=True,
):
print(chunk.choices[0].delta.content or "", end="", flush=True)
Try in the botAPI docs