model comparison

vs

Qwen4 Max vs Grok 4.7

Qwen against xAI, compared on listed price, real workload cost, context and capabilities.

the short answer

  • on DeepSWE v1.1, as each maker reports it, Qwen4 Max scores 75.7 and Grok 4.7 71.0%.
  • Qwen4 Max lists lower input and output prices.
  • Qwen4 Max offers the larger context window.
  • Qwen4 Max reads cached input for less ($0.075/M against Grok 4.7's $0.5/M), which decides the bill for agents that resend long context.

side-by-side specs

specQwen4 MaxGrok 4.7
providerQwenxAI
input price$1.5/M$2/M
output price$4.5/M$6/M
cached input$0.075/M$0.5/M
blended price (3:1)$2.25/M$3/M
context window1M tokens500k tokens
max output262k tokens—
inputtext, images, videotext, images
structured outputyesyes
weightsclosedclosed
releasedNovember 2026September 21, 2026
DeepSWE v1.1 (maker-reported)75.771.0%
Terminal-Bench 4.0 (maker-reported)48.537.6%
HealthBench Professional (maker-reported)60.056.7%

same work, both models

workloadQwen4 MaxGrok 4.7
one chat reply3,000 tokens in, 500 outGrok 4.7 costs 1.3× as much as Qwen4 Max$0.0068$0.009
summarise a 100-page report50,000 tokens in, 1,500 out, one request$0.08$0.11
1,000 classification calls500 tokens in, 20 out, per call$0.84$1.12
coding-agent session2M tokens in across ~60 turns, 60,000 out, no cache$3.27$4.36
same session, cached85% of input read from the prompt cache, the rest written to itGrok 4.7 costs 2.1× as much as Qwen4 Max$0.85$1.81

at listed rates. token counts are typical sizes, not measurements.

Qwen4 Max pricing notes

  • cache hits on the implicit context cache bill at $0.075 per 1M; cache writes bill at the normal input rate.

Grok 4.7 pricing notes

  • once a prompt reaches 200K tokens, every rate doubles for the whole request ($4 input, $12 output, $1 cached); the listed price is the sub-200K rate.

when to pick which

Qwen4 Max

Qwen4 Max is Alibaba's flagship Qwen4 model: a hosted 2.4T-parameter MoE that takes text, image and video, with a thinking mode. it succeeds Qwen3.8 Max at lower rates, and its weights are not published.

pick it if

  • you want Qwen4's flagship with image and video input
  • long agent sessions reuse a prefix; cache hits bill $0.075 per 1M, against $0.25 on Qwen3.8 Max
  • token-heavy agent runs; Alibaba reports 48 to 49% fewer tokens than Qwen3.8 Max on Terminal-Bench 4.0

skip it if

  • you need downloadable weights; Alibaba has announced open weights for smaller Qwen4 models, none for Max
  • you need audio input; Qwen3.8 Omni Flash takes audio, Max does not

Grok 4.7

xAI's model for coding and knowledge work, launched September 2026 as the successor to Grok 4.6 at the same price and speed. it takes text and images, and reasoning is always on.

pick it if

  • you want xAI's top model for coding and multi-hour terminal tasks
  • your prompts repeat: cached input bills at a quarter of the input rate
  • you need text and image input in one 500K window

skip it if

  • Grok Build 0.1 fits your work: half the input, a third the output price
  • you need a non-reasoning mode: reasoning on Grok 4.7 cannot be disabled

faq

which is better, Qwen4 Max or Grok 4.7?

on DeepSWE v1.1, as each maker reports it, Qwen4 Max scores 75.7 and Grok 4.7 71.0%. these are each maker's own numbers, not a controlled head-to-head; the spec table lists every benchmark both publish.

which is cheaper, Qwen4 Max or Grok 4.7?

Qwen4 Max lists lower input and output prices. on a coding-agent session (2M tokens in, 60,000 out) Qwen4 Max costs $3.27 and Grok 4.7 $4.36.

which has the larger context window?

Qwen4 Max offers the larger context window. Qwen4 Max: 1M tokens; Grok 4.7: 500k tokens.

can i switch between Qwen4 Max and Grok 4.7 mid-task?

yes. in an octomind session, /model octohub:qwen4-max and /model octohub:grok-4.7 switch models without losing the conversation, so you can draft on one and review on the other.

try either model

switch between models inside the same octomind session.

prices from the catalog of 2026-11-18