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.1 CodexOpenAIRemove
  2. GPT-6 AstraOpenAIRemove
  3. Gemini 3.8 FlashGoogleRemove
  4. GLM 5.3Z.AIRemove

4 is the maximum. Remove one to add another.

gpt-5.1-codex vs gpt-6-astra vs gemini-3.8-flash vs glm-5.3
AttributeGPT-5.1 Codexgpt-5.1-codexGPT-6 Astragpt-6-astraGemini 3.8 Flashgemini-3.8-flashGLM 5.3glm-5.3
Pricing
Input$0.375 / 1M$10.00 / 1M$0.75 / 1M$1.40 / 1M
Output$3.00 / 1M$50.00 / 1M$3.75 / 1M$4.40 / 1M
Cache Write (5m)$0.375 / 1M$10.00 / 1M$0.75 / 1M$1.40 / 1M
Cache Write (1h)$0.375 / 1M$10.00 / 1M$0.75 / 1M$1.40 / 1M
Cache Read$0.375 / 1M$10.00 / 1M$0.75 / 1M$1.40 / 1M
Web Search$0 / 1M$0 / 1M$0 / 1M$0 / 1M
Context
Max context400K1M1M1M
Max outputN/AN/AN/AN/A
Capabilities
VisionYesYesYesNo
Function CallingYesYesYesYes
JSON ModeYesYesYesYes
StreamingYesYesYesYes
Catalogue
ProviderOpenAIOpenAIGoogleZ.AI
Categorychatchatchatchat
Charge typePay As You GoPay As You GoPay As You GoPay As You Go
Released
Description
SummaryGPT-5.1 Codex is a coding-focused version of GPT-5.1 designed for both interactive development and long autonomous engineering tasks. It can build projects, add features, debug, refactor, and review code with higher steerability and cleaner outputs than GPT-5.1. It integrates with developer tools (CLI, IDEs, GitHub, cloud), supports adjustable reasoning effort, handles images/screenshots for UI work, and uses tools for search and environment setup — making it purpose-built for agentic coding workflows.GPT-6 Astra is OpenAI's flagship model for demanding end-to-end professional work, designed for advanced analysis, software engineering, deep research, scientific tasks, and document creation. It is particularly strong in long-horizon agentic workflows, including tasks that require sustained reasoning, tool orchestration, and computer and browser use, making it well suited for complex autonomous workflows and production-grade knowledge work.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.GLM-5.3 is Z.ai's large-scale reasoning model designed for complex software engineering and long-horizon agentic workflows. It supports text input and output with a 1M-token context window, enabling sustained reasoning across large codebases and extended multi-step tasks. Building on GLM-5.2, it delivers stronger coding performance while improving the balance between capability and token efficiency, making it well suited for autonomous coding agents, large-scale engineering workflows, and complex task execution.