Alternatives to Grok Code Fast 1

These models are alternatives by measurable coding evidence: they share the current closed-model classificationand are closest to Grok Code Fast 1's SWE-bench score. Similarity here does not mean identical capabilities, licence terms, or output quality.

The target model

SWE-bench
1164.5%
Cheapest input
$0.20
Cheapest output
$1.50
Hosts
1
AlternativeSWE-benchInput $/MTokOutput $/MTokHostsContextTradeoff
Mercury 21166.2%$0.25$0.752128khigher input price
Trinity Large Thinking1238.4%$0.22$0.805262khigher coding score, higher input price
GPT-5.1-Codex-Mini1247.0%$0.25$2.003400khigher coding score, higher input price
Gemini 3.1 Flash Lite1254.1%$0.13$0.7541.0Mhigher score, no higher input price
MiniMax M21297.0%$0.26$1.007197khigher coding score, higher input price
Laguna XS.21302.0%$0.10$0.201262khigher score, no higher input price
MiMo-V2-Flash1330.2%$0.09$0.294262khigher score, no higher input price
GPT-5.1-Codex1336.3%$1.25$10.003400khigher coding score, higher input price
GLM 4.61340.2%$0.39$1.7513198khigher coding score, higher input price
Laguna M.11347.3%$0.20$0.401262khigher score, no higher input price
Gemma 4 31B1363.6%$0.08$0.3433262khigher score, no higher input price
Grok 4.201373.6%$1.25$2.5022.0Mhigher coding score, higher input price

How alternatives are selected

Alternatives must have a benchmark score and the same current open/closed classification as the target. They are sorted by score distance, then by price/performance. The table compares hosted API economics; it does not establish licence compatibility or self-hosting rights.

Check the model licence, provider Terms, context limits, tool support, and output quality before switching a production workload.