Choose OpenAI: GPT-5.1-Codex-Mini if…
- you need to fit long inputs in one request — 400K tokens is roughly 600 pages, against 393
- you need built-in web search — to answer from live web results; Qwen: Qwen3.7 Plus (batch) does not advertise it
Neither wins outright: OpenAI: GPT-5.1-Codex-Mini is the pick when you need to fit long inputs in one request, Qwen: Qwen3.7 Plus (batch) when cost matters at scale.
| Spec | OpenAI: GPT-5.1-Codex-Mini | Qwen: Qwen3.7 Plus (batch) |
|---|---|---|
| Provider | OpenAI | Qwen |
| Input price (per 1M tokens) | $0.25 | $0.23 |
| Output price (per 1M tokens) | $2.00 | $0.92 |
| Blended price (3:1 input/output) | $0.69 | $0.40 |
| Cheaper than … of all models we track | 47% | 57% |
| Context window | 400K tokens (~600 pages) | 262K tokens (~393 pages) |
| Larger context than … of all models | 63% | 48% |
| Max output per response | 128K tokens (~96,000 words) | 131K tokens (~98,300 words) |
| Input types | image, text | text, image |
| Output types | text | text |
| Free variant | No | No |
| Listed since | 2025-11-13 | 2026-06-03 |
Monthly cost at list price for five common workloads. Token counts per unit are stated so you can scale them to your own traffic. A workload that does not fit a model's context window is marked rather than priced.
| Workload (per month) | OpenAI: GPT-5.1-Codex-Mini | Qwen: Qwen3.7 Plus (batch) | Difference |
|---|---|---|---|
| Customer-support chatbot 50,000 conversations — each a 6-turn conversation (1,500 in / 400 out tokens) | $58.75 | $35.65 | Qwen: Qwen3.7 Plus (batch) saves $23.10 |
| RAG search over documents 20,000 questions — each a question answered from ~8 retrieved passages (6,000 in / 500 out tokens) | $50.00 | $36.80 | Qwen: Qwen3.7 Plus (batch) saves $13.20 |
| Coding / tool-using agent 2,000 tasks — each a multi-step task with tool calls and file context (60,000 in / 6,000 out tokens) | $54.00 | $38.64 | Qwen: Qwen3.7 Plus (batch) saves $15.36 |
| Batch summarisation 10,000 documents — each a 6,000-word report summarised to a page (8,000 in / 600 out tokens) | $32.00 | $23.92 | Qwen: Qwen3.7 Plus (batch) saves $8.08 |
| Long-document analysis 500 documents — each a 150-page contract or codebase read in one pass (100,000 in / 2,000 out tokens) | $14.50 | $12.42 | Qwen: Qwen3.7 Plus (batch) saves $2.08 |
| Capability | OpenAI: GPT-5.1-Codex-Mini | Qwen: Qwen3.7 Plus (batch) | What it lets you do |
|---|---|---|---|
| Tool / function calling | ✓ Yes | ✓ Yes | call your APIs and run agent loops |
| Structured output (JSON schema) | ✓ Yes | ✓ Yes | return JSON that validates against your schema |
| Reasoning / thinking mode | ✓ Yes | ✓ Yes | spend extra tokens thinking before answering hard problems |
| Image input | ✓ Yes | ✓ Yes | read screenshots, charts and scanned pages |
| Audio input | — | — | take speech or audio directly |
| File / PDF input | — | — | accept documents without your own parsing step |
| Image output | — | — | generate images, not just text |
| Built-in web search | ✓ Yes | — | answer from live web results |
| Seed (reproducible sampling) | ✓ Yes | ✓ Yes | repeat a generation for tests and evals |
| Log-probabilities | — | ✓ Yes | read token confidence for classification and scoring |
From each model's published parameters and input/output types. “—” means not advertised, not proven absent.
Neither wins outright: OpenAI: GPT-5.1-Codex-Mini is the pick when you need to fit long inputs in one request, Qwen: Qwen3.7 Plus (batch) when cost matters at scale. In short: OpenAI: GPT-5.1-Codex-Mini when you need to fit long inputs in one request, you need built-in web search; Qwen: Qwen3.7 Plus (batch) when cost matters at scale, you need log-probabilities, you want the newer model.
Qwen: Qwen3.7 Plus (batch) is cheaper: $0.40 vs $0.69 per 1M tokens at a typical 3:1 input/output mix, 41% less. For 50,000 support conversations a month that is $35.65 against $58.75.
OpenAI: GPT-5.1-Codex-Mini costs $0.25 per 1M input tokens and $2.00 per 1M output tokens; Qwen: Qwen3.7 Plus (batch) costs $0.23 input and $0.92 output. Output tokens are billed separately, so long answers shift the gap.
OpenAI: GPT-5.1-Codex-Mini: 400K tokens, about 600 pages, against 262K (about 393 pages) for Qwen: Qwen3.7 Plus (batch).
Tool calling — OpenAI: GPT-5.1-Codex-Mini: yes, Qwen: Qwen3.7 Plus (batch): yes. JSON-schema structured output — OpenAI: GPT-5.1-Codex-Mini: yes, Qwen: Qwen3.7 Plus (batch): yes.
Yes, both accept image input.
No free variant is listed for either; both are pay-per-token.
OpenAI: GPT-5.1-Codex-Mini can write up to 128K tokens (about 96,000 words) per response; Qwen: Qwen3.7 Plus (batch) up to 131K (about 98,300 words).
OpenAI: GPT-5.1-Codex-Mini was listed on 2025-11-13; Qwen: Qwen3.7 Plus (batch) on 2026-06-03.
GPT-5.1-Codex-Mini is a smaller and faster version of GPT-5.1-Codex
Full OpenAI: GPT-5.1-Codex-Mini specs →Qwen3.7-Plus is a cost-effective model in Alibaba's Qwen3.7 series. It supports text and image input with text output, building on the series' text capabilities with a comprehensive upgrade to its...
Full Qwen: Qwen3.7 Plus (batch) specs →