xAI
Alternatives

Best cheaper alternatives to Grok 4

Looking for a cheaper or smarter replacement for Grok 4 by xAI? We compared every LLM model with verifiable pricing on real input/output cost, context window, intelligence and modalities.

Category: LLM 1M context
Google
Gemini 1.5 Pro
Google
Larger contextSame category
Groq
Llama 3.1 8B Instant 128k
Groq
Same category
Google
Gemini 1.5 Flash-8B
Google
Same category
Mistral AI
Ministral 3 3B
Mistral AI
Same category
Together AI
Qwen3.5 9B
Together AI
Same category
Fireworks AI
OpenAI GPT OSS 20B
Fireworks AI
Same category
Google
Gemini 1.5 Flash
Google
Same category
Groq
GPT OSS 20B 128k
Groq
Same category
Mistral AI
Ministral 3 8B
Mistral AI
Same category
Groq
Llama 4 Scout 17Bx16E 128k
Groq
Same category
DeepSeek
DeepSeek V4 Flash
DeepSeek
Same category
Mistral AI
Ministral 3 14B
Mistral AI
Same category
AI21 Labs
Jamba Mini
AI21 Labs
Same category
Groq
GPT OSS 120B 128k
Groq
Same category
Fireworks AI
OpenAI GPT OSS 120B
Fireworks AI
Same category
Together AI
Google Gemma 4 31B IT
Together AI
Same category
Mistral AI
Mistral Nemo
Mistral AI
Same category
Groq
Qwen3 32B 131k
Groq
Same category

Costs are normalised to a blended 1M-token workload (or per-unit price for non-token models) using each model's latest verified pricing. Models with pricing under review are excluded from recommendations.

Best cheaper alternatives to Grok 4