programming Rankings

programming Model Rankings

Top performing AI models ranked by programming benchmark scores

Total Models

119

Providers

14

Avg Score

31.66

Updated

Dec 4, 2025

Access gemini-3-pro-preview through LangDB AI Gateway

Recommended

Integrate with google's gemini-3-pro-preview and 250+ other models through a unified API. Monitor usage, control costs, and enhance security.

Unified API
Cost Optimization
Enterprise Security
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests
Rank
Model
Details
#1
gemini-3-pro-preview

Gemini 3 is Google's most intelligent model family to date, built on a foundation of state-of-the-art reasoning. It is designed to bring any idea to life by mastering agentic workflows, autonomous coding, and complex multimodal tasks.

Provider
gemini
Type
completions
Context
1M
Score
62.3
Pricing
In: $2 / 1M tokens
Out: $12 / 1M tokens
#2
claude-opus-4.5

Claude Opus 4.5 is Anthropic's most intelligent model to date. It sets a new standard across coding, agents, computer use, and enterprise workflows. Opus 4.5 is a meaningful step forward in what AI systems can do.

Provider
anthropic
Type
completions
Context
200K
Score
60.2
Pricing
In: $5 / 1M tokens
Out: $25 / 1M tokens
#3
gpt-5.1

GPT-5.1 is OpenAI's flagship model for coding and agentic tasks with configurable reasoning and non-reasoning effort.

Provider
openai
Type
completions
Context
400K
Score
57.5
Pricing
In: $1.25 / 1M tokens
Out: $10 / 1M tokens
#4
grok-4

Grok 4 is the latest and greatest flagship model, offering unparalleled performance in natural language, math and reasoning - the perfect jack of all trades.

Provider
xai
Type
completions
Context
256K
Score
55.1
Pricing
In: $3 / 1M tokens
Out: $15 / 1M tokens
#5
gpt-5

GPT-5 is OpenAI’s most advanced model, offering major improvements in reasoning, code quality, and user experience. It is optimized for complex tasks that require step-by-step reasoning, instruction following, and accuracy in high-stakes use cases. It supports test-time routing features and advanced prompt understanding, including user-specified intent like "think hard about this." Improvements include reductions in hallucination, sycophancy, and better performance in coding, writing, and health-related tasks.

Provider
openai
Type
completions
Context
400K
Score
52.7
Pricing
In: $1.25 / 1M tokens
Out: $10 / 1M tokens
#6
o3

o3 is a well-rounded and powerful model across domains. It sets a new standard for math, science, coding, and visual reasoning tasks. It also excels at technical writing and instruction-following. Use it to think through multi-step problems that involve analysis across text, code, and images.

Provider
openai
Type
completions
Context
200K
Score
52.2
Pricing
In: $2 / 1M tokens
Out: $8 / 1M tokens
#7
kimi-k2-thinking

Kimi K2 Thinking is Moonshot AI’s most advanced open reasoning model to date, extending the K2 series into agentic, long-horizon reasoning. Built on the trillion-parameter Mixture-of-Experts (MoE) architecture introduced in Kimi K2, it activates 32 billion parameters per forward pass and supports 256 k-token context windows. The model is optimized for persistent step-by-step thought, dynamic tool invocation, and complex reasoning workflows that span hundreds of turns. It interleaves step-by-step reasoning with tool use, enabling autonomous research, coding, and writing that can persist for hundreds of sequential actions without drift. It sets new open-source benchmarks on HLE, BrowseComp, SWE-Multilingual, and LiveCodeBench, while maintaining stable multi-agent behavior through 200–300 tool calls. Built on a large-scale MoE architecture with MuonClip optimization, it combines strong reasoning depth with high inference efficiency for demanding agentic and analytical tasks.

Provider
openrouter
Type
completions
Context
262144
Score
52.2
Pricing
In: $0.57 / 1M tokens
Out: $2.42 / 1M tokens
#8
gpt-5-mini

GPT-5 Mini is a compact version of GPT-5, designed to handle lighter-weight reasoning tasks. It provides the same instruction-following and safety-tuning benefits as GPT-5, but with reduced latency and cost. GPT-5 Mini is the successor to OpenAI's o4-mini model.

Provider
openai
Type
completions
Context
400K
Score
51.4
Pricing
In: $0.25 / 1M tokens
Out: $2 / 1M tokens
#9
claude-sonnet-4.5

Claude Sonnet 4.5 is the best coding model in the world. It's the strongest model for building complex agents. It’s the best model at using computers. And it shows substantial gains in reasoning and math.

Provider
anthropic
Type
completions
Context
200K
Score
49.8
Pricing
In: $3 / 1M tokens
Out: $15 / 1M tokens
#10
gpt-oss-120b

gpt-oss-120b is an open-weight, 117B-parameter Mixture-of-Experts (MoE) language model from OpenAI designed for high-reasoning, agentic, and general-purpose production use cases. It activates 5.1B parameters per forward pass and is optimized to run on a single H100 GPU with native MXFP4 quantization. The model supports configurable reasoning depth, full chain-of-thought access, and native tool use, including function calling, browsing, and structured output generation.

Provider
deepinfra
Type
completions
Context
131072
Score
49.6
Pricing
In: $0.09 / 1M tokens
Out: $0.45 / 1M tokens
#11
deepseek-v3.1-terminus

