Skip to content

Compare models

Put up to 4 models beside each other — token prices, context windows, capabilities and provider, from the same catalogue the model pages read.

  1. GPT-5 CodexOpenAIRemove
  2. Gemini 3.8 FlashGoogleRemove
gpt-5-codex vs gemini-3.8-flash
AttributeGPT-5 Codexgpt-5-codexGemini 3.8 Flashgemini-3.8-flash
Pricing
Input$0.625 / 1M$0.75 / 1M
Output$5.00 / 1M$3.75 / 1M
Cache Write (5m)$0.625 / 1M$0.75 / 1M
Cache Write (1h)$0.625 / 1M$0.75 / 1M
Cache Read$0.625 / 1M$0.75 / 1M
Web Search$0 / 1M$0 / 1M
Context
Max context400K1M
Max outputN/AN/A
Capabilities
VisionYesYes
Function CallingYesYes
JSON ModeYesYes
StreamingYesYes
Catalogue
ProviderOpenAIGoogle
Categorychatchat
Charge typePay As You GoPay As You Go
Released
Description
SummaryGPT-5 Codex is a coding-focused version of GPT-5 built for both interactive development and long autonomous engineering tasks. It can create projects, add features, debug, refactor, and review code, producing cleaner and more controllable outputs than GPT-5. It integrates with developer tools (CLI, IDEs, GitHub, cloud), supports adjustable reasoning effort, handles multimodal inputs, and uses tools for search and environment setup — making it purpose-built for agentic coding workflows.Gemini 3.8 Flash is Google's most intelligent Flash-class model, delivering significant improvements over Gemini 3.7 Flash across software engineering, agentic workflows, and complex multi-step reasoning. Designed to combine strong capability with Flash-tier efficiency, it is well suited for coding assistants, autonomous agents, and high-throughput production workflows that require responsive performance without sacrificing reasoning quality.