Choose OpenAI: gpt-oss-20b (batch) if…
- cost matters at scale — it is 87% cheaper on a typical 3:1 input/output mix ($4.04 vs $32.50 a month for 50,000 support chats)
Neither wins outright: OpenAI: gpt-oss-20b (batch) is the pick when cost matters at scale, xAI: Grok 3 Mini when you need built-in web search.
| Spec | OpenAI: gpt-oss-20b (batch) | xAI: Grok 3 Mini |
|---|---|---|
| Provider | OpenAI | X Ai |
| Input price (per 1M tokens) | $0.02 | $0.30 |
| Output price (per 1M tokens) | $0.11 | $0.50 |
| Blended price (3:1 input/output) | $0.05 | $0.35 |
| Cheaper than … of all models we track | 87% | 61% |
| Context window | 131K tokens (~197 pages) | 131K tokens (~197 pages) |
| Larger context than … of all models | 23% | 23% |
| Max output per response | 118K tokens (~88,500 words) | n/a |
| Input types | text | text |
| Output types | text | text |
| Free variant | No | No |
| Listed since | 2025-08-05 | 2025-06-10 |
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-oss-20b (batch) | xAI: Grok 3 Mini | Difference |
|---|---|---|---|
| Customer-support chatbot 50,000 conversations — each a 6-turn conversation (1,500 in / 400 out tokens) | $4.04 | $32.50 | OpenAI: gpt-oss-20b (batch) saves $28.46 |
| RAG search over documents 20,000 questions — each a question answered from ~8 retrieved passages (6,000 in / 500 out tokens) | $4.00 | $41.00 | OpenAI: gpt-oss-20b (batch) saves $37.00 |
| 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) | $4.22 | $42.00 | OpenAI: gpt-oss-20b (batch) saves $37.78 |
| Batch summarisation 10,000 documents — each a 6,000-word report summarised to a page (8,000 in / 600 out tokens) | $2.59 | $27.00 | OpenAI: gpt-oss-20b (batch) saves $24.41 |
| Long-document analysis 500 documents — each a 150-page contract or codebase read in one pass (100,000 in / 2,000 out tokens) | $1.31 | $15.50 | OpenAI: gpt-oss-20b (batch) saves $14.19 |
| Capability | OpenAI: gpt-oss-20b (batch) | xAI: Grok 3 Mini | 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 | — | — | 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.
| Date | Model | Input / 1M | Output / 1M |
|---|---|---|---|
| 2026-09-23 | OpenAI: gpt-oss-20b (batch) | $0.02 | $0.11 |
Neither wins outright: OpenAI: gpt-oss-20b (batch) is the pick when cost matters at scale, xAI: Grok 3 Mini when you need built-in web search. In short: OpenAI: gpt-oss-20b (batch) when cost matters at scale; xAI: Grok 3 Mini when you need built-in web search, you need log-probabilities.
OpenAI: gpt-oss-20b (batch) is cheaper: $0.05 vs $0.35 per 1M tokens at a typical 3:1 input/output mix, 87% less. For 50,000 support conversations a month that is $4.04 against $32.50.
OpenAI: gpt-oss-20b (batch) costs $0.02 per 1M input tokens and $0.11 per 1M output tokens; xAI: Grok 3 Mini costs $0.30 input and $0.50 output. Output tokens are billed separately, so long answers shift the gap.
Both take 131K tokens per request — roughly 197 pages of text.
Tool calling — OpenAI: gpt-oss-20b (batch): yes, xAI: Grok 3 Mini: yes. JSON-schema structured output — OpenAI: gpt-oss-20b (batch): yes, xAI: Grok 3 Mini: yes.
Neither accepts image input — both are text-in models.
No free variant is listed for either; both are pay-per-token.
OpenAI: gpt-oss-20b (batch) was listed on 2025-08-05; xAI: Grok 3 Mini on 2025-06-10.
OpenAI: gpt-oss-20b (batch): input price cut 52% ($0.05 → $0.02/1M), output price cut 44% ($0.20 → $0.11/1M) on 2026-09-23. xAI: Grok 3 Mini: price unchanged since we started tracking it on 2026-03-10.
gpt-oss-20b is an open-weight 21B parameter model released by OpenAI under the Apache 2.0 license. It uses a Mixture-of-Experts (MoE) architecture with 3.6B active parameters per forward pass, optimized for...
Full OpenAI: gpt-oss-20b (batch) specs →A lightweight model that thinks before responding. Fast, smart, and great for logic-based tasks that do not require deep domain knowledge. The raw thinking traces are accessible.
Full xAI: Grok 3 Mini specs →