Best LLMs for Rust 2026 | Rust Programming AI Leaderboard

Real-time leaderboard of the best LLMs for Rust programming, memory safety, and systems development.

Google: Gemini 3.1 Pro Preview

Google: Gemini 3.1 Pro Preview

by Google

1.05M tokens

Gemini 3.1 Pro Preview is Google’s frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and more efficient token usage across complex workflows. Building on the multimodal foundation of the Gemini 3 series, it combines high-precision reasoning across text, image, video, audio, and code with a 1M-token context window. Reasoning Details must be preserved when using multi-turn tool calling, see our docs here: https://openrouter.ai/docs/use-cases/reasoning-tokens#preserving-reasoning. The 3.1 update introduces measurable gains in SWE benchmarks and real-world coding environments, along with stronger autonomous task execution in structured domains such as finance and spreadsheet-based workflows. Designed for advanced development and agentic systems, Gemini 3.1 Pro Preview improves long-horizon stability and tool orchestration while increasing token efficiency. It introduces a new medium thinking level to better balance cost, speed, and performance. The model excels in agentic coding, structured planning, multimodal analysis, and workflow automation, making it well-suited for autonomous agents, financial modeling, spreadsheet automation, and high-context enterprise tasks.

Position Medals
DeepSeek: DeepSeek V4 Flash (free)

DeepSeek: DeepSeek V4 Flash (free)

by DeepSeek

1.05M tokens

DeepSeek V4 Flash is an efficiency-optimized Mixture-of-Experts model from DeepSeek with 284B total parameters and 13B activated parameters, supporting a 1M-token context window. It is designed for fast inference and high-throughput workloads, while maintaining strong reasoning and coding performance. The model includes hybrid attention for efficient long-context processing. Reasoning efforts `high` and `xhigh` are supported; `xhigh` maps to max reasoning. It is well suited for applications such as coding assistants, chat systems, and agent workflows where responsiveness and cost efficiency are important.

Position Medals
Xiaomi: MiMo-V2.5-Pro

Xiaomi: MiMo-V2.5-Pro

by Xiaomi

1.05M tokens

MiMo-V2.5-Pro is Xiaomi’s flagship model, delivering strong performance in general agentic capabilities, complex software engineering, and long-horizon tasks, with top rankings on benchmarks such as ClawEval, GDPVal, and SWE-bench Pro. It can independently and autonomously complete professional tasks that would take human experts days or weeks, involving more than a thousand tool calls. Its context length of up to 1M makes it well suited for integration with a wide range of agent frameworks.

Position Medals

4

Anthropic: Claude Sonnet 4.6

Anthropic: Claude Sonnet 4.6

by Anthropic

1M tokens

5

Tencent: Hy3 preview

Tencent: Hy3 preview

by tencent

262.14K tokens

6

Owl Alpha

Owl Alpha

by OpenRouter

1.05M tokens

7

Xiaomi: MiMo-V2.5

Xiaomi: MiMo-V2.5

by Xiaomi

1.05M tokens

8

MoonshotAI: Kimi K2.6 (free)

MoonshotAI: Kimi K2.6 (free)

by moonshotai

262.14K tokens

9

OpenAI: GPT-5.4

OpenAI: GPT-5.4

by OpenAI

1.05M tokens