Cerebras vs xAI · synced 2026-11-25

gemma-4-31b vs grok-4.3-latest

gemma-4-31b is 1.3× cheaper on input than grok-4.3-latest.

gemma-4-31b grok-4.3-latest
Input / 1M $0.99 $1.25
Cached input / 1M — $0.20
Output / 1M $1.49 $2.50
Context window 131K 1M
Max output 41K 1M
Provider Cerebras xAI
Vision Yes Yes
Tool calling Yes Yes
Token count estimated estimated

Which to pick

List price is not production cost. Output length, cache hit rate, retries and task quality move the real number more than the headline rate does — price your own prompt on the token ledger before deciding.

Related comparisons