Compare AI models

Specifications
Context window
1M—
API pricing
Input price
$5.00—
Output price
$25.00—
Cached input price
$0.50—
Cheapest input
$5.00Amazon Bedrock—
Cheapest output
$25.00Amazon Bedrock—
Benchmarks
SWE-Bench Multilingual
84.4%73.7%
Next.js Evals
68%58%
Overview
CompanyAnthropicSpaceXAI
Release dateMay 28 2026Mar 19 2026
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

Claude Opus 4.8 leads Composer 2 on 2 of the 2 benchmarks they both report (SWE-Bench Multilingual, Next.js Evals). Only Claude Opus 4.8 has a verified first-party API price: $5.00 per million input tokens and $25.00 per million output tokens. No pay-as-you-go API rate is tracked for Composer 2. Composer 2 shipped 70 days before Claude Opus 4.8, so benchmark comparisons should account for the intervening progress.

Published specifications for these two models are limited — see each model page for the latest details.

On SWE-Bench Multilingual, Claude Opus 4.8 leads at 84.4% vs Composer 2 at 73.7%. On Next.js Evals, Claude Opus 4.8 leads at 68% vs Composer 2 at 58%.