Skip to content

Claude Opus 5 vs Grok 4.7 API pricing

For a chat message (1K input, 500 output), Grok 4.7 costs $0.005 per request and Claude Opus 5 costs $0.0175, so Grok 4.7 is about 3.5× cheaper.

On the overall leaderboard Claude Opus 5 ranks #7 and Grok 4.7 ranks #12.

Prices are the standard pay-as-you-go prices in OpenRouter's public model list, with input at the cache-miss price. Models OpenRouter does not list use the vendor's official price; those listed in CNY are converted to USD at this round's exchange rate.

Prices and rankings

USD per million tokensClaude Opus 5Grok 4.7
Input$5$2
Output$25$6
Cached input$0.5$0.5
ProviderAnthropicxAI
Release date2026-07-242026-09-21
Overall rank#7#12
Coding rank#6#15
Reasoning rank#9—
Knowledge rank#15#16
Professional work rank#6#19
Verified2026-10-192026-10-19
Price sourcePrice sourcePrice source

Cost per request by usage

Without cache discounts or batch pricing.

UsageClaude Opus 5Grok 4.7Difference
Chat message1K in / 500 out$0.0175$17.5 per 1,000$0.005$5 per 1,000Grok 4.7 is 3.5× cheaper
Long document100K in / 2K out$0.55$550 per 1,000$0.21$212 per 1,000Grok 4.7 is 2.6× cheaper
Agent session500K in / 50K out$3.75$3,750 per 1,000$1.3$1,300 per 1,000Grok 4.7 is 2.9× cheaper

More price comparisons