Grok 4.5 Matches Claude Opus 4.8 on Coding at Roughly One-Quarter the Token Cost
xAI released Grok 4.5 on July 8, 2026, claiming it performs comparably to Anthropic's Claude Opus 4.8 on coding tasks while using about 4.2 times fewer output tokens. Grok 4.5 is also significantly cheaper, priced at $2 per million input tokens and $6 per million output, versus Opus 4.8's $5 and $25 respectively. A real-world test by The New Stack pitted both models against three coding tasks in a Rust project, finding the code quality nearly identical but Grok consuming roughly 1 million tokens across all tasks compared to Opus's 4.3 million, costing $1 versus $5.14. Benchmark results were mixed: Grok led on Terminal-Bench 2.1 while Opus held an edge on the harder SWE-Bench Pro bug-fixing test, and Opus was slightly more thorough on documentation. The test involved a small sample and some methodological caveats, but the findings suggest Grok 4.5 offers a compelling cost advantage for high-volume, everyday coding work where output quality is roughly equivalent.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in