Qwen3-235B-A22B vs Grok 4

Qwen3-235B-A22B (2025) and Grok 4 (2025) are frontier reasoning models from Alibaba and xAI. Qwen3-235B-A22B ships a 128K-token context window, while Grok 4 ships a 256K-token context window. On MMLU PRO, Grok 4 leads by 4.2 pts. On pricing, Qwen3-235B-A22B costs $0.46/1M input tokens versus $3/1M for the alternative. This comparison covers specs, pricing, API access, capabilities, benchmarks, input and output token costs, and production fit for coding and agent workloads.

Qwen3-235B-A22B is ~559% cheaper at $0.46/1M; pay for Grok 4 only for coding workflow support.

Decision scorecard

Local evidence first
SignalQwen3-235B-A22BGrok 4
Best forprovider-routed productionreasoning-heavy apps, multimodal apps, and tool-calling agents
Decision fitCoding, RAG, and Long contextCoding, RAG, and Agents
Context window128K256K
Cheapest output$1.82/1M tokens$15/1M tokens
Provider routes3 tracked4 tracked
Shared benchmarks5 sharedMMLU PRO leader

Decision tradeoffs

Choose Qwen3-235B-A22B when...
  • Qwen3-235B-A22B holds a shared-benchmark lead on LiveCodeBench, ahead by 1.4 points.
  • Qwen3-235B-A22B has the lower cheapest tracked output price at $1.82/1M tokens.
  • Local decision data tags Qwen3-235B-A22B for Coding, RAG, and Long context.
Choose Grok 4 when...
  • Grok 4 holds a shared-benchmark lead on MMLU PRO, ahead by 4.2 points.
  • Grok 4 has the larger context window for long prompts, retrieval packs, or transcript analysis.
  • Grok 4 has broader tracked provider coverage for fallback and route flexibility.
  • Grok 4 uniquely exposes Vision, Multimodal, and Reasoning in local model data.
  • Local decision data tags Grok 4 for Coding, RAG, and Agents.

Monthly cost at traffic

Estimate token spend from the cheapest tracked input and output route or tier on this page.

Lower estimate Qwen3-235B-A22B

Qwen3-235B-A22B

$819

Cheapest tracked route/tier: OpenRouter

Grok 4

$6,150

Cheapest tracked route/tier: Microsoft Foundry

Estimated monthly gap: $5,331. Batch, cache, alternate speed tiers, and negotiated pricing are excluded from this local estimate.

Switch friction

Qwen3-235B-A22B -> Grok 4
  • Provider overlap exists on OpenRouter; start route-level A/B tests there.
  • Grok 4 is $13.18/1M tokens higher on cheapest tracked output pricing, so quality gains need to justify the spend.
  • Grok 4 adds Vision, Multimodal, and Reasoning in local capability data.
Grok 4 -> Qwen3-235B-A22B
  • Provider overlap exists on OpenRouter; start route-level A/B tests there.
  • Qwen3-235B-A22B is $13.18/1M tokens lower on cheapest tracked output pricing before cache, batch, or negotiated discounts.
  • Check replacement coverage for Vision, Multimodal, and Reasoning before moving production traffic.

Specs

Specification
Released2025-04-292025-07-09
Context window128K256K
Parameters235B—
ArchitectureDecoder OnlyDecoder Only
LicenseApache 2.0OSI-approvedProprietary
OpennessOpen sourceProprietary
WeightsAvailableNot released
CodeUnknownUnknown
Commercial usePermittedRestricted
Knowledge cutoff--

Pricing and availability

Pricing attributeQwen3-235B-A22BGrok 4
Input price$0.46/1M tokens$3/1M tokens
Output price$1.82/1M tokens$15/1M tokens
Providers

Capabilities

CapabilityQwen3-235B-A22BGrok 4
VisionNoYes
MultimodalNoYes
ReasoningNoYes
JSON / Tool useNoYes
Structured outputsYesYes
Code executionNoYes
IDE integrationNoNo
Computer useNoNo
Parallel agentsNoNo

