Skip to content
Alpha
  • Models
  • Rankings
  • Ori
Talk to sales

Footer

OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

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

Company

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

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status
  • AI Site Map

Connect

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

GPT-5 Codex vs Grok 4.1 Fast

Compare GPT-5 Codex 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.

Favicon for openai
GPT-5 Codex
Favicon for x-ai
Grok 4.1 Fast
Favicon for openai
GPT-5 Codex
Favicon for x-ai
Grok 4.1 Fast

Overview

GPT-5 Codex
Author
OpenAI
Grok 4.1 Fast
Author
SpaceXAI
GPT-5 Codex
Context length
400Ktokens
Grok 4.1 Fast
Context length
2Mtokens
GPT-5 Codex
Reasoning
Grok 4.1 Fast
Reasoning
GPT-5 Codex
Input modalities
Grok 4.1 Fast
Input modalities
GPT-5 Codex
Output modalities
Grok 4.1 Fast
Output modalities

Analysis

GPT-5 Codex vs Grok 4.1 Fast at a glance

GPT-5 Codex
Input price
Pricing varies by provider
Grok 4.1 Fast
Input price
Pricing varies by provider
GPT-5 Codex
Output price
Pricing varies by provider
Grok 4.1 Fast
Output price
Pricing varies by provider
GPT-5 Codex
Context window
400,000 tokens
Grok 4.1 Fast
Context window
2,000,000 tokens
GPT-5 Codex
Intelligence Index
Not available
Grok 4.1 Fast
Intelligence Index
Not available
GPT-5 Codex
Coding Index
Not available
Grok 4.1 Fast
Coding Index
Not available
GPT-5 Codex
Agentic Index
Not available
Grok 4.1 Fast
Agentic Index
Not available
GPT-5 Codex
Latency (p50)
Not available
Grok 4.1 Fast
Latency (p50)
Not available
GPT-5 Codex
Throughput (p50)
Not available
Grok 4.1 Fast
Throughput (p50)
Not available
GPT-5 Codex
Provided by
OpenAI
Grok 4.1 Fast
Provided by
SpaceXAI
GPT-5 Codex
Model page
GPT-5 Codex model details, providers and pricing
Grok 4.1 Fast
Model page
Grok 4.1 Fast model details, providers and pricing
GPT-5 Codex vs Grok 4.1 Fast comparison
AttributeGPT-5 CodexGrok 4.1 Fast
Input pricePricing varies by providerPricing varies by provider
Output pricePricing varies by providerPricing varies by provider
Context window400,000 tokens2,000,000 tokens
Intelligence IndexNot availableNot available
Coding IndexNot availableNot available
Agentic IndexNot availableNot available
Latency (p50)Not availableNot available
Throughput (p50)Not availableNot available
Provided byOpenAISpaceXAI
Model pageGPT-5 Codex model details, providers and pricingGrok 4.1 Fast model details, providers and pricing

Benchmark data updated Oct 29, 2026

Frequently asked questions

Which has the longer context window, GPT-5 Codex or Grok 4.1 Fast?

Grok 4.1 Fast has the longer context window at 2,000,000 tokens, compared with 400,000 tokens for GPT-5 Codex.