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

GPT-5.1-Codex-Max vs Grok 4.1 Fast

Compare GPT-5.1-Codex-Max from OpenAI and Grok 4.1 Fast 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.

GPT-5.1-Codex-Max vs Grok 4.1 Fast: side-by-side summary

GPT-5.1-Codex-Max and Grok 4.1 Fast are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.

GPT-5.1-Codex-Max, from OpenAI, has a 400,000-token context window and is priced at $1.25/M tokens input, $10/M tokens output on OpenRouter.

Grok 4.1 Fast, from SpaceXAI, has a 2,000,000-token context window and is priced by the provider serving it on OpenRouter.

Context window
  • GPT-5.1-Codex-Max: 400,000 tokens
  • Grok 4.1 Fast: 2,000,000 tokens
Price
  • GPT-5.1-Codex-Max: $1.25/M tokens input, $10/M tokens output
  • Grok 4.1 Fast: Pricing varies by provider
Provided by
  • GPT-5.1-Codex-Max: OpenAI
  • Grok 4.1 Fast: SpaceXAI
  • GPT-5.1-Codex-Max model details, providers and pricing
  • Grok 4.1 Fast model details, providers and pricing