Melhores modelos de IA para programação, classificados por uso real

Classificações de modelos atualizadas com base em dados reais de uso.

Os modelos desta coleção programação são classificados pelo total de tokens de prompt e de conclusão processados pela API do OpenRouter nos últimos 7 dias. Exibindo os 10 melhores modelos. As classificações medem o uso no OpenRouter e refletem a adoção, não a qualidade do modelo ou o desempenho em testes de referência.

Os melhores modelos de IA para programação estão classificados abaixo de acordo com o uso real pelos desenvolvedores no OpenRouter na última semana, e não pelas pontuações em testes de desempenho. Os melhores modelos atualmente são DeepSeek V4.1 Flash 1017, Hy4 flash e DeepSeek V4.1 Flash. Cada listagem mostra o tamanho do contexto e os preços do modelo quando o OpenRouter dispõe dessas informações, para que você possa avaliar o custo em relação ao uso antes de escolher um modelo. Todos os modelos estão disponíveis por meio de uma única chave de API do OpenRouter, para que você possa testá-los na sua própria base de código e alternar entre eles sem reescrever sua integração.

Ranking de LLMs para Software e tecnologia

Melhores modelos de programação no OpenRouter

DeepSeek V4.1 Flash 1017 is the October 17, 2026 snapshot of DeepSeek V4.1 Flash, served by DeepSeek under the deepseek-flash API model name. V4.1 Flash is a sparse mixture-of-experts model from DeepSeek, and the first built on the company's Causal Encoder-Decoder (CED) architecture. It activates 8B parameters on input and 16B on output from a 552B-parameter backbone, an asymmetric split that keeps per-token compute low relative to the model's total size. Image understanding is native to the architecture, with visual and text embeddings trained jointly from the start of pre-training rather than added afterward as in the earlier experimental V4 Flash Vision Exp.

It is suited for coding, terminal, and computer-use agents, along with long-horizon tasks that must run to completion across many steps and long-context analysis. Compressed KV caching cuts cache memory to roughly a quarter of the previous Flash generation, significantly reducing costs on agentic workloads. DeepSeek positions it as the cost-efficient tier of the V4.1 family and reports that it exceeds V4 Pro on performance, speed, and task completion time.

por deepseek1,05M de contextoUS$ 0,036/M entrada US$ 0,50/M saída
Favicon de tencent

Tencent: Hy4 flash

67,5T tokens

Hy4 flash is a cost-efficient variant of Hy4 from Tencent, served with roughly a quarter of the flagship's parameter count for lower latency and cost. It targets code assistance, agent pipelines, document and chart comprehension, and high-volume routine automation, with the same context and output limits as Hy4.

por tencent1,05M de contextoUS$ 0,035/M entrada US$ 0,1405/M saída 50% off

DeepSeek V4.1 Flash is a sparse mixture-of-experts model from DeepSeek, and the first built on the company's Causal Encoder-Decoder (CED) architecture. It activates 8B parameters on input and 16B on output from a 552B-parameter backbone, an asymmetric split that keeps per-token compute low relative to the model's total size. Image understanding is native to the architecture, with visual and text embeddings trained jointly from the start of pre-training rather than added afterward as in the earlier experimental V4 Flash Vision Exp.

It is suited for coding, terminal, and computer-use agents, along with long-horizon tasks that must run to completion across many steps and long-context analysis. Compressed KV caching cuts cache memory to roughly a quarter of the previous Flash generation, significantly reducing costs on agentic workloads. DeepSeek positions it as the cost-efficient tier of the V4.1 family and reports that it exceeds V4 Pro on performance, speed, and task completion time.

por deepseek1,05M de contextoUS$ 0,0507/M entrada US$ 0,2028/M saída 83% off
Favicon de tencent

Tencent: Hy4

14,4T tokens

The official release of Hy4 delivers comprehensive and substantial improvements over Hy4 Preview, with particularly strong gains in agentic capabilities and performance across a wide range of long-horizon, real-world productivity tasks. It also introduces visual understanding for the first time.

por tencent1,05M de contextoUS$ 0,417/M entrada US$ 1,251/M saída 50% off

GLM-5.3-Flash is a native multimodal model from Z.ai. It is suited for efficient coding and long-horizon agent tasks. Its hybrid sparse and linear attention architecture maintains accurate long-context behavior while reducing compute overhead.

por z-ai1,05M de contextoUS$ 0,0399/M entrada US$ 0,0784/M saída
Favicon de openai

OpenAI: GPT-6 Luna

9,87T tokens

GPT-6 Luna is the fast, cost-efficient model in OpenAI's GPT-6 series, positioned below GPT-6 Sol. It is suited for high-volume and latency-sensitive workloads such as chat, classification, and lightweight agentic tasks, and at higher reasoning effort it can take on complex software engineering and computer-use tasks that previously called for a Sol-tier model. It shares the GPT-6 family's gains in factual reliability and its clearer, more concise communication style.

por openai1,05M de contextoUS$ 0,10/M entrada US$ 0,50/M saída

Claude Opus 5.5 is Anthropic's flagship model for demanding reasoning, coding, and long-horizon agentic work, succeeding Claude Opus 5. It is particularly strong at multi-step changes in large codebases, code review and bug finding, financial and scientific analysis, and reading dense charts, diagrams, and screenshots, and it is more careful than its predecessor about only stating figures and citing sources it can back up.

The model completes comparable tasks in fewer steps and with fewer tokens than Opus 5, and reports on its work in plainer language, with clear updates on what it did, what it found, and what it needs from the user. Thinking is always adaptive, so effort is the main lever for trading off depth, latency, and cost, and lower effort settings remain effective for latency-sensitive workloads.

por anthropic1M de contextoUS$ 4/M entrada US$ 20/M saída

Step 5 Preview is StepFun's flagship model for agentic work, built on a sparse Mixture-of-Experts architecture (27B active / 600B total parameters). It performs strongly in software engineering and professional knowledge work, with particular strength in finance.

It is designed for extended tasks that span large codebases and documents, using tools and refining results over multiple steps.

por stepfun1M de contextoUS$ 1/M entrada US$ 2,70/M saída

MiMo-V2.6-Flash is an open-source foundation model developed by Xiaomi. Built on a Mixture-of-Experts architecture with 309B total parameters and 15B activated per token, it employs a hybrid attention mechanism for greater computational efficiency. The model features a 1M-token context window and native multimodal capabilities. Optimized for agentic workflows, it delivers strong performance across coding, visual, general, and research scenarios, excelling at complex, long-horizon tasks with robust generalization across a diverse range of agent harnesses.

por xiaomi1,05M de contextoUS$ 0,10/M entrada US$ 0,28/M saída

MiniMax-M3.1-Flash is a multimodal model from MiniMax. Compared with M3, it delivers significant improvements across multiple benchmarks, particularly in complex agentic tasks, coding, and cybersecurity. It is built for complex, multi-step co-work automation, understanding real codebases, fixing bugs, and building features, and visual understanding and creation, including frontend and presentation creation. It is an open-weight mixture-of-experts model with 23B active / 428B total parameters.

por minimax1,05M de contextoUS$ 0,075/M entrada US$ 0,30/M saída

Explorar mais coleções