gpt-oss-20b vs Grok 4.7

At a Glance

Compare
Pricing and Limits
Input priceFrom · USD / 1M tokens$0.018Openrouter · Sep 23, 2026$2.00Xai · Sep 22, 2026
Output priceFrom · USD / 1M tokens$0.090Openrouter · Sep 23, 2026$6.00Xai · Sep 22, 2026
Context windowMaximum documented tokens131K500K
Model facts checkedAug 28, 2026View model evidence →Sep 22, 2026View model evidence →

Token prices are the lowest available sourced USD rates; input and output may use different providers. Cost ranking estimates output spend on LiveBench, not a full request bill. Ranking methodology →

Available Benchmarks

All benchmark results →
No Protocol-Matched Benchmark Yet.Results appear here only when both models share the same benchmark version, metric, evaluation protocol, and evidence class.

Side-by-Side Facts

Fieldgpt-oss-20bGrok 4.7
DeveloperOpenAIxAI
FamilyGpt OssGrok 4
Modelgpt-oss-20bGrok 4.7
Versiongpt-oss-20bGrok 4.7
Lifecycleactiveactive
ReleasedUnknown2026-09-21
Knowledge cutoffUnknownUnknown
Input modalitiesTextText, Image
Output modalitiesTextText
Context window131K500K
Total parameters20.9BUnknown
Active parameters3.6BUnknown
Licenseapache-2.0Unknown
Open weightsYesNo
API availableYesYes
Self-hostableYesNo
Provider accessDeepinfra (Standard), Groq (Standard), Hugging Face (Standard), Openrouter (Standard), Together Ai (Serverless, Standard)Xai (Standard)
Capabilitieschat, generation, reasoning, toolschat, generation, reasoning, tools

gpt-oss-20b Capabilities

chatgenerationreasoningtools
Serving providers5
Canonical IDopenai/gpt-oss-20b

Grok 4.7 Capabilities

chatgenerationreasoningtools
Serving providers1
Canonical IDxai/grok-4.7

Primary Evidence

Sources and Freshness

Questions

gpt-oss-20b vs Grok 4.7 FAQs

Is gpt-oss-20b or Grok 4.7 better for coding?+

This comparison does not currently contain a protocol-matched coding benchmark for both gpt-oss-20b and Grok 4.7, so Model Markets cannot name a coding leader from pricing, context size, or capability labels alone.

Which is cheaper, gpt-oss-20b or Grok 4.7?+

gpt-oss-20b is $0.018 and Grok 4.7 is $2.00 per million tokens, so gpt-oss-20b is cheaper on this metric. gpt-oss-20b is $0.090 and Grok 4.7 is $6.00 per million tokens, so gpt-oss-20b is cheaper on this metric.

Which has a larger context window, gpt-oss-20b or Grok 4.7?+

Grok 4.7 has the larger sourced context window. gpt-oss-20b supports 131K and Grok 4.7 supports 500K.

Which performs better in benchmarks, gpt-oss-20b or Grok 4.7?+

There is no overall benchmark winner: At least two independently verified, protocol-matched benchmarks are required for an overall winner.

Can gpt-oss-20b or Grok 4.7 be self-hosted?+

gpt-oss-20b is the only model in this pair currently marked as self-hostable. gpt-oss-20b is open weight; Grok 4.7 is not marked open weight.

Can gpt-oss-20b and Grok 4.7 understand images?+

gpt-oss-20b is not documented with image input; Grok 4.7 is documented with image input. This reflects supported input modalities, not vision quality.

Which can generate longer answers, gpt-oss-20b or Grok 4.7?+

Neither has a larger sourced maximum output. gpt-oss-20b is — and Grok 4.7 is —.

Do gpt-oss-20b and Grok 4.7 support reasoning and tool use?+

gpt-oss-20b: reasoning and tool calling. Grok 4.7: reasoning, tool calling, and image input. Feature support does not establish relative quality.

Which is available from more inference providers, gpt-oss-20b or Grok 4.7?+

gpt-oss-20b has 5 sourced provider routes; Grok 4.7 has 1, so gpt-oss-20b has broader tracked availability.

Which offers better value, gpt-oss-20b or Grok 4.7?+

There is no universal value winner. Compare the input and output prices above with the matched benchmark result for your workload: cheaper tokens can be offset by different quality, token usage, latency, or provider availability.

Send Feedback