Hugging Face (StarCoder)
Alternatives

Best cheaper alternatives to StarCoder2-15B

Looking for a cheaper or smarter replacement for StarCoder2-15B by Hugging Face (StarCoder)? We compared every LLM model with verifiable pricing on real input/output cost, context window, intelligence and modalities.

Category: LLM 33K context
Google
Gemini 1.5 Flash-8B
Google
Larger contextMore modalitiesSame category
Mistral AI
Ministral 3 3B
Mistral AI
Larger contextMore modalitiesSame category
Together AI
Qwen3.5 9B
Together AI
Larger contextMore modalitiesSame category
Google
Gemini 1.5 Flash
Google
Larger contextMore modalitiesSame category
Mistral AI
Ministral 3 8B
Mistral AI
Larger contextMore modalitiesSame category
Mistral AI
Ministral 3 14B
Mistral AI
Larger contextMore modalitiesSame category
OpenAI
GPT-5.4 Nano
OpenAI
Larger contextMore modalitiesSame category
Anthropic
Claude 3 Haiku
Anthropic
Larger contextMore modalitiesSame category
Google
Gemini 3.1 Flash-Lite Preview
Google
Larger contextMore modalitiesSame category
Mistral AI
Devstral 2
Mistral AI
Larger contextMore modalitiesSame category
Together AI
Qwen3.5 397B A17B
Together AI
Larger contextMore modalitiesSame category
xAI
Grok 4.20 0309 Non Reasoning
xAI
Larger contextMore modalitiesSame category
xAI
Grok 4.20 0309 Reasoning
xAI
Larger contextMore modalitiesSame category
xAI
Grok 4.20 Multi Agent 0309
xAI
Larger contextMore modalitiesSame category
Anthropic
Claude 3.5 Haiku
Anthropic
Larger contextMore modalitiesSame category
Anthropic
Claude 4.5 Haiku
Anthropic
Larger contextMore modalitiesSame category
OpenAI
GPT-5.3-Codex
OpenAI
Larger contextMore modalitiesSame category
Google
Gemini 1.5 Pro
Google
Larger contextMore modalitiesSame 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.