Anthropic · Reasoning
Claude Opus 4.8
anthropic/claude-opus-4.8
Claude Opus 4.8 is Anthropic's most capable generally available model in the Opus family.
Input Price / 1M Tokens
$5.75
Output Price / 1M Tokens
$28.75
Context Window
1M
VisionToolsReasoningLong Context
Python Example — anthropic/claude-opus-4.8
from openai import OpenAI
client = OpenAI(
base_url="https://relaystack-ai.vercel.app/v1",
api_key="sk-rs-your-key-here",
)
response = client.chat.completions.create(
model="anthropic/claude-opus-4.8",
messages=[{"role": "user", "content": "Hello from RelayStack!"}],
)
print(response.choices[0].message.content)