GPT-5.1-Codex-Mini vs Gemini 3.7 Flash (batch)
GPT-5.1-Codex-Mini
Gemini 3.7 Flash (batch)
| GPT-5.1-Codex-Mini | Gemini 3.7 Flash (batch) | |
|---|---|---|
| Provider | OpenAI | |
| Context window Maximum tokens (input + output) the model can process in a single request. Glossary → | 400,000 | 1,048,576 |
| Capabilities Optional capabilities the model advertises: vision (images), tools (function calling), json_mode (structured output). | vision, tools, json_mode | vision, tools, json_mode |
| Input $ / 1M tokens Cost for tokens you send (prompt + context). Cheaper side highlighted. Glossary → | 0.2500 | 0.3750 |
| Output $ / 1M tokens Cost for tokens the model generates. Output is normally 3–5× pricier than input. Glossary → | 2.0000 | 1.8750 |
Frequently asked questions
Which is cheaper, GPT-5.1-Codex-Mini or Gemini 3.7 Flash (batch)?
GPT-5.1-Codex-Mini is cheaper than Gemini 3.7 Flash (batch) on a 50/50 input/output blend by about $0 per 1M tokens. Exact savings depend on your input-vs-output ratio — use the cost calculator on this page for a workload-specific estimate.
Which has a larger context window, GPT-5.1-Codex-Mini or Gemini 3.7 Flash (batch)?
Gemini 3.7 Flash (batch) has the larger context window at 1M tokens versus 400k tokens for GPT-5.1-Codex-Mini. That means Gemini 3.7 Flash (batch) can ingest about 2.6x as much text per request.
What is the difference between GPT-5.1-Codex-Mini and Gemini 3.7 Flash (batch)?
GPT-5.1-Codex-Mini comes from OpenAI; Gemini 3.7 Flash (batch) comes from Google. They differ in pricing, context window, and supported capabilities — see the side-by-side table on this page for the exact figures, refreshed nightly.