Qwen3 30B A3B 2507 Instruct vs Grok 4

Comparing 2 AI models · 6 benchmarks · Alibaba, xAI

Most Affordable
Alibaba logo
Qwen3 30B A3B 2507 Instruct
$0.20/1M
Highest Intelligence
xAI logo
Grok 4
87.7% GPQA
Best for Coding
xAI logo
Grok 4
55.1 Coding Index
Price Difference
15.0x
input cost range

Composite Indices

Intelligence, Coding, Math

Standard Benchmarks

Academic and industry benchmarks

Benchmark Winners

6 tests
Alibaba logo

Qwen3 30B A3B 2507 Instruct

0

No clear wins

xAI logo

Grok 4

6
  • GPQA
  • MMLU Pro
  • HLE
  • LiveCodeBench
  • MATH 500
  • AIME 2025
Metric
Alibaba logo Qwen3 30B A3B 2507 Instruct
Alibaba
xAI logo Grok 4
xAI
Pricing
Per 1M tokens
Input Cost $0.20/1M $3.00/1M
Output Cost $0.80/1M $15.00/1M
Blended Cost 3:1 input/output ratio
$0.35/1M $6.00/1M
Specifications
Organization Model creator
Alibaba xAI
Release Date Launch date
Jul 29, 2025 Jul 10, 2025
Performance & Speed
Throughput Output speed
112.8 tok/s 37.2 tok/s
Time to First Token (TTFT) Initial response delay
1076ms 9172ms
Latency Time to first answer token
1076ms 9172ms
Composite Indices
Intelligence Index Overall reasoning capability
37.0 65.3
Coding Index Programming ability
29.2 55.1
Math Index Mathematical reasoning
66.3 92.7
Standard Benchmarks
GPQA Graduate-level reasoning
65.9% 87.7%
MMLU Pro Advanced knowledge
77.7% 86.6%
HLE Hard language evaluation
6.8% 23.9%
LiveCodeBench Real-world coding tasks
51.5% 81.9%
MATH 500 Mathematical problems
97.5% 99.0%
AIME 2025 Advanced math competition
66.3% 92.7%
AIME (Original) Math olympiad problems
72.7% 94.3%
SciCode Scientific code generation
30.4% 45.7%
LCR Code review capability
22.7% 68.0%
IFBench Instruction-following
33.1% 53.7%
TAU-bench v2 Tool use & agentic tasks
10.2% 74.9%
TerminalBench Hard CLI command generation
5.7% 37.6%

Key Takeaways

Qwen3 30B A3B 2507 Instruct offers the best value at $0.20/1M, making it ideal for high-volume applications and cost-conscious projects.

Grok 4 leads in reasoning capabilities with a 87.7% GPQA score, excelling at complex analytical tasks and problem-solving.

Grok 4 achieves a 55.1 coding index, making it the top choice for software development and code generation tasks.

All models support context windows of ∞+ tokens, suitable for processing lengthy documents and maintaining extended conversations.

When to Choose Each Model

Alibaba logo

Qwen3 30B A3B 2507 Instruct

  • Cost-sensitive applications
  • High-volume processing
xAI logo

Grok 4

  • Complex reasoning tasks
  • Research & analysis
  • Code generation
  • Software development

Cost Calculator

Alibaba logo Qwen3 30B A3B 2507 Instruct
$0.00
per month
xAI logo Grok 4
$0.00
per month

Costs are estimates based on API pricing. Actual costs may vary based on caching, batch processing, and volume discounts.