Benchmarks

BenchmarkQwen3-235B-A22BGrok 4
MMLU PRO82.887.0
Google-Proof Q&A86.187.5
LiveCodeBench80.479.0
LMArena Text Arena - Creative Writing1356.01397.0
Aider Polyglot59.679.6

Deep dive

On shared benchmark coverage, MMLU PRO has Qwen3-235B-A22B at 82.8 and Grok 4 at 87, with Grok 4 ahead by 4.2 points; Google-Proof Q&A has Qwen3-235B-A22B at 86.1 and Grok 4 at 87.5, with Grok 4 ahead by 1.4 points; LiveCodeBench has Qwen3-235B-A22B at 80.4 and Grok 4 at 79, with Qwen3-235B-A22B ahead by 1.4 points. The largest visible gap is 4.2 points on MMLU PRO, which matters most when that benchmark mirrors your workload. Treat isolated benchmark wins as directional, because provider routing, prompt style, and tool access can move real application results.

The capability footprint differs most on vision: Grok 4, multimodal input: Grok 4, reasoning mode: Grok 4, JSON / Tool use: Grok 4, JSON / Tool use: Grok 4, and code execution: Grok 4. Both models share structured outputs, so the practical split is not just feature count. Use those differences to decide whether the page is about raw model quality, agentic coding support, multimodal ingestion, or predictable structured API behavior.

For cost, Qwen3-235B-A22B lists $0.46/1M input and $1.82/1M output tokens on the cheapest listed provider, while Grok 4 lists $3/1M input and $15/1M output tokens on the cheapest listed provider. A 70/30 input-output blend puts Qwen3-235B-A22B lower by about $5.74 per million blended tokens. Availability is 3 providers versus 4, so concentration risk also matters.

Choose Qwen3-235B-A22B when provider fit and lower input-token cost are central to the workload. Choose Grok 4 when coding workflow support, larger context windows, and broader provider choice are more important. For production, rerun your own prompts through the exact provider, region, and tool stack you plan to ship.

FAQ

Which has a larger context window, Qwen3-235B-A22B or Grok 4?

Grok 4 supports 256K tokens, while Qwen3-235B-A22B supports 128K tokens. That gap matters most for long documents, large codebases, retrieval-heavy agents, and conversations where earlier context must remain visible. Use this as a quick comparison signal, then confirm the provider-specific limits before committing to production.

Which is cheaper, Qwen3-235B-A22B or Grok 4?

Qwen3-235B-A22B is cheaper on listed token pricing. Qwen3-235B-A22B costs $0.46/1M input and $1.82/1M output tokens. Grok 4 costs $3/1M input and $15/1M output tokens. Provider discounts or batch pricing can still change the final bill.

Is Qwen3-235B-A22B or Grok 4 open source?

Qwen3-235B-A22B is listed under Apache 2.0. Grok 4 is listed under Proprietary. License labels affect whether you can self-host, redistribute weights, or rely only on hosted APIs, so confirm the upstream license before deployment.

Which is better for vision, Qwen3-235B-A22B or Grok 4?

Grok 4 has the clearer documented vision signal in this comparison. If vision is mission-critical, validate it against the provider endpoint because model-level support and API-level exposure can differ. Use this as a quick comparison signal, then confirm the provider-specific limits before committing to production.

Which is better for multimodal input, Qwen3-235B-A22B or Grok 4?

Grok 4 has the clearer documented multimodal input signal in this comparison. If multimodal input is mission-critical, validate it against the provider endpoint because model-level support and API-level exposure can differ.

Where can I run Qwen3-235B-A22B and Grok 4?

Qwen3-235B-A22B is available on Fireworks AI, OpenRouter, and Venice AI. Grok 4 is available on Microsoft Foundry, OpenRouter, Replicate API, and xAI Console. Provider coverage can affect latency, region availability, compliance posture, and fallback options.

Continue comparing

Last reviewed: 2026-10-27. Data sourced from public model cards and provider documentation.