← All models

claude-opus-5

Anthropic · Text

Anthropic claude-opus-5

Pricing

Input/OutputPrice
Input$0.45 / 1M tokens
Output$2.25 / 1M tokens

How to call

from openai import OpenAI
client = OpenAI(base_url="https://getmodel.ai/v1", api_key="$GETMODEL_API_KEY")
resp = client.chat.completions.create(
    model="claude-opus-5",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Details

ProviderAnthropic
TypeText
Endpointsanthropic / openai

Related models