← All models

Claude Opus 4.8 vs Claude Sonnet 4.6

Claude Opus 4.8 vs Claude Sonnet 4.6: Side-by-side API pricing and specs — call both with one OpenAI-compatible key on GetModel.

Claude Opus 4.8
Anthropic · Text

Claude Opus 4.8 is Anthropic's flagship model for complex reasoning, agentic workflows and coding. On getmodel it runs through a stable Claude Code Max pool or a low-cost Kiro pool, over both Anthropic-native and OpenAI-compatible endpoints.

View details →
Claude Sonnet 4.6
Anthropic · Text

Claude Sonnet 4.6 from Anthropic balances capability and speed for everyday coding and general tasks. On getmodel it runs through a stable Claude Code Max pool or a low-cost Kiro pool, over both Anthropic-native and OpenAI-compatible endpoints.

View details →

Pricing comparison

Claude Opus 4.8Claude Sonnet 4.6
Input / 1M tokens $0.442 $0.265 Cheaper
Output / 1M tokens $2.21 $1.33 Cheaper

Specifications

ProviderAnthropicAnthropic
TypeTextText
Endpointsanthropic / openaianthropic / openai

How to call

One API key calls both models — just change the "model" field.

from openai import OpenAI
client = OpenAI(base_url="https://getmodel.ai/v1", api_key="$GETMODEL_API_KEY")

# Claude Opus 4.8
client.chat.completions.create(model="claude-opus-4-8", messages=[{"role":"user","content":"Hi"}])
# Claude Sonnet 4.6  (same key, just change "model")
client.chat.completions.create(model="claude-sonnet-4-6", messages=[{"role":"user","content":"Hi"}])

More comparisons