Skip to content
etuki.
Catalog snapshot · illustrative workloads, not invoice totalsCANONICAL URL LOCKED: https://www.etuki.com/compare/grok-4-7-vs-qwen-qwen3-8-max

xAI Grok 4.7 vs Alibaba Qwen3.8-Max — API Pricing, 150K Cache & Latency Benchmark

Side-by-side unit economics audit comparing xAI Grok 4.7 (xai/grok-4.7: Input $2/1M, Output $6/1M, Warm Cache Read $0.5/1M) against Alibaba Qwen3.8-Max (qwen/qwen3.8-max: Input $0.8/1M, Output $2.4/1M, Warm Cache Read $0.08/1M).

Cache pricing · xAI Grok 4.7
xAI Grok 4.7 (xai/grok-4.7) — Warm Cache $0.5/1M

Compare the listed input rate of $2/1M with the warm cache read rate of $0.5/1M. Batch and cache eligibility depend on the specific channel.

Cache pricing · Alibaba Qwen3.8-Max
Alibaba Qwen3.8-Max (qwen/qwen3.8-max) — Warm Cache $0.08/1M

Compare the listed input rate of $0.8/1M with the warm cache read rate of $0.08/1M. A cache hit and any credit award depend on the provider’s terms.

📌 Estimated costs under the assumptions belowAPI IDs: xai/grok-4.7 vs qwen/qwen3.8-max

At the listed rates, the 10-turn scenario costs $1.0950 for xAI Grok 4.7 and $0.2760 for Alibaba Qwen3.8-Max. It assumes one cache write, nine warm reads of a 150,000-token prefix and 2,000 output tokens per turn. The difference is $0.8190; actual cache hits and fees may differ.

Specification / FinOps DimensionxAI Grok 4.7 (xai/grok-4.7)Alibaba Qwen3.8-Max (qwen/qwen3.8-max)Verified Advantage
Official Vendor API IDxai/grok-4.7qwen/qwen3.8-maxUMCE 563-Registry Locked
563-Registry & Routing Eligibilityis_known: true | routable: falseis_known: false | routable: falseSee registry status for each entry
Standard Uncached Input (/1M tokens)$2 / 1M$0.8 / 1MAlibaba Qwen3.8-Max
Warm Prefix Cache Read (/1M tokens)$0.5 / 1M$0.08 / 1MAlibaba Qwen3.8-Max
Standard Output (/1M tokens)$6 / 1M$2.4 / 1MAlibaba Qwen3.8-Max
Context Window Capacity512K Tokens512K TokensxAI Grok 4.7
150K Prompt × 10 Turns (Unpinned Cold + 2K Out)$3.1200$1.2480Alibaba Qwen3.8-Max
150K × 10 Turns Case A (100% Static Pinned)$1.0950 (saves $2.0250)$0.2760 (saves $0.9720)Alibaba Qwen3.8-Max (-$0.8190)
150K × 10 Turns Case B (90% Static + 10% Tail)$1.2975 (saves $1.8225)$0.3732 (saves $0.8748)Alibaba Qwen3.8-Max
Illustrative P50 / P90 first-token latency167ms / 245ms (140 tok/s)168ms / 247ms (94 tok/s)Latency Parity (245ms) • xAI Grok 4.7 (140 tok/s)
🛡️ Model-Specific 150K-Token × 10-Turn Cache Actuarial Receipt (xAI Grok 4.7 vs Alibaba Qwen3.8-Max)Includes 150K Input + 2K Output per Turn

1. Full-Turn Rate-Card Substitution for xAI Grok 4.7: At an uncached input rate of $2/1M, output rate of $6/1M, and warm cache read rate of $0.5/1M, running 10 consecutive 150,000-token coding agent turns (with 2,000 output tokens/turn) without prefix pinning costs $3.1200. Locking 100% static prefixes (Case A: 1 cold turn + 9 warm cached turns + 20K total output) reduces 10-turn spend to $1.0950 (saving $2.0250); under a 90% static prefix + 10% dynamic tail workload (Case B), 10-turn spend is $1.2975.

2. Full-Turn Rate-Card Substitution for Alibaba Qwen3.8-Max & Winner Verdict: On Alibaba Qwen3.8-Max ($0.8/1M input, $2.4/1M output, $0.08/1M warm cache), 10 unpinned 150K turns cost $1.2480, dropping to $0.2760 in Case A and $0.3732 in Case B. Across every 10-turn 150K coding loop (including output tokens), Alibaba Qwen3.8-Max delivers an additional $0.8190 Case-A cost advantage.

💎 xAI Grok 4.7xai/grok-4.7
Base Input: $2/1M
Standard Output: $6/1M
Warm Cache: $0.5/1M
Illustrative P90 latency: 245ms (140 t/s)
🛰️ Alibaba Qwen3.8-Maxqwen/qwen3.8-max
Base Input: $0.8/1M
Standard Output: $2.4/1M
Warm Cache: $0.08/1M
Illustrative P90 latency: 247ms (94 t/s)
🧮 Monthly cost scenario

50M tokens per month, plus $25 in assumed infrastructure costs

Annualized difference: $821
xAI Grok 4.7 estimated monthly cost
20M Uncached + 20M Cached + 10M Output + Infra
$135.00/mo
Alibaba Qwen3.8-Max estimated monthly cost
20M Uncached + 20M Cached + 10M Output + Infra
$66.60/mo

The estimated difference is $68.40/month ($821/year) at a 50% input cache hit rate. No taxes, account discounts or separate egress fees are included.