Anthropic
Opus 4.8
anthropic/claude-opus-4.8
Anthropic's most capable generally available Opus model, with reasoning support and a 1M-token context.
Pricing
| Input | $5.00per 1M tokens |
|---|---|
| Output | $25.00per 1M tokens |
| Cached input | $0.5per 1M tokens read from cache |
Specifications
| Context window | 1Mtokens |
|---|---|
| Max output | 66Ktokens |
| Provider | Anthropic |
| Capabilities | Vision · Reasoning · Function calling |
| Input types | text, image |
Use Opus 4.8
Point your existing OpenAI SDK at xKiro and pass anthropic/claude-opus-4.8 as the model. Nothing else in your code changes.
from openai import OpenAI
client = OpenAI(
base_url="https://api.xkiro.com/v1",
api_key="YOUR_XKIRO_KEY",
)
response = client.chat.completions.create(
model="anthropic/claude-opus-4.8",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Supported parameters
max_tokens · temperature · top_p · stop · frequency_penalty · presence_penalty · seed · stream · tools · tool_choice · response_format · structured_outputs · reasoning · include_reasoning
Related models
Call Opus 4.8 through the same endpoints you already use.
Get an API key