Skip to content
  • Models
  • Rankings
  • Ori
Sign Up
Sign Up
OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Collections
  • Providers
  • Pricing
  • Business
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Trust Center
  • Support
  • Works With OR
  • Data
  • Brand

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
  1. Home
  2. /
  3. Compare

Claude Opus 5 vs Grok 4.7

Compare Claude Opus 5 from Anthropic and Grok 4.7 from SpaceXAI on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Claude Opus 5 vs Grok 4.7: side-by-side summary

Claude Opus 5 and Grok 4.7 are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.

Claude Opus 5, from Anthropic, has a 1,000,000-token context window and is priced at $5/M tokens input, $25/M tokens output on OpenRouter.

Grok 4.7, from SpaceXAI, has a 500,000-token context window and is priced at $1.60/M tokens input, $4.80/M tokens output on OpenRouter.

Context window
  • Claude Opus 5: 1,000,000 tokens
  • Grok 4.7: 500,000 tokens
Price
  • Claude Opus 5: $5/M tokens input, $25/M tokens output
  • Grok 4.7: $1.60/M tokens input, $4.80/M tokens output
Provided by
  • Claude Opus 5: Anthropic
  • Grok 4.7: SpaceXAI
Favicon for anthropic
Claude Opus 5
Favicon for x-ai
Grok 4.7
Favicon for anthropic
Claude Opus 5
Favicon for x-ai
Grok 4.7

Overview

Claude Opus 5
Author
Anthropic
Grok 4.7
Author
SpaceXAI
Claude Opus 5
Context length
1Mtokens
Grok 4.7
Context length
500Ktokens
Claude Opus 5
Reasoning
Grok 4.7
Reasoning
Claude Opus 5
Input modalities
Grok 4.7
Input modalities
Claude Opus 5
Output modalities
Grok 4.7
Output modalities
model details, providers and pricing
model details, providers and pricing
Claude Opus 5
Grok 4.7