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.
| Attribute | Gemini 4 Hydrogengemini-4-hydrogen | GPT-5 Codexgpt-5-codex | Gemini 4 Carbongemini-4-carbon |
|---|---|---|---|
| Pricing | |||
| Input | $1.50 / 1M | $0.625 / 1M | $2.00 / 1M |
| Output | $7.50 / 1M | $5.00 / 1M | $10.00 / 1M |
| Cache Write (5m) | $1.50 / 1M | $0.625 / 1M | $2.00 / 1M |
| Cache Write (1h) | $1.50 / 1M | $0.625 / 1M | $2.00 / 1M |
| Cache Read | $1.50 / 1M | $0.625 / 1M | $2.00 / 1M |
| Web Search | $0 / 1M | $0 / 1M | $0 / 1M |
| Context | |||
| Max context | 1M | 400K | 1M |
| Max output | N/A | N/A | N/A |
| Capabilities | |||
| Vision | Yes | Yes | Yes |
| Function Calling | Yes | Yes | Yes |
| JSON Mode | Yes | Yes | Yes |
| Streaming | Yes | Yes | Yes |
| Catalogue | |||
| Provider | OpenAI | ||
| Category | chat | chat | chat |
| Charge type | Pay As You Go | Pay As You Go | Pay As You Go |
| Released | — | — | — |
| Description | |||
| Summary | Gemini 4 Hydrogen is Google's high-efficiency multimodal model in the Gemini 4 family, optimized for high-throughput agentic workflows, coding, and multi-model routing. It delivers strong performance at lower cost and latency than Gemini 4 Carbon, supporting text, image, audio, video, and file inputs for versatile multimodal applications. Designed for scalable production workloads and long-horizon execution, Gemini 4 Hydrogen supports up to 1M output tokens through continuation and configurable reasoning effort levels (low, medium, high, and xhigh) to balance reasoning depth, speed, and cost. It is well suited for coding assistants, autonomous agents, complex workflow automation, and large-scale AI systems. | GPT-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 4 Carbon is Google's frontier multimodal reasoning model, designed for advanced coding, agentic workflows, and complex multi-step problem solving. It supports text, image, audio, video, and file inputs, enabling integrated reasoning and analysis across diverse modalities. Optimized for long-horizon execution and demanding professional workloads, Gemini 4 Carbon supports up to 1M output tokens through continuation and configurable reasoning effort levels (low, medium, high) to balance reasoning depth, latency, and cost. It is well suited for autonomous agents, software engineering, multimodal analysis, and large-scale workflow automation. |