DeepSeek-V3.1 Terminus is an update to [DeepSeek V3.1](/deepseek/deepseek-chat-v3.1) that maintains the model's original capabilities while addressing issues reported by users, including language consistency and agent capabilities, further optimizing the model's performance in coding and search agents. It is a large hybrid reasoning model (671B parameters, 37B active) that supports both thinking and non-thinking modes. It extends the DeepSeek-V3 base with a two-phase long-context training process, reaching up to 128K tokens, and uses FP8 microscaling for efficient inference. Users can control the reasoning behaviour with the `reasoning` `enabled` boolean. [Learn more in our docs](https://openrouter.ai/docs/use-cases/reasoning-tokens#enable-reasoning-with-default-config) The model improves tool use, code generation, and reasoning efficiency, achieving performance comparable to DeepSeek-R1 on difficult benchmarks while responding more quickly. It supports structured tool calling, code agents, and search agents, making it suitable for research, coding, and agentic workflows.

Provider
openrouter
Type
completions
Context
163840
Score
49.6
Pricing
In: $0.26 / 1M tokens
Out: $0.97 / 1M tokens
#12
gpt-oss-120b:exacto

gpt-oss-120b is an open-weight, 117B-parameter Mixture-of-Experts (MoE) language model from OpenAI designed for high-reasoning, agentic, and general-purpose production use cases. It activates 5.1B parameters per forward pass and is optimized to run on a single H100 GPU with native MXFP4 quantization. The model supports configurable reasoning depth, full chain-of-thought access, and native tool use, including function calling, browsing, and structured output generation.

Provider
openrouter
Type
completions
Context
131072
Score
49.6
Pricing
In: $0.08 / 1M tokens
Out: $0.36 / 1M tokens
#13
gemini-2.5-pro

Gemini 2.5 Pro is our most advanced reasoning Gemini model, capable of solving complex problems.

Provider
gemini
Type
completions
Context
1M
Score
49.3
Pricing
In: $1.25 / 1M tokens
Out: $10 / 1M tokens
#14
gemini-2.5-pro-preview

Gemini 2.5 Pro Experimental is Google's state-of-the-art thinking model, capable of reasoning over complex problems in code, math, and STEM, as well as analyzing large datasets, codebases, and documents using long context.

Provider
gemini
Type
completions
Context
1M
Score
49.3
Pricing
In: $1.25 / 1M tokens
Out: $10 / 1M tokens
#15
gemini-2.5-pro-preview-05-06

Gemini 2.5 Pro is Google’s state-of-the-art AI model designed for advanced reasoning, coding, mathematics, and scientific tasks. It employs “thinking” capabilities, enabling it to reason through responses with enhanced accuracy and nuanced context handling. Gemini 2.5 Pro achieves top-tier performance on multiple benchmarks, including first-place positioning on the LMArena leaderboard, reflecting superior human-preference alignment and complex problem-solving abilities.

Provider
openrouter
Type
completions
Context
1048576
Score
49.3
Pricing
In: $1.25 / 1M tokens
Out: $10 / 1M tokens
#16
o4-mini

o4-mini is latest small o-series model. It's optimized for fast, effective reasoning with exceptionally efficient performance in coding and visual tasks.

Provider
openai
Type
completions
Context
200K
Score
48.9
Pricing
In: $1.1 / 1M tokens
Out: $4.4 / 1M tokens
#17
grok-4-fast

Grok 4 Fast is xAI's latest multimodal model with SOTA cost-efficiency and a 2M token context window. It comes in two flavors: non-reasoning and reasoning. Read more about the model on xAI's [news post](http://x.ai/news/grok-4-fast). Reasoning can be enabled using the `reasoning` `enabled` parameter in the API. [Learn more in our docs](https://openrouter.ai/docs/use-cases/reasoning-tokens#controlling-reasoning-tokens) Prompts and completions on Grok 4 Fast Free may be used by xAI or OpenRouter to improve future models.

Provider
openrouter
Type
completions
Context
2M
Score
48.4
Pricing
In: $0.2 / 1M tokens
Out: $0.5 / 1M tokens
#18
minimax-m2

MiniMax-M2 is a compact, high-efficiency large language model optimized for end-to-end coding and agentic workflows. With 10 billion activated parameters (230 billion total), it delivers near-frontier intelligence across general reasoning, tool use, and multi-step task execution while maintaining low latency and deployment efficiency. The model excels in code generation, multi-file editing, compile-run-fix loops, and test-validated repair, showing strong results on SWE-Bench Verified, Multi-SWE-Bench, and Terminal-Bench. It also performs competitively in agentic evaluations such as BrowseComp and GAIA, effectively handling long-horizon planning, retrieval, and recovery from execution errors. Benchmarked by [Artificial Analysis](https://artificialanalysis.ai/models/minimax-m2), MiniMax-M2 ranks among the top open-source models for composite intelligence, spanning mathematics, science, and instruction-following. Its small activation footprint enables fast inference, high concurrency, and improved unit economics, making it well-suited for large-scale agents, developer assistants, and reasoning-driven applications that require responsiveness and cost efficiency. To avoid degrading this model's performance, MiniMax highly recommends preserving reasoning between turns. Learn more about using reasoning_details to pass back reasoning in our [docs](https://openrouter.ai/docs/use-cases/reasoning-tokens#preserving-reasoning-blocks).

Provider
openrouter
Type
completions
Context
204800
Score
47.6
Pricing
In: $0.27 / 1M tokens
Out: $1.06 / 1M tokens
#19
deepseek-reasoner

DeepSeek-V3.2-Exp (Thinking Mode) is an advanced AI model designed to enhance logical reasoning and problem-solving capabilities, leveraging deep learning techniques to provide accurate and contextually relevant insights across various domains.

Provider
deepseek
Type
completions
Context
128K
Score
47.2
Pricing
In: $0.28 / 1M tokens
Out: $0.42 / 1M tokens
#20
claude-opus-4.1

Claude Opus 4.1 is an updated version of Anthropic’s flagship model, offering improved performance in coding, reasoning, and agentic tasks. It achieves 74.5% on SWE-bench Verified and shows notable gains in multi-file code refactoring, debugging precision, and detail-oriented reasoning. The model supports extended thinking up to 64K tokens and is optimized for tasks involving research, data analysis, and tool-assisted reasoning.

Provider
anthropic
Type
completions
Context
200K
Score
46.1
Pricing
In: $15 / 1M tokens
Out: $75 / 1M tokens
#21
claude-sonnet-4

Our high-performance model with exceptional reasoning and efficiency

Provider
anthropic
Type
completions
Context
200K
Score
45.1
Pricing
In: $3 / 1M tokens
Out: $15 / 1M tokens
#22
qwen3-235b-a22b-2507

Qwen3-235B-A22B-Instruct-2507 is a multilingual, instruction-tuned mixture-of-experts language model based on the Qwen3-235B architecture, with 22B active parameters per forward pass. It is optimized for general-purpose text generation, including instruction following, logical reasoning, math, code, and tool usage. The model supports a native 262K context length and does not implement "thinking mode" (<think> blocks). Compared to its base variant, this version delivers significant gains in knowledge coverage, long-context reasoning, coding benchmarks, and alignment with open-ended tasks. It is particularly strong on multilingual understanding, math reasoning (e.g., AIME, HMMT), and alignment evaluations like Arena-Hard and WritingBench.

Provider
deepinfra
Type
completions
Context
262144
Score
44.6
Pricing
In: $0.13 / 1M tokens
Out: $0.6 / 1M tokens
#23
claude-opus-4

Our most capable and intelligent model yet. Claude Opus 4 sets new standards in complex reasoning and advanced coding

Provider
anthropic
Type
completions
Context
200K
Score
44.2
Pricing
In: $15 / 1M tokens
Out: $75 / 1M tokens
#24
DeepSeek-R1

DeepSeek-Reasoner is an advanced AI model designed to enhance logical reasoning and problem-solving capabilities, leveraging deep learning techniques to provide accurate and contextually relevant insights across various domains.

Provider
deepinfra
Type
completions
Context
16K
Score
44.1
Pricing
In: $0.75 / 1M tokens
Out: $2.4 / 1M tokens
#25
deepseek-r1-05-28

May 28th update to the [original DeepSeek R1](/deepseek/deepseek-r1) Performance on par with [OpenAI o1](/openai/o1), but open-sourced and with fully open reasoning tokens. It's 671B parameters in size, with 37B active in an inference pass. Fully open-source model.

Provider
fireworksai
Type
completions
Context
163840
Score
44.1
Pricing
In: $3 / 1M tokens
Out: $8 / 1M tokens
#26
deepseek-r1

DeepSeek R1 is here: Performance on par with [OpenAI o1](/openai/o1), but open-sourced and with fully open reasoning tokens. It's 671B parameters in size, with 37B active in an inference pass. Fully open-source model & [technical report](https://api-docs.deepseek.com/news/news250120). MIT licensed: Distill & commercialize freely!

Provider
openrouter
Type
completions
Context
163840
Score
44.1
Pricing
In: $0.6 / 1M tokens
Out: $2.3 / 1M tokens
#27
deepseek-r1-0528-qwen3-8b

DeepSeek-R1-0528 is a lightly upgraded release of DeepSeek R1 that taps more compute and smarter post-training tricks, pushing its reasoning and inference to the brink of flagship models like O3 and Gemini 2.5 Pro. It now tops math, programming, and logic leaderboards, showcasing a step-change in depth-of-thought. The distilled variant, DeepSeek-R1-0528-Qwen3-8B, transfers this chain-of-thought into an 8 B-parameter form, beating standard Qwen3 8B by +10 pp and tying the 235 B “thinking” giant on AIME 2024.

Provider
parasail
Type
completions
Context
131072
Score
44.1
Pricing
In: $0.05 / 1M tokens
Out: $0.1 / 1M tokens
#28
glm-4.5

GLM-4.5 is our latest flagship foundation model, purpose-built for agent-based applications. It leverages a Mixture-of-Experts (MoE) architecture and supports a context length of up to 128k tokens. GLM-4.5 delivers significantly enhanced capabilities in reasoning, code generation, and agent alignment. It supports a hybrid inference mode with two options, a "thinking mode" designed for complex reasoning and tool use, and a "non-thinking mode" optimized for instant responses.

Provider
parasail
Type
completions
Context
131072
Score
43.3
Pricing
In: $0.59 / 1M tokens
Out: $2.1 / 1M tokens
#29
glm-4.5-x

GLM-4.5-X is a high-performance variant of GLM-4.5 optimized for ultra-fast responses while maintaining the same capabilities and context length as the base model.

Provider
zai
Type
completions
Context
131072
Score
43.3
Pricing
In: $2.2 / 1M tokens
Out: $8.9 / 1M tokens
#30
gemini-2.5-flash-preview-09-2025

Gemini 2.5 Flash Preview September 2025 Checkpoint is Google's state-of-the-art workhorse model, specifically designed for advanced reasoning, coding, mathematics, and scientific tasks. It includes built-in "thinking" capabilities, enabling it to provide responses with greater accuracy and nuanced context handling. Additionally, Gemini 2.5 Flash is configurable through the "max tokens for reasoning" parameter, as described in the documentation (https://openrouter.ai/docs/use-cases/reasoning-tokens#max-tokens-for-reasoning).

Provider
openrouter
Type
completions
Context
1048576
Score
42.5
Pricing
In: $0.3 / 1M tokens
Out: $2.5 / 1M tokens
#31
gpt-5-nano

GPT-5-Nano is the smallest and fastest variant in the GPT-5 system, optimized for developer tools, rapid interactions, and ultra-low latency environments. While limited in reasoning depth compared to its larger counterparts, it retains key instruction-following and safety features. It is the successor to GPT-4.1-nano and offers a lightweight option for cost-sensitive or real-time applications.

Provider
openai
Type
completions
Context
400K
Score
42.3
Pricing
In: $0.05 / 1M tokens
Out: $0.4 / 1M tokens
#32
grok-3-mini

Grok 3 Mini is a lightweight, smaller thinking model. Unlike traditional models that generate answers immediately, Grok 3 Mini thinks before responding. It’s ideal for reasoning-heavy tasks that don’t demand extensive domain knowledge, and shines in math-specific and quantitative use cases, such as solving challenging puzzles or math problems. Transparent "thinking" traces accessible. Defaults to low reasoning, can boost with setting `reasoning: { effort: "high" }` Note: That there are two xAI endpoints for this model. By default when using this model we will always route you to the base endpoint. If you want the fast endpoint you can add `provider: { sort: throughput}`, to sort by throughput instead.

Provider
xai
Type
completions
Context
131072
Score
42.2
Pricing
In: $0.3 / 1M tokens
Out: $0.5 / 1M tokens
#33
grok-3-mini-beta

A lightweight model that thinks before responding. Fast, smart, and great for logic-based tasks that do not require deep domain knowledge. The raw thinking traces are accessible.

Provider
openrouter
Type
completions
Context
131072
Score
42.2
Pricing
In: $0.45 / 1M tokens
Out: $2.25 / 1M tokens
#34
gpt-oss-20b

gpt-oss-20b is an open-weight 21B parameter model released by OpenAI under the Apache 2.0 license. It uses a Mixture-of-Experts (MoE) architecture with 3.6B active parameters per forward pass, optimized for lower-latency inference and deployability on consumer or single-GPU hardware. The model is trained in OpenAI’s Harmony response format and supports reasoning level configuration, fine-tuning, and agentic capabilities including function calling, tool use, and structured outputs.

Provider
deepinfra
Type
completions
Context
131072
Score
40.7
Pricing
In: $0.04 / 1M tokens
Out: $0.16 / 1M tokens
#35
deepseek-v3.2-exp

DeepSeek-V3.2-Exp is an experimental large language model released by DeepSeek as an intermediate step between V3.1 and future architectures. It introduces DeepSeek Sparse Attention (DSA), a fine-grained sparse attention mechanism designed to improve training and inference efficiency in long-context scenarios while maintaining output quality. Users can control the reasoning behaviour with the `reasoning` `enabled` boolean. [Learn more in our docs](https://openrouter.ai/docs/use-cases/reasoning-tokens#enable-reasoning-with-default-config) The model was trained under conditions aligned with V3.1-Terminus to enable direct comparison. Benchmarking shows performance roughly on par with V3.1 across reasoning, coding, and agentic tool-use tasks, with minor tradeoffs and gains depending on the domain. This release focuses on validating architectural optimizations for extended context lengths rather than advancing raw task accuracy, making it primarily a research-oriented model for exploring efficient transformer designs.

Provider
openrouter
Type
completions
Context
163840
Score
39.6
Pricing
In: $0.28 / 1M tokens
Out: $0.41 / 1M tokens
#36
o3-mini

OpenAI o3-mini is a cost-efficient language model optimized for STEM reasoning tasks, particularly excelling in science, mathematics, and coding. This model supports the `reasoning_effort` parameter, which can be set to "high", "medium", or "low" to control the thinking time of the model. The default is "medium". OpenRouter also offers the model slug `openai/o3-mini-high` to default the parameter to "high". The model features three adjustable reasoning effort levels and supports key developer capabilities including function calling, structured outputs, and streaming, though it does not include vision processing capabilities. The model demonstrates significant improvements over its predecessor, with expert testers preferring its responses 56% of the time and noting a 39% reduction in major errors on complex questions. With medium reasoning effort settings, o3-mini matches the performance of the larger o1 model on challenging reasoning evaluations like AIME and GPQA, while maintaining lower latency and cost.

Provider
openai
Type
completions
Context
200K
Score
39.4
Pricing
In: $1.1 / 1M tokens
Out: $4.4 / 1M tokens
#37
grok-code-fast-1

grok-code-fast-1 is exceptionally versatile across the full software development stack and is particularly adept at TypeScript, Python, Java, Rust, C++, and Go. It can complete common programming tasks with minimal oversight, ranging from building zero-to-one projects and providing insightful answers to codebase questions to performing surgical bug fixes.

Provider
xai
Type
completions
Context
256K
Score
39.4
Pricing
In: $0.2 / 1M tokens
Out: $1.5 / 1M tokens
#38
glm-4.5-air

GLM-4.5-Air is the lightweight variant of our latest flagship model family, also purpose-built for agent-centric applications. Like GLM-4.5, it adopts the Mixture-of-Experts (MoE) architecture but with a more compact parameter size. GLM-4.5-Air also supports hybrid inference modes, offering a "thinking mode" for advanced reasoning and tool use, and a "non-thinking mode" for real-time interaction.

Provider
zai
Type
completions
Context
131072
Score
39.4
Pricing
In: $0.2 / 1M tokens
Out: $1.1 / 1M tokens
#39
glm-4.5-airx

GLM-4.5-AirX is a lightweight, speed-optimized variant of GLM-4.5-Air delivering ultra-fast responses while preserving the same capabilities and context length as the base Air model.

Provider
zai
Type
completions
Context
131072
Score
39.4
Pricing
In: $1.1 / 1M tokens
Out: $4.5 / 1M tokens
#40
deepseek-chat

DeepSeek-V3.2-Exp (Non-thinking Mode) is an advanced conversational AI model designed to provide intelligent

Provider
deepseek
Type
completions
Context
128K
Score
39
Pricing
In: $0.28 / 1M tokens
Out: $0.42 / 1M tokens
#41
deepseek-chat-v3-0324

DeepSeek V3, a 685B-parameter, mixture-of-experts model, is the latest iteration of the flagship chat model family from the DeepSeek team. It succeeds the [DeepSeek V3](/deepseek/deepseek-chat-v3) model and performs really well on a variety of tasks.

Provider
deepinfra
Type
completions
Context
163840
Score
39
Pricing
In: $0.28 / 1M tokens
Out: $0.88 / 1M tokens
#42
deepseek-chat-v3.1

DeepSeek-V3.1 is a large hybrid reasoning model (671B parameters, 37B active) that supports both thinking and non-thinking modes via prompt templates. It extends the DeepSeek-V3 base with a two-phase long-context training process, reaching up to 128K tokens, and uses FP8 microscaling for efficient inference. The model improves tool use, code generation, and reasoning efficiency, achieving performance comparable to DeepSeek-R1 on difficult benchmarks while responding more quickly. It supports structured tool calling, code agents, and search agents, making it suitable for research, coding, and agentic workflows. It succeeds the [DeepSeek V3-0324](/deepseek/deepseek-chat-v3-0324) model and performs well on a variety of tasks.

Provider
deepinfra
Type
completions
Context
163840
Score
39
Pricing
In: $0.3 / 1M tokens
Out: $1 / 1M tokens
#43
glm-4.6

GLM-4.6 achieves comprehensive enhancements across multiple domains, including real-world coding, long-context processing, reasoning, searching, writing, and agentic applications.

Provider
zai
Type
completions
Context
200K
Score
38.7
Pricing
In: $0.6 / 1M tokens
Out: $2.2 / 1M tokens
#44
o1

The latest and strongest model family from OpenAI, o1 is designed to spend more time thinking before responding. The o1 model series is trained with large-scale reinforcement learning to reason using chain of thought. The o1 models are optimized for math, science, programming, and other STEM-related tasks. They consistently exhibit PhD-level accuracy on benchmarks in physics, chemistry, and biology. Learn more in the [launch announcement](https://openai.com/o1).

Provider
openai
Type
completions
Context
200K
Score
38.6
Pricing
In: $15 / 1M tokens
Out: $60 / 1M tokens
#45
kimi-k2-0905

Kimi K2 0905 is the September update of [Kimi K2 0711](moonshotai/kimi-k2). It is a large-scale Mixture-of-Experts (MoE) language model developed by Moonshot AI, featuring 1 trillion total parameters with 32 billion active per forward pass. It supports long-context inference up to 256k tokens, extended from the previous 128k. This update improves agentic coding with higher accuracy and better generalization across scaffolds, and enhances frontend coding with more aesthetic and functional outputs for web, 3D, and related tasks. Kimi K2 is optimized for agentic capabilities, including advanced tool use, reasoning, and code synthesis. It excels across coding (LiveCodeBench, SWE-bench), reasoning (ZebraLogic, GPQA), and tool-use (Tau2, AceBench) benchmarks. The model is trained with a novel stack incorporating the MuonClip optimizer for stable large-scale MoE training.

Provider
groq
Type
completions
Context
262144
Score
38.1
Pricing
In: $1 / 1M tokens
Out: $3 / 1M tokens
#46
ling-1t

Ling-1T is a trillion-parameter open-weight large language model developed by inclusionAI and released under the MIT license. It represents the first flagship non-thinking model in the Ling 2.0 series, built around a sparse-activation architecture with roughly 50 billion active parameters per token. The model supports up to 128 K tokens of context and emphasizes efficient reasoning through an “Evolutionary Chain-of-Thought (Evo-CoT)” training strategy. Pre-trained on more than 20 trillion reasoning-dense tokens, Ling-1T achieves strong results across code generation, mathematics, and logical reasoning benchmarks while maintaining high inference efficiency. It employs FP8 mixed-precision training, MoE routing with QK normalization, and MTP layers for compositional reasoning stability. The model also introduces LPO (Linguistics-unit Policy Optimization) for post-training alignment, enhancing sentence-level semantic control. Ling-1T can perform complex text generation, multilingual reasoning, and front-end code synthesis with a focus on both functionality and aesthetics.

Provider
openrouter
Type
completions
Context
131072
Score
37.6
Pricing
In: $0.57 / 1M tokens
Out: $2.28 / 1M tokens
#47
qwen3-coder-480b-a35b-instruct

Qwen3-Coder-480B-A35B-Instruct is a Mixture-of-Experts (MoE) code generation model developed by the Qwen team. It is optimized for agentic coding tasks such as function calling, tool use, and long-context reasoning over repositories. The model features 480 billion total parameters, with 35 billion active per forward pass (8 out of 160 experts). Pricing for the Alibaba endpoints varies by context length. Once a request is greater than 128k input tokens, the higher pricing is used.

Provider
fireworksai
Type
completions
Context
262144
Score
37.4
Pricing
In: $0.45 / 1M tokens
Out: $1.8 / 1M tokens
#48
claude-haiku-4.5

Claude Haiku 4.5 is our fastest, most cost-efficient model, matching Sonnet 4’s performance on coding, computer use, and agent tasks. Claude Haiku 4.5 scores 73.3% on SWE-bench Verified, making it one of the world's best coding models.

Provider
anthropic
Type
completions
Context
200K
Score
37
Pricing
In: $1 / 1M tokens
Out: $5 / 1M tokens
#49
gemini-2.5-flash-lite-preview-09-2025

Gemini 2.5 Flash-Lite is a lightweight reasoning model in the Gemini 2.5 family, optimized for ultra-low latency and cost efficiency. It offers improved throughput, faster token generation, and better performance across common benchmarks compared to earlier Flash models. By default, "thinking" (i.e. multi-pass reasoning) is disabled to prioritize speed, but developers can enable it via the [Reasoning API parameter](https://openrouter.ai/docs/use-cases/reasoning-tokens) to selectively trade off cost for intelligence.

Provider
openrouter
Type
completions
Context
1048576
Score
36.5
Pricing
In: $0.1 / 1M tokens
Out: $0.4 / 1M tokens
#50
qwen3-max

Qwen3-Max is an updated release built on the Qwen3 series, offering major improvements in reasoning, instruction following, multilingual support, and long-tail knowledge coverage compared to the January 2025 version. It delivers higher accuracy in math, coding, logic, and science tasks, follows complex instructions in Chinese and English more reliably, reduces hallucinations, and produces higher-quality responses for open-ended Q&A, writing, and conversation. The model supports over 100 languages with stronger translation and commonsense reasoning, and is optimized for retrieval-augmented generation (RAG) and tool calling, though it does not include a dedicated “thinking” mode.

Provider
openrouter
Type
completions
Context
256K
Score
36.2
Pricing
In: $1.2 / 1M tokens
Out: $6 / 1M tokens
#51
claude-3.7-sonnet

Intelligent model, with visible step‑by‑step reasoning

Provider
anthropic
Type
completions
Context
200K
Score
35.8
Pricing
In: $3 / 1M tokens
Out: $15 / 1M tokens
#52
ring-1t

Ring-1T has undergone continued scaling with large-scale verifiable reward reinforcement learning (RLVR) training, further unlocking the natural language reasoning capabilities of the trillion-parameter foundation model. Through RLHF training, the model's general abilities have also been refined, making this release of Ring-1T more balanced in performance across various tasks. Ring-1T adopts the Ling 2.0 architecture and is trained on the Ling-1T-base foundation model, which contains 1 trillion total parameters with 50 billion activated parameters, supporting a context window of up to 128K tokens.

Provider
openrouter
Type
completions
Context
131072
Score
35.8
Pricing
In: $0.57 / 1M tokens
Out: $2.28 / 1M tokens
#53
qwen3-next-80b-a3b-instruct

Qwen3-Next-80B-A3B-Instruct is an instruction-tuned chat model in the Qwen3-Next series optimized for fast, stable responses without “thinking” traces. It targets complex tasks across reasoning, code generation, knowledge QA, and multilingual use, while remaining robust on alignment and formatting. Compared with prior Qwen3 instruct variants, it focuses on higher throughput and stability on ultra-long inputs and multi-turn dialogues, making it well-suited for RAG, tool use, and agentic workflows that require consistent final answers rather than visible chain-of-thought. The model employs scaling-efficient training and decoding to improve parameter efficiency and inference speed, and has been validated on a broad set of public benchmarks where it reaches or approaches larger Qwen3 systems in several categories while outperforming earlier mid-sized baselines. It is best used as a general assistant, code helper, and long-context task solver in production settings where deterministic, instruction-following outputs are preferred.

Provider
openrouter
Type
completions
Context
262144
Score
35.4
Pricing
In: $0.13 / 1M tokens
Out: $1.1 / 1M tokens
#54
minimax-m1

MiniMax-M1 is a large-scale, open-weight reasoning model designed for extended context and high-efficiency inference. It leverages a hybrid Mixture-of-Experts (MoE) architecture paired with a custom "lightning attention" mechanism, allowing it to process long sequences—up to 1 million tokens—while maintaining competitive FLOP efficiency. With 456 billion total parameters and 45.9B active per token, this variant is optimized for complex, multi-step reasoning tasks. Trained via a custom reinforcement learning pipeline (CISPO), M1 excels in long-context understanding, software engineering, agentic tool use, and mathematical reasoning. Benchmarks show strong performance across FullStackBench, SWE-bench, MATH, GPQA, and TAU-Bench, often outperforming other open models like DeepSeek R1 and Qwen3-235B.

Provider
openrouter
Type
completions
Context
1M
Score
35.2
Pricing
In: $0.42 / 1M tokens
Out: $1.93 / 1M tokens
#55
gpt-5-chat

GPT-5 Chat is designed for advanced, natural, multimodal, and context-aware conversations for enterprise applications.

Provider
openai
Type
completions
Context
400K
Score
34.7
Pricing
In: $1.25 / 1M tokens
Out: $10 / 1M tokens
#56
qwen3-vl-235b-a22b-instruct

Qwen3-VL-235B-A22B Instruct is an open-weight multimodal model that unifies strong text generation with visual understanding across images and video. The Instruct model targets general vision-language use (VQA, document parsing, chart/table extraction, multilingual OCR). The series emphasizes robust perception (recognition of diverse real-world and synthetic categories), spatial understanding (2D/3D grounding), and long-form visual comprehension, with competitive results on public multimodal benchmarks for both perception and reasoning. Beyond analysis, Qwen3-VL supports agentic interaction and tool use: it can follow complex instructions over multi-image, multi-turn dialogues; align text to video timelines for precise temporal queries; and operate GUI elements for automation tasks. The models also enable visual coding workflows—turning sketches or mockups into code and assisting with UI debugging—while maintaining strong text-only performance comparable to the flagship Qwen3 language models. This makes Qwen3-VL suitable for production scenarios spanning document AI, multilingual OCR, software/UI assistance, spatial/embodied tasks, and research on vision-language agents.

Provider
openrouter
Type
completions
Context
131072
Score
33.9
Pricing
In: $0.37 / 1M tokens
Out: $1.73 / 1M tokens
#57
llama-3.1-nemotron-ultra-253b-v1

Llama-3.1-Nemotron-Ultra-253B-v1 is a large language model (LLM) optimized for advanced reasoning, human-interactive chat, retrieval-augmented generation (RAG), and tool-calling tasks. Derived from Meta’s Llama-3.1-405B-Instruct, it has been significantly customized using Neural Architecture Search (NAS), resulting in enhanced efficiency, reduced memory usage, and improved inference latency. The model supports a context length of up to 128K tokens and can operate efficiently on an 8x NVIDIA H100 node. Note: you must include `detailed thinking on` in the system prompt to enable reasoning. Please see [Usage Recommendations](https://huggingface.co/nvidia/Llama-3_1-Nemotron-Ultra-253B-v1#quick-start-and-usage-recommendations) for more.

Provider
openrouter
Type
completions
Context
131072
Score
33.7
Pricing
In: $0.6 / 1M tokens
Out: $1.8 / 1M tokens
#58
gpt-4.1

GPT-4.1 is OpenAI's flagship model for complex tasks. It is well suited for problem solving across domains.

Provider
openai
Type
completions
Context
1047576
Score
32.2
Pricing
In: $2 / 1M tokens
Out: $8 / 1M tokens
#59
gpt-4.1-mini

GPT-4.1 mini provides a balance between intelligence, speed, and cost that makes it an attractive model for many use cases.

Provider
openai
Type
completions
Context
1047576
Score
31.9
Pricing
In: $0.4 / 1M tokens
Out: $1.6 / 1M tokens
#60
nemotron-nano-9b-v2

NVIDIA-Nemotron-Nano-9B-v2 is a large language model (LLM) trained from scratch by NVIDIA, and designed as a unified model for both reasoning and non-reasoning tasks. It responds to user queries and tasks by first generating a reasoning trace and then concluding with a final response. The model's reasoning capabilities can be controlled via a system prompt. If the user prefers the model to provide its final answer without intermediate reasoning traces, it can be configured to do so.

Provider
deepinfra
Type
completions
Context
128K
Score
31.9
Pricing
In: $0.04 / 1M tokens
Out: $0.16 / 1M tokens
#61
qwen3-32b

Qwen3-32B is a dense 32.8B parameter causal language model from the Qwen3 series, optimized for both complex reasoning and efficient dialogue. It supports seamless switching between a "thinking" mode for tasks like math, coding, and logical inference, and a "non-thinking" mode for faster, general-purpose conversation. The model demonstrates strong performance in instruction-following, agent tool use, creative writing, and multilingual tasks across 100+ languages and dialects. It natively handles 32K token contexts and can extend to 131K tokens using YaRN-based scaling.

Provider
deepinfra
Type
completions
Context
40960
Score
30.9
Pricing
In: $0.1 / 1M tokens
Out: $0.3 / 1M tokens
#62
claude-3-5-sonnet-20240620

Claude most intelligent model. Highest level of intelligence and capability

Provider
anthropic
Type
completions
Context
200K
Score
30.2
Pricing
In: $3 / 1M tokens
Out: $15 / 1M tokens
#63
gemini-2.5-flash

Google's best model in terms of price-performance, offering well-rounded capabilities.

Provider
gemini
Type
completions
Context
1M
Score
30
Pricing
In: $0.15 / 1M tokens
Out: $0.6 / 1M tokens
#64
gemini-2.5-flash-preview

Google's best model in terms of price-performance, offering well-rounded capabilities. Gemini 2.5 Flash rate limits are more restricted since it is an experimental / preview model.

Provider
gemini
Type
completions
Context
1M
Score
30
Pricing
In: $0.15 / 1M tokens
Out: $0.6 / 1M tokens
#65
gemini-2.5-flash-image

Gemini 2.5 Flash Image, a.k.a. "Nano Banana," is now generally available. It is a state of the art image generation model with contextual understanding. It is capable of image generation, edits, and multi-turn conversations. Aspect ratios can be controlled with the [image_config API Parameter](https://openrouter.ai/docs/features/multimodal/image-generation#image-aspect-ratio-configuration)

Provider
openrouter
Type
completions
Context
32768
Score
30
Pricing
In: $0.3 / 1M tokens
Out: $2.5 / 1M tokens
#66
gemini-2.5-flash-image-preview

Gemini 2.5 Flash Image Preview is a state of the art image generation model with contextual understanding. It is capable of image generation, edits, and multi-turn conversations.

Provider
openrouter
Type
completions
Context
32768
Score
30
Pricing
In: $0.3 / 1M tokens
Out: $2.5 / 1M tokens
#67
gemini-2.5-flash-lite-preview-06-17

Gemini 2.5 Flash-Lite is a lightweight reasoning model in the Gemini 2.5 family, optimized for ultra-low latency and cost efficiency. It offers improved throughput, faster token generation, and better performance across common benchmarks compared to earlier Flash models. By default, "thinking" (i.e. multi-pass reasoning) is disabled to prioritize speed, but developers can enable it via the [Reasoning API parameter](https://openrouter.ai/docs/use-cases/reasoning-tokens) to selectively trade off cost for intelligence.

Provider
openrouter
Type
completions
Context
1048576
Score
30
Pricing
In: $0.1 / 1M tokens
Out: $0.4 / 1M tokens
#68
qwen3-30b-a3b

Qwen3, the latest generation in the Qwen large language model series, features both dense and mixture-of-experts (MoE) architectures to excel in reasoning, multilingual support, and advanced agent tasks. Its unique ability to switch seamlessly between a thinking mode for complex reasoning and a non-thinking mode for efficient dialogue ensures versatile, high-quality performance. Significantly outperforming prior models like QwQ and Qwen2.5, Qwen3 delivers superior mathematics, coding, commonsense reasoning, creative writing, and interactive dialogue capabilities. The Qwen3-30B-A3B variant includes 30.5 billion parameters (3.3 billion activated), 48 layers, 128 experts (8 activated per task), and supports up to 131K token contexts with YaRN, setting a new standard among open-source models.

Provider
deepinfra
Type
completions
Context
40960
Score
29.2
Pricing
In: $0.08 / 1M tokens
Out: $0.29 / 1M tokens
#69
mistral-medium-3.1

Mistral Medium 3.1 is an updated version of Mistral Medium 3, which is a high-performance enterprise-grade language model designed to deliver frontier-level capabilities at significantly reduced operational cost. It balances state-of-the-art reasoning and multimodal performance with 8× lower cost compared to traditional large models, making it suitable for scalable deployments across professional and industrial use cases. The model excels in domains such as coding, STEM reasoning, and enterprise adaptation. It supports hybrid, on-prem, and in-VPC deployments and is optimized for integration into custom workflows. Mistral Medium 3.1 offers competitive accuracy relative to larger models like Claude Sonnet 3.5/3.7, Llama 4 Maverick, and Command R+, while maintaining broad compatibility across cloud environments.

Provider
mistralai
Type
completions
Context
128K
Score
28.1
Pricing
In: $0.4 / 1M tokens
Out: $2 / 1M tokens
#70
ernie-4.5-300b-a47b

ERNIE-4.5-300B-A47B is a 300B parameter Mixture-of-Experts (MoE) language model developed by Baidu as part of the ERNIE 4.5 series. It activates 47B parameters per token and supports text generation in both English and Chinese. Optimized for high-throughput inference and efficient scaling, it uses a heterogeneous MoE structure with advanced routing and quantization strategies, including FP8 and 2-bit formats. This version is fine-tuned for language-only tasks and supports reasoning, tool parameters, and extended context lengths up to 131k tokens. Suitable for general-purpose LLM applications with high reasoning and throughput demands.

Provider
openrouter
Type
completions
Context
123K
Score
27.9
Pricing
In: $0.28 / 1M tokens
Out: $1.1 / 1M tokens
#71
qwen3-vl-30b-a3b-instruct

Qwen3-VL-30B-A3B-Instruct is a multimodal model that unifies strong text generation with visual understanding for images and videos. Its Instruct variant optimizes instruction-following for general multimodal tasks. It excels in perception of real-world/synthetic categories, 2D/3D spatial grounding, and long-form visual comprehension, achieving competitive multimodal benchmark results. For agentic use, it handles multi-image multi-turn instructions, video timeline alignments, GUI automation, and visual coding from sketches to debugged UI. Text performance matches flagship Qwen3 models, suiting document AI, OCR, UI assistance, spatial tasks, and agent research.

Provider
openrouter
Type
completions
Context
262144
Score
27.4
Pricing
In: $0.17 / 1M tokens
Out: $0.63 / 1M tokens
#72
llama-4-maverick

Llama 4 Maverick 17B Instruct (128E) is a high-capacity multimodal language model from Meta, built on a mixture-of-experts (MoE) architecture with 128 experts and 17 billion active parameters per forward pass (400B total). It supports multilingual text and image input, and produces multilingual text and code output across 12 supported languages. Optimized for vision-language tasks, Maverick is instruction-tuned for assistant-like behavior, image reasoning, and general-purpose multimodal interaction. Maverick features early fusion for native multimodality and a 1 million token context window. It was trained on a curated mixture of public, licensed, and Meta-platform data, covering ~22 trillion tokens, with a knowledge cutoff in August 2024. Released on April 5, 2025 under the Llama 4 Community License, Maverick is suited for research and commercial applications requiring advanced multimodal understanding and high model throughput.

Provider
deepinfra
Type
completions
Context
1048576
Score
26.4
Pricing
In: $0.15 / 1M tokens
Out: $0.6 / 1M tokens
#73
DeepSeek-V3

A strong Mixture-of-Experts (MoE) language model with 671B total parameters with 37B activated for each token from Deepseek.

Provider
deepinfra
Type
completions
Context
16K
Score
25.9
Pricing
In: $0.49 / 1M tokens
Out: $0.89 / 1M tokens
#74
deepseek-v3-03-24

DeepSeek V3, a 685B-parameter, mixture-of-experts model, is the latest iteration of the flagship chat model family from the DeepSeek team. It succeeds the [DeepSeek V3](/deepseek/deepseek-chat-v3) model and performs really well on a variety of tasks.

Provider
fireworksai
Type
completions
Context
163840
Score
25.9
Pricing
In: $0.9 / 1M tokens
Out: $0.9 / 1M tokens
#75
deepseek-v3.1-terminus:exacto

DeepSeek-V3.1 Terminus is an update to [DeepSeek V3.1](/deepseek/deepseek-chat-v3.1) that maintains the model's original capabilities while addressing issues reported by users, including language consistency and agent capabilities, further optimizing the model's performance in coding and search agents. It is a large hybrid reasoning model (671B parameters, 37B active) that supports both thinking and non-thinking modes. It extends the DeepSeek-V3 base with a two-phase long-context training process, reaching up to 128K tokens, and uses FP8 microscaling for efficient inference. Users can control the reasoning behaviour with the `reasoning` `enabled` boolean. [Learn more in our docs](https://openrouter.ai/docs/use-cases/reasoning-tokens#enable-reasoning-with-default-config) The model improves tool use, code generation, and reasoning efficiency, achieving performance comparable to DeepSeek-R1 on difficult benchmarks while responding more quickly. It supports structured tool calling, code agents, and search agents, making it suitable for research, coding, and agentic workflows.

Provider
openrouter
Type
completions
Context
131072
Score
25.9
Pricing
In: $0.28 / 1M tokens
Out: $1.07 / 1M tokens
#76
mistral-medium-3

Mistral Medium 3 is a high-performance enterprise-grade language model designed to deliver frontier-level capabilities at significantly reduced operational cost. It balances state-of-the-art reasoning and multimodal performance with 8× lower cost compared to traditional large models, making it suitable for scalable deployments across professional and industrial use cases. The model excels in domains such as coding, STEM reasoning, and enterprise adaptation. It supports hybrid, on-prem, and in-VPC deployments and is optimized for integration into custom workflows. Mistral Medium 3 offers competitive accuracy relative to larger models like Claude Sonnet 3.5/3.7, Llama 4 Maverick, and Command R+, while maintaining broad compatibility across cloud environments.

Provider
mistralai
Type
completions
Context
128K
Score
25.6
Pricing
In: $0.4 / 1M tokens
Out: $2 / 1M tokens
#77
gpt-4o

High-intelligence flagship model for complex, multi-step tasks. GPT-4o is cheaper and faster than GPT-4 Turbo. It is multimodal (accepting text or image inputs and outputting text), and it has the same high intelligence as GPT-4 Turbo but is much more efficient—it generates text 2x faster and is 50% cheaper. Additionally, GPT-4o has the best vision and performance across non-English languages of any of our models. GPT-4o is available in the OpenAI API to paying customers.

Provider
openai
Type
completions
Context
128K
Score
24
Pricing
In: $2.5 / 1M tokens
Out: $10 / 1M tokens
#78
gpt-4o-2024-05-13

GPT-4o ("o" for "omni") is OpenAI's latest AI model, supporting both text and image inputs with text outputs. It maintains the intelligence level of [GPT-4 Turbo](/models/openai/gpt-4-turbo) while being twice as fast and 50% more cost-effective. GPT-4o also offers improved performance in processing non-English languages and enhanced visual capabilities. For benchmarking against other models, it was briefly called ["im-also-a-good-gpt2-chatbot"](https://twitter.com/LiamFedus/status/1790064963966370209) #multimodal

Provider
openai
Type
completions
Context
128K
Score
24
Pricing
In: $5 / 1M tokens
Out: $15 / 1M tokens
#79
devstral-medium

Devstral Medium is a high-performance code generation and agentic reasoning model developed jointly by Mistral AI and All Hands AI. Positioned as a step up from Devstral Small, it achieves 61.6% on SWE-Bench Verified, placing it ahead of Gemini 2.5 Pro and GPT-4.1 in code-related tasks, at a fraction of the cost. It is designed for generalization across prompt styles and tool use in code agents and frameworks. Devstral Medium is available via API only (not open-weight), and supports enterprise deployment on private infrastructure, with optional fine-tuning capabilities.

Provider
mistralai
Type
completions
Context
128K
Score
23.9
Pricing
In: $0.4 / 1M tokens
Out: $2 / 1M tokens
#80
gemini-2.0-flash

Google's most capable multi-modal model with great performance across all tasks, with a 1 million token context window, and built for the era of Agents.

Provider
gemini
Type
completions
Context
1M
Score
23.4
Pricing
In: $0.1 / 1M tokens
Out: $0.4 / 1M tokens
#81
gemini-2.0-flash-001

Gemini Flash 2.0 offers a significantly faster time to first token (TTFT) compared to [Gemini Flash 1.5](/google/gemini-flash-1.5), while maintaining quality on par with larger models like [Gemini Pro 1.5](/google/gemini-pro-1.5). It introduces notable enhancements in multimodal understanding, coding capabilities, complex instruction following, and function calling. These advancements come together to deliver more seamless and robust agentic experiences.

Provider
openrouter
Type
completions
Context
1048576
Score
23.4
Pricing
In: $0.13 / 1M tokens
Out: $0.5 / 1M tokens
#82
qwen3-235b-a22b

Qwen3-235B-A22B is a 235B parameter mixture-of-experts (MoE) model developed by Qwen, activating 22B parameters per forward pass. It supports seamless switching between a "thinking" mode for complex reasoning, math, and code tasks, and a "non-thinking" mode for general conversational efficiency. The model demonstrates strong reasoning ability, multilingual support (100+ languages and dialects), advanced instruction-following, and agent tool-calling capabilities. It natively handles a 32K token context window and extends up to 131K tokens using YaRN-based scaling.

Provider
deepinfra
Type
completions
Context
40960
Score
23.3
Pricing
In: $0.13 / 1M tokens
Out: $0.6 / 1M tokens
#83
kimi-linear-48b-a3b-instruct

Kimi Linear is a hybrid linear attention architecture that outperforms traditional full attention methods across various contexts, including short, long, and reinforcement learning (RL) scaling regimes. At its core is Kimi Delta Attention (KDA)—a refined version of Gated DeltaNet that introduces a more efficient gating mechanism to optimize the use of finite-state RNN memory. Kimi Linear achieves superior performance and hardware efficiency, especially for long-context tasks. It reduces the need for large KV caches by up to 75% and boosts decoding throughput by up to 6x for contexts as long as 1M tokens.

Provider
openrouter
Type
completions
Context
1048576
Score
22.8
Pricing
In: $0.3 / 1M tokens
Out: $0.6 / 1M tokens
#84
llama-3.1-405b-instruct

The highly anticipated 400B class of Llama3 is here! Clocking in at 128k context with impressive eval scores, the Meta AI team continues to push the frontier of open-source LLMs. Meta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors. This 405B instruct-tuned version is optimized for high quality dialogue usecases. It has demonstrated strong performance compared to leading closed-source models including GPT-4o and Claude 3.5 Sonnet in evaluations. To read more about the model release, [click here](https://ai.meta.com/blog/meta-llama-3-1/). Usage of this model is subject to [Meta's Acceptable Use Policy](https://llama.meta.com/llama3/use-policy/).

Provider
deepinfra
Type
completions
Context
32768
Score
22.2
Pricing
In: $0.8 / 1M tokens
Out: $0.8 / 1M tokens
#85
llama-3.1-405b

Meta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors. This is the base 405B pre-trained version. It has demonstrated strong performance compared to leading closed-source models in human evaluations. To read more about the model release, [click here](https://ai.meta.com/blog/meta-llama-3/). Usage of this model is subject to [Meta's Acceptable Use Policy](https://llama.meta.com/llama3/use-policy/).

Provider
openrouter
Type
completions
Context
32768
Score
22.2
Pricing
In: $3 / 1M tokens
Out: $3 / 1M tokens
#86
nova-premier-v1

Amazon Nova Premier is the most capable of Amazon’s multimodal models for complex reasoning tasks and for use as the best teacher for distilling custom models.

Provider
openrouter
Type
completions
Context
1M
Score
22
Pricing
In: $2.5 / 1M tokens
Out: $12.5 / 1M tokens
#87
gpt-4.1-nano

GPT-4.1 nano is the fastest, most cost-effective GPT-4.1 model.

Provider
openai
Type
completions
Context
1047576
Score
20.7
Pricing
In: $0.1 / 1M tokens
Out: $0.4 / 1M tokens
#88
glm-4.5v

GLM-4.5V is a vision-language foundation model for multimodal agent applications. Built on a Mixture-of-Experts (MoE) architecture with 106B parameters and 12B activated parameters, it achieves state-of-the-art results in video understanding, image Q&A, OCR, and document parsing, with strong gains in front-end web coding, grounding, and spatial reasoning. It offers a hybrid inference mode: a "thinking mode" for deep reasoning and a "non-thinking mode" for fast responses.

Provider
parasail
Type
completions
Context
65536
Score
20.1
Pricing
In: $0.5 / 1M tokens
Out: $1.8 / 1M tokens
#89
gemini-2.5-flash-lite

Gemini 2.5 Flash-Lite is a lightweight reasoning model in the Gemini 2.5 family, optimized for ultra-low latency and cost efficiency. It offers improved throughput, faster token generation, and better performance across common benchmarks compared to earlier Flash models. By default, "thinking" (i.e. multi-pass reasoning) is disabled to prioritize speed, but developers can enable it via the [Reasoning API parameter](https://openrouter.ai/docs/use-cases/reasoning-tokens) to selectively trade off cost for intelligence.

Provider
openrouter
Type
completions
Context
1048576
Score
19.9
Pricing
In: $0.1 / 1M tokens
Out: $0.4 / 1M tokens
#90
qwen3-14b

Qwen3-14B is a dense 14.8B parameter causal language model from the Qwen3 series, designed for both complex reasoning and efficient dialogue. It supports seamless switching between a "thinking" mode for tasks like math, programming, and logical inference, and a "non-thinking" mode for general-purpose conversation. The model is fine-tuned for instruction-following, agent tool use, creative writing, and multilingual tasks across 100+ languages and dialects. It natively handles 32K token contexts and can extend to 131K tokens using YaRN-based scaling.

Provider
deepinfra
Type
completions
Context
40960
Score
19.8
Pricing
In: $0.06 / 1M tokens
Out: $0.24 / 1M tokens
#91
DeepSeek-R1-Distill-Llama-70B

DeepSeek-R1-Distill models are fine-tuned based on open-source models, using samples generated by DeepSeek-R1.

Provider
deepinfra
Type
completions
Context
131072
Score
19.7
Pricing
In: $0.5 / 1M tokens
Out: $1 / 1M tokens
#92
deepseek-r1-distill-llama-70b

DeepSeek R1 Distill Llama 70B is a distilled large language model based on [Llama-3.3-70B-Instruct](/meta-llama/llama-3.3-70b-instruct), using outputs from [DeepSeek R1](/deepseek/deepseek-r1). The model combines advanced distillation techniques to achieve high performance across multiple benchmarks, including: - AIME 2024 pass@1: 70.0 - MATH-500 pass@1: 94.5 - CodeForces Rating: 1633 The model leverages fine-tuning from DeepSeek R1's outputs, enabling competitive performance comparable to larger frontier models.

Provider
openrouter
Type
completions
Context
131072
Score
19.7
Pricing
In: $0.11 / 1M tokens
Out: $0.38 / 1M tokens
#93
claude-3-opus-20240229

Powerful model for highly complex tasks. Top-level intelligence, fluency, and understanding

Provider
anthropic
Type
completions
Context
200K
Score
19.5
Pricing
In: $5 / 1M tokens
Out: $75 / 1M tokens
#94
qwen-2.5-72b-instruct

Qwen2.5 72B is the latest series of Qwen large language models. Qwen2.5 brings the following improvements upon Qwen2: - Significantly more knowledge and has greatly improved capabilities in coding and mathematics, thanks to our specialized expert models in these domains. - Significant improvements in instruction following, generating long texts (over 8K tokens), understanding structured data (e.g, tables), and generating structured outputs especially JSON. More resilient to the diversity of system prompts, enhancing role-play implementation and condition-setting for chatbots. - Long-context Support up to 128K tokens and can generate up to 8K tokens. - Multilingual support for over 29 languages, including Chinese, English, French, Spanish, Portuguese, German, Italian, Russian, Japanese, Korean, Vietnamese, Thai, Arabic, and more. Usage of this model is subject to [Tongyi Qianwen LICENSE AGREEMENT](https://huggingface.co/Qwen/Qwen1.5-110B-Chat/blob/main/LICENSE).

Provider
deepinfra
Type
completions
Context
32768
Score
19.5
Pricing
In: $0.12 / 1M tokens
Out: $0.39 / 1M tokens
#95
llama-3.3-70b-instruct

The Meta Llama 3.3 multilingual large language model (LLM) is a pretrained and instruction tuned generative model in 70B (text in/text out). The Llama 3.3 instruction tuned text only model is optimized for multilingual dialogue use cases and outperforms many of the available open source and closed chat models on common industry benchmarks. Supported languages: English, German, French, Italian, Portuguese, Hindi, Spanish, and Thai. [Model Card](https://github.com/meta-llama/llama-models/blob/main/models/llama3_3/MODEL_CARD.md)

Provider
deepinfra
Type
completions
Context
131072
Score
19.2
Pricing
In: $0.04 / 1M tokens
Out: $0.12 / 1M tokens
#96
command-a

Command A is an open-weights 111B parameter model with a 256k context window focused on delivering great performance across agentic, multilingual, and coding use cases. Compared to other leading proprietary and open-weights models Command A delivers maximum performance with minimum hardware costs, excelling on business-critical agentic and multilingual tasks.

Provider
openrouter
Type
completions
Context
32768
Score
19.2
Pricing
In: $2.25 / 1M tokens
Out: $9 / 1M tokens
#97
devstral-small

Devstral Small 1.1 is a 24B parameter open-weight language model for software engineering agents, developed by Mistral AI in collaboration with All Hands AI. Finetuned from Mistral Small 3.1 and released under the Apache 2.0 license, it features a 128k token context window and supports both Mistral-style function calling and XML output formats. Designed for agentic coding workflows, Devstral Small 1.1 is optimized for tasks such as codebase exploration, multi-file edits, and integration into autonomous development agents like OpenHands and Cline. It achieves 53.6% on SWE-Bench Verified, surpassing all other open models on this benchmark, while remaining lightweight enough to run on a single 4090 GPU or Apple silicon machine. The model uses a Tekken tokenizer with a 131k vocabulary and is deployable via vLLM, Transformers, Ollama, LM Studio, and other OpenAI-compatible runtimes.

Provider
deepinfra
Type
completions
Context
128K
Score
18.5
Pricing
In: $0.07 / 1M tokens
Out: $0.28 / 1M tokens
#98
llama3-1-70b-instruct-v1.0

Ideal for content creation, conversational AI, language understanding, research development, and enterprise applications. With new latency-optimized inference capabilities available in public preview, this model sets a new performance benchmark for AI solutions that process extensive text inputs, enabling applications to respond more quickly and handle longer queries more efficiently.

Provider
bedrock
Type
completions
Context
128K
Score
17.6
Pricing
In: $0.72 / 1M tokens
Out: $0.72 / 1M tokens
#99
llama-3.1-70b-instruct

Meta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors. This 70B instruct-tuned version is optimized for high quality dialogue usecases. It has demonstrated strong performance compared to leading closed-source models in human evaluations. To read more about the model release, [click here](https://ai.meta.com/blog/meta-llama-3-1/). Usage of this model is subject to [Meta's Acceptable Use Policy](https://llama.meta.com/llama3/use-policy/).

Provider
deepinfra
Type
completions
Context
131072
Score
17.6
Pricing
In: $0.1 / 1M tokens
Out: $0.28 / 1M tokens
#100
qwen3-vl-8b-instruct

Qwen3-VL-8B-Instruct is a multimodal vision-language model from the Qwen3-VL series, built for high-fidelity understanding and reasoning across text, images, and video. It features improved multimodal fusion with Interleaved-MRoPE for long-horizon temporal reasoning, DeepStack for fine-grained visual-text alignment, and text-timestamp alignment for precise event localization. The model supports a native 256K-token context window, extensible to 1M tokens, and handles both static and dynamic media inputs for tasks like document parsing, visual question answering, spatial reasoning, and GUI control. It achieves text understanding comparable to leading LLMs while expanding OCR coverage to 32 languages and enhancing robustness under varied visual conditions.

Provider
openrouter
Type
completions
Context
131072
Score
17.6
Pricing
In: $0.14 / 1M tokens
Out: $0.63 / 1M tokens
#101
llama-3.3-nemotron-super-49b-v1.5

Llama-3.3-Nemotron-Super-49B-v1.5 is a 49B-parameter, English-centric reasoning/chat model derived from Meta’s Llama-3.3-70B-Instruct with a 128K context. It’s post-trained for agentic workflows (RAG, tool calling) via SFT across math, code, science, and multi-turn chat, followed by multiple RL stages; Reward-aware Preference Optimization (RPO) for alignment, RL with Verifiable Rewards (RLVR) for step-wise reasoning, and iterative DPO to refine tool-use behavior. A distillation-driven Neural Architecture Search (“Puzzle”) replaces some attention blocks and varies FFN widths to shrink memory footprint and improve throughput, enabling single-GPU (H100/H200) deployment while preserving instruction following and CoT quality. In internal evaluations (NeMo-Skills, up to 16 runs, temp = 0.6, top_p = 0.95), the model reports strong reasoning/coding results, e.g., MATH500 pass@1 = 97.4, AIME-2024 = 87.5, AIME-2025 = 82.71, GPQA = 71.97, LiveCodeBench (24.10–25.02) = 73.58, and MMLU-Pro (CoT) = 79.53. The model targets practical inference efficiency (high tokens/s, reduced VRAM) with Transformers/vLLM support and explicit “reasoning on/off” modes (chat-first defaults, greedy recommended when disabled). Suitable for building agents, assistants, and long-context retrieval systems where balanced accuracy-to-cost and reliable tool use matter.

Provider
openrouter
Type
completions
Context
131072
Score
17
Pricing
In: $0.1 / 1M tokens
Out: $0.4 / 1M tokens
#102
nova-pro-v1

Amazon Nova Pro 1.0 is a capable multimodal model from Amazon focused on providing a combination of accuracy, speed, and cost for a wide range of tasks. As of December 2024, it achieves state-of-the-art performance on key benchmarks including visual question answering (TextVQA) and video understanding (VATEX). Amazon Nova Pro demonstrates strong capabilities in processing both visual and textual information and at analyzing financial documents. **NOTE**: Video input is not supported at this time.

Provider
openrouter
Type
completions
Context
300K
Score
16.6
Pricing
In: $0.8 / 1M tokens
Out: $3.2 / 1M tokens
#103
codestral-2501

Mistral's cutting-edge language model for coding. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation. Learn more on their blog post: https://mistral.ai/news/codestral-2501/

Provider
mistralai
Type
completions
Context
256K
Score
16.3
Pricing
In: $0.3 / 1M tokens
Out: $0.9 / 1M tokens
#104
codestral-2508

Mistral's cutting-edge language model for coding released end of July 2025. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation. [Blog Post](https://mistral.ai/news/codestral-25-08)

Provider
mistralai
Type
completions
Context
256K
Score
16.3
Pricing
In: $0.3 / 1M tokens
Out: $0.9 / 1M tokens
#105
llama-4-scout

Llama 4 Scout 17B Instruct (16E) is a mixture-of-experts (MoE) language model developed by Meta, activating 17 billion parameters out of a total of 109B. It supports native multimodal input (text and image) and multilingual output (text and code) across 12 supported languages. Designed for assistant-style interaction and visual reasoning, Scout uses 16 experts per forward pass and features a context length of 10 million tokens, with a training corpus of ~40 trillion tokens. Built for high efficiency and local or commercial deployment, Llama 4 Scout incorporates early fusion for seamless modality integration. It is instruction-tuned for use in multilingual chat, captioning, and image understanding tasks. Released under the Llama 4 Community License, it was last trained on data up to August 2024 and launched publicly on April 5, 2025.

Provider
deepinfra
Type
completions
Context
327680
Score
16.1
Pricing
In: $0.08 / 1M tokens
Out: $0.3 / 1M tokens
#106
llama-3.1-nemotron-70b-instruct

NVIDIA's Llama 3.1 Nemotron 70B is a language model designed for generating precise and useful responses. Leveraging [Llama 3.1 70B](/models/meta-llama/llama-3.1-70b-instruct) architecture and Reinforcement Learning from Human Feedback (RLHF), it excels in automatic alignment benchmarks. This model is tailored for applications requiring high accuracy in helpfulness and response generation, suitable for diverse user queries across multiple domains. Usage of this model is subject to [Meta's Acceptable Use Policy](https://www.llama.com/llama3/use-policy/).

Provider
deepinfra
Type
completions
Context
131072
Score
14.8
Pricing
In: $0.12 / 1M tokens
Out: $0.3 / 1M tokens
#107
Llama-3.1-Nemotron-70B-Instruct-HF

Llama-3.1-Nemotron-70B-Instruct is a large language model customized by NVIDIA in order to improve the helpfulness of LLM generated responses.

Provider
togetherai
Type
completions
Context
32768
Score
14.8
Pricing
In: $0.9 / 1M tokens
Out: $0.9 / 1M tokens
#108
qwen3-8b

Qwen3-8B is a dense 8.2B parameter causal language model from the Qwen3 series, designed for both reasoning-heavy tasks and efficient dialogue. It supports seamless switching between "thinking" mode for math, coding, and logical inference, and "non-thinking" mode for general conversation. The model is fine-tuned for instruction-following, agent integration, creative writing, and multilingual use across 100+ languages and dialects. It natively supports a 32K token context window and can extend to 131K tokens with YaRN scaling.

Provider
openrouter
Type
completions
Context
128K
Score
13
Pricing
In: $0.04 / 1M tokens
Out: $0.14 / 1M tokens
#109
gemma-3-27b-it

Gemma 3 introduces multimodality, supporting vision-language input and text outputs. It handles context windows up to 128k tokens, understands over 140 languages, and offers improved math, reasoning, and chat capabilities, including structured outputs and function calling. Gemma 3 27B is Google's latest open source model, successor to [Gemma 2](google/gemma-2-27b-it)

Provider
deepinfra
Type
completions
Context
131072
Score
12.8
Pricing
In: $0.09 / 1M tokens
Out: $0.17 / 1M tokens
#110
gpt-3.5-turbo

The latest GPT-3.5 Turbo model with higher accuracy at responding in requested formats and a fix for a bug which caused a text encoding issue for non-English language function calls.

Provider
openai
Type
completions
Context
16385
Score
10.7
Pricing
In: $0.5 / 1M tokens
Out: $1.5 / 1M tokens
#111
gpt-3.5-turbo-instruct

This model is a variant of GPT-3.5 Turbo tuned for instructional prompts and omitting chat-related optimizations. Training data: up to Sep 2021.

Provider
openai
Type
completions
Context
4095
Score
10.7
Pricing
In: $1.5 / 1M tokens
Out: $2 / 1M tokens
#112
gemma-3-12b-it

Gemma 3 introduces multimodality, supporting vision-language input and text outputs. It handles context windows up to 128k tokens, understands over 140 languages, and offers improved math, reasoning, and chat capabilities, including structured outputs and function calling. Gemma 3 12B is the second largest in the family of Gemma 3 models after [Gemma 3 27B](google/gemma-3-27b-it)

Provider
deepinfra
Type
completions
Context
131072
Score
10.6
Pricing
In: $0.05 / 1M tokens
Out: $0.1 / 1M tokens
#113
nova-lite-v1

Amazon Nova Lite 1.0 is a very low-cost multimodal model from Amazon that focused on fast processing of image, video, and text inputs to generate text output. Amazon Nova Lite can handle real-time customer interactions, document analysis, and visual question-answering tasks with high accuracy. With an input context of 300K tokens, it can analyze multiple images or up to 30 minutes of video in a single input.

Provider
openrouter
Type
completions
Context
300K
Score
10.4
Pricing
In: $0.06 / 1M tokens
Out: $0.24 / 1M tokens
#114
llama3-1-8b-instruct-v1.0

Ideal for limited computational power and resources, faster training times, and edge devices.

Provider
bedrock
Type
completions
Context
128K
Score
8.5
Pricing
In: $0.22 / 1M tokens
Out: $0.22 / 1M tokens
#115
llama-3.1-8b-instruct

Meta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors. This 8B instruct-tuned version is fast and efficient. It has demonstrated strong performance compared to leading closed-source models in human evaluations. To read more about the model release, [click here](https://ai.meta.com/blog/meta-llama-3-1/). Usage of this model is subject to [Meta's Acceptable Use Policy](https://llama.meta.com/llama3/use-policy/).

Provider
deepinfra
Type
completions
Context
131072
Score
8.5
Pricing
In: $0.01 / 1M tokens
Out: $0.02 / 1M tokens
#116
nova-micro-v1

Amazon Nova Micro 1.0 is a text-only model that delivers the lowest latency responses in the Amazon Nova family of models at a very low cost. With a context length of 128K tokens and optimized for speed and cost, Amazon Nova Micro excels at tasks such as text summarization, translation, content classification, interactive chat, and brainstorming. It has simple mathematical reasoning and coding abilities.

Provider
openrouter
Type
completions
Context
128K
Score
8.3
Pricing
In: $0.04 / 1M tokens
Out: $0.14 / 1M tokens
#117
lfm2-8b-a1b

Model created via inbox interface

Provider
openrouter
Type
completions
Context
32768
Score
7.3
Pricing
In: $0.05 / 1M tokens
Out: $0.1 / 1M tokens
#118
gemma-3-4b-it

Gemma 3 introduces multimodality, supporting vision-language input and text outputs. It handles context windows up to 128k tokens, understands over 140 languages, and offers improved math, reasoning, and chat capabilities, including structured outputs and function calling.

Provider
deepinfra
Type
completions
Context
131072
Score
6.4
Pricing
In: $0.02 / 1M tokens
Out: $0.04 / 1M tokens
#119
ministral-3b

Ministral 3B is a 3B parameter model optimized for on-device and edge computing. It excels in knowledge, commonsense reasoning, and function-calling, outperforming larger models like Mistral 7B on most benchmarks. Supporting up to 128k context length, it’s ideal for orchestrating agentic workflows and specialist tasks with efficient inference.

Provider
mistralai
Type
completions
Context
128K
Score
5.4
Pricing
In: $0.04 / 1M tokens
Out: $0.04 / 1M tokens
Programming Model Rankings | LangDB