Compare GPT OSS 20B by OpenAI against xAI: Grok 4 by xAI, context windows of 131K vs 256K, tested across 53 shared challenges. Updated May 2026.
GPT OSS 20B and xAI: Grok 4 are both competitive models. GPT OSS 20B costs $0.02/M input tokens vs $3/M for xAI: Grok 4. Context windows: 131K vs 256K tokens. Compare their real outputs side by side below.
GPT OSS 20B is made by openai while xAI: Grok 4 is from xai. GPT OSS 20B has a 131K token context window compared to xAI: Grok 4's 256K. On pricing, GPT OSS 20B costs $0.02/M input tokens vs $3/M for xAI: Grok 4.
GPT OSS 20B is cheaper on both — 150× input, 150× output
No community votes yet. On paper, these are closely matched - try both with your actual task to see which fits your workflow.
GPT OSS 20B is 150x cheaper per token — worth considering if cost matters.
GPT OSS 20B uses 7.2x more transitions
Compare GPT OSS 20B by OpenAI against xAI: Grok 4 by xAI, context windows of 131K vs 256K, tested across 53 shared challenges. Updated May 2026.
GPT OSS 20B and xAI: Grok 4 are both competitive models. GPT OSS 20B costs $0.02/M input tokens vs $3/M for xAI: Grok 4. Context windows: 131K vs 256K tokens. Compare their real outputs side by side below.
GPT OSS 20B is made by openai while xAI: Grok 4 is from xai. GPT OSS 20B has a 131K token context window compared to xAI: Grok 4's 256K. On pricing, GPT OSS 20B costs $0.02/M input tokens vs $3/M for xAI: Grok 4.
GPT OSS 20B is cheaper on both — 150× input, 150× output
No community votes yet. On paper, these are closely matched - try both with your actual task to see which fits your workflow.
GPT OSS 20B is 150x cheaper per token — worth considering if cost matters.
GPT OSS 20B uses 7.2x more transitions