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

Gemini 2.5 Flash Preview 09-2025 vs GPT-5 Codex

Compare Gemini 2.5 Flash Preview 09-2025 from Google and GPT-5 Codex from OpenAI 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 google
Gemini 2.5 Flash Preview 09-2025
Favicon for openai
GPT-5 Codex
Favicon for google
Gemini 2.5 Flash Preview 09-2025
Favicon for openai
GPT-5 Codex

Overview

Gemini 2.5 Flash Preview 09-2025
Author
Google
GPT-5 Codex
Author
OpenAI
Gemini 2.5 Flash Preview 09-2025
Context length
1.05Mtokens
GPT-5 Codex
Context length
400Ktokens
Gemini 2.5 Flash Preview 09-2025
Reasoning
GPT-5 Codex
Reasoning
Gemini 2.5 Flash Preview 09-2025
Input modalities
GPT-5 Codex
Input modalities
Gemini 2.5 Flash Preview 09-2025
Output modalities
GPT-5 Codex
Output modalities

Gemini 2.5 Flash Preview 09-2025 vs GPT-5 Codex: side-by-side summary

Gemini 2.5 Flash Preview 09-2025 and GPT-5 Codex are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.

Gemini 2.5 Flash Preview 09-2025, from Google, has a 1,048,576-token context window and is priced by the provider serving it on OpenRouter.

GPT-5 Codex, from OpenAI, has a 400,000-token context window and is priced by the provider serving it on OpenRouter.

Context window
  • Gemini 2.5 Flash Preview 09-2025: 1,048,576 tokens
  • GPT-5 Codex: 400,000 tokens
Price
  • Gemini 2.5 Flash Preview 09-2025: Pricing varies by provider
  • GPT-5 Codex: Pricing varies by provider
Provided by
  • Gemini 2.5 Flash Preview 09-2025: Google
  • GPT-5 Codex: OpenAI
model details, providers and pricing
model details, providers and pricing
Gemini 2.5 Flash Preview 09-2025
GPT-5 Codex