Model comparison

vs

Grok 4.7 vs Qwen3.8 Max

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

The short answer

  • On DeepSWE v1.1, as each maker reports it, Grok 4.7 scores 71.0% and Qwen3.8 Max 56.6.
  • Grok 4.7 and Qwen3.8 Max list the same input and output prices.
  • Qwen3.8 Max offers the larger context window.
  • Qwen3.8 Max reads cached input for less ($0.25/M against Grok 4.7's $0.5/M), which decides the bill for agents that resend long context.

Side-by-side specs

SpecGrok 4.7Qwen3.8 Max
ProviderxAIQwen
Input price$2/M$2/M
Output price$6/M$6/M
Cached input$0.5/M$0.25/M
Blended price (3:1)$3/M$3/M
Context window500k tokens1M tokens
Max output—131k tokens
InputText, ImagesText, Images, Video
Structured outputYesYes
WeightsClosedOpen (qwen3.8-max)
ReleasedSeptember 21, 2026August 2026
DeepSWE v1.1 (maker-reported)71.0%56.6

Same work, both models

WorkloadGrok 4.7Qwen3.8 Max
One chat reply3,000 tokens in, 500 outSame$0.009$0.009
Summarise a 100-page report50,000 tokens in, 1,500 out, one request$0.11$0.11
1,000 classification calls500 tokens in, 20 out, per call$1.12$1.12
Coding-agent session2M tokens in across ~60 turns, 60,000 out, no cache$4.36$4.36
Same session, cached85% of input read from the prompt cache, the rest written to itGrok 4.7 costs 1.3× as much as Qwen3.8 Max$1.81$1.39

At listed rates. Token counts are typical sizes, not measurements.

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.

Qwen3.8 Max pricing notes

  • Context caching is implicit: cache hits bill at $0.25 per 1M, cache writes at the normal input rate.

When to pick which

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

Qwen3.8 Max

Qwen3.8 Max is Alibaba's flagship Qwen3.8 model: a hosted 2.4T-parameter MoE that takes text, image and video, with a thinking mode. It succeeds Qwen3.7 Max at lower rates and adds image input; its open weights are text-only.

Pick it if

  • you want Qwen3.8's flagship with image and video input
  • long agent sessions reuse a prefix; cache hits bill $0.25 per 1M
  • you want a Max-class model whose text-only base weights are downloadable

Skip it if

  • Qwen3.8 Omni Flash covers the task; it also takes images and video, far cheaper
  • you need audio input; Omni Flash takes audio, Max does not

FAQ

Which is better, Grok 4.7 or Qwen3.8 Max?

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

Which is cheaper, Grok 4.7 or Qwen3.8 Max?

Grok 4.7 and Qwen3.8 Max list the same input and output prices. On a coding-agent session (2M tokens in, 60,000 out) Grok 4.7 costs $4.36 and Qwen3.8 Max $4.36.

Which has the larger context window?

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

Can I switch between Grok 4.7 and Qwen3.8 Max mid-task?

Yes. In an Octomind session, /model octohub:grok-4.7 and /model octohub:qwen3.8-max 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-10-31