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. Gemini 3.8 FlashGoogleRemove
  2. GPT-5.1-Codex-MaxOpenAIRemove
gemini-3.8-flash vs gpt-5.1-codex-max
AttributeGemini 3.8 Flashgemini-3.8-flashGPT-5.1-Codex-Maxgpt-5.1-codex-max
Pricing
Input$0.75 / 1M$0.375 / 1M
Output$3.75 / 1M$3.00 / 1M
Cache Write (5m)$0.75 / 1M$0.375 / 1M
Cache Write (1h)$0.75 / 1M$0.375 / 1M
Cache Read$0.75 / 1M$0.375 / 1M
Web Search$0 / 1M$0 / 1M
Context
Max context1M400K
Max outputN/AN/A
Capabilities
VisionYesYes
Function CallingYesYes
JSON ModeYesYes
StreamingYesYes
Catalogue
ProviderGoogleOpenAI
Categorychatchat
Charge typePay As You GoPay As You Go
Released
Description
SummaryGemini 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.GPT-5.1 Codex Max is OpenAI's advanced agentic coding model, built for long-running, high-context development work. Using an upgraded 5.1 reasoning stack and training on real engineering workflows, it delivers faster performance, stronger reasoning, and better token efficiency across the full software lifecycle.