翻篇收录说明
翻篇网页快照

AI Coding Agent Benchmarks & Leaderboard | Artificial Analysis

https://artificialanalysis.ai/agents/coding-agents

最近抓取:2026-12-05 06:17:48(北京时间)

最近内容变化:2026-12-03 04:17:05(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

We measure real-world performance of coding agents on software engineering tasks, including cost, token usage, and execution time. We compare how performance changes across agents, models, and execution settings.

正文摘录

Artificial AnalysisKAll indexesArtificial Analysis Coding Agent BenchmarksWe measure real-world performance of coding agents on software engineering tasks, including cost, token usage, and execution time. We compare how performance changes across agents, models, and execution settings.CompareArtificial Analysis Coding Agent IndexComposite index of 3 benchmarks:FrontierCode-AA 2.0Software engineering tasks, 132 tasksBy Cognition, implemented by Artificial AnalysisTerminal-Bench 4.1Agentic terminal use, 66 tasksBy Laude InstituteSWE-Atlas-QnA-AATechnical Q&A, 124 tasksBy Scale AI, grading adjusted by Artificial AnalysisEach benchmark score is the mean score over three attempts per task. The Index gives equal weight to its 3 benchmark components. See methodology for scoring details and version history.Coding Agent IndexArtificial Analysis Coding Agent Index v2.1 · Higher is betterNo publicly available APITime per TaskAverage agent wall time per task · Lower is betterNo publicly available APICost per TaskAverage API cost per task (USD) · Lower is betterPerformancePerformance across the Artificial Analysis Coding Agent Index.IndexScore by BenchmarkFrontierCode-AA 2.0Terminal-Bench 4.1SWE-Atlas-QnA-AAArtificial Analysis Coding Agent IndexArtificial Analysis Coding Agent Index v2.1 incorporates 3 benchmarks: FrontierCode-AA 2.0, Terminal-Bench 4.1, and SWE-Atlas-QnA-AA · Higher is betterColor byModelAgentRouter models15 of 67 modelsNo publicly available APIWhat This Metric MeansThe Artificial Analysis Coding Agent Index is a composite score built from FrontierCode-AA 2.0, Terminal-Bench 4.1, and SWE-Atlas-QnA-AA.It is useful for quick comparison, but it should be read alongside the per-eval breakdowns. Two agents with similar index values can still have different strengths across repository tasks, terminal workflows, and rubric-based evaluations.Artificial Analysis Coding Agent Index vs. Cost per TaskArtificial Analysis Coding Agent Index vs. average pay-per-token API cost per task (USD)Color byModelAgentRouter models15 of 67 modelsMost attractive quadrantPareto lineGoogleAnthropicOpenAIKimiMetaSpaceXAIMistralZ AIDeepSeekHow to Read This ChartEach point represents a coding-agent variant. Farther left means lower average cost per task, while higher on the chart means higher benchmark performance. The most efficient agents sit toward the upper-left: stronger results at lower cost.Token UsageToken consumption across the Artificial Analysis Coding Agent Index, including total usage, token mix, efficiency, and per-benchmark breakdowns.Token UsageToken DistributionCache Hit RateInput vs. OutputTokens by BenchmarkToken Usage per TaskAverage input, cache, and output tokens per taskRouter models15 of 67 modelsOutputCached InputInputPrompt cache hit rates can vary significantly by provider routing, which can materially change effective cost.Input TokensNon-cached input tokens sent to the model, including prompts, instructions, tool context, and task context that were not served from prompt cache. 3 more notesArtificial Analysis Coding Agent Index vs. Total TokensArtificial Analysis Coding Agent Index vs. average total tokens per taskColor byModelAgentRouter models15 of 67 modelsMost attractive quadrantGoogleAnthropicMetaOpenAIKimiSpaceXAIMistralZ AIDeepSeekHow to Read This ChartEach point represents a coding-agent variant. Farther left means lower average total token usage per task, while higher on the chart means higher benchmark performance. Agents toward the upper-left achieve stronger results with fewer tokens.CostCost across the Artificial Analysis Coding Agent Index based on current per-token API pricing, including cache write pricing and cache discounts where available. Many users will access coding agent harnesses through subscription plan offerings rather than pay-per-token.Cost to RunCost DistributionTotal CostCost per TaskAverage pay-per-token API cost per task (USD) · Lower is betterColor byModelAgentRouter models15 of 67 modelsWhat Cost Is MeasuringThis chart shows the average pay-per-token API cost per task across the Artificial Analysis Coding Agent Index, spanning FrontierCode-AA 2.0, Terminal-Bench 4.1, and SWE-Atlas-QnA-AA.Where applicable, that cost model includes standard input pricing, discounted cached-input pricing, separate cache-write charges, and output pricing rather than treating all prompt tokens as if they were billed at the same uncached input rate.It is intended to show pay-per-token API cost, not consumer plan pricing or the full operational cost of deploying the system in production. Infrastructure, engineering, and supervision costs are not the focus of this metric.Execution TimeActive agent runtime across the Artificial Analysis Coding Agent Index.Execution TimeTurnsTime per TaskAverage agent wall time per task · Lower is betterColor byModelAgentRouter models15 of 67 modelsNo publicly available APIWhat Execution Time Is MeasuringThis chart uses agent wall time: how long the agent process was actively running on each task.It does not include environment startup, verifier or judge time, or other harness overhead, so it is a cleaner comparison of how long the agent itself was working.Artificial Analysis Coding Agent Index vs. Execution TimeArtificial Analysis Coding Agent Index vs. average agent wall time per taskColor byModelAgentRouter models15 of 67 modelsMost attractive quadrantGoogleAnthropicMetaOpenAIKimiSpaceXAIMistralZ AIDeepSeekHow to Read This ChartEach point represents a coding-agent variant. Farther left means shorter average agent runtime per task, while higher on the chart means higher benchmark performance. Agents toward the upper-left deliver stronger results in less active agent time.Safety RefusalsMethodologyHow often a provider or model refuses to proceed with a task on safety grounds across the Artificial Analysis Coding Agent Index.IndexFrontierCode-AA 2.0Terminal-Bench 4.1SWE-Atlas-QnA-AASafety Refusal RateShare of retained task attempts with a safety refusal · Equal weight per benchmark · Lower is betterBreak down byFallback modelTimingRouter models15 of 67 modelsBlockedFallback: Claude Opus 4.8Fallback: Claude Opus 5Safety and fallback behaviour is provider-configurable and may change over time; these rates reflect behaviour recorded at the time of benchmarking.Safety Refusal OutcomesBlocked ended the attempt. Fallback means another model finished it. Both count towards the refusal rate.Reward HackingMethodologyShare of task attempts that would otherwise pass but are scored zero following an integrity violation.FrontierCode-AA 2.0Terminal-Bench 4.1SWE-Atlas-QnA-AAReward Hacking Rate: FrontierCode-AA 2.0Share of task attempts scored zero for reward hacking · Uses Cognition's rule-based scanner and LLM judge to detect prohibited access to solution material · Lower is betterColor byModelAgentRouter models15 of 67 modelsHarness ComparisonsMethodologyThe same model run through each coding agent harness, at maximum reasoning effort. Each harness uses its default settings, or the settings published for GLM-5.3-Flash. GPT-6 Luna runs use the same settings.Coding Agent IndexScore by BenchmarkToken UsageTurnsCoding Agent Index by Harness: GPT-6 Luna (Max)Artificial Analysis Coding Agent Index v2.1 incorporates 3 benchmarks: FrontierCode-AA 2.0, Terminal-Bench 4.1, and SWE-Atlas-QnA-AA · Higher is betterModelGPT-6 Luna (Max)GLM-5.3-Flash (Max)What This Metric MeansThe Artificial Analysis Coding Agent Index is a composite score built from FrontierCode-AA 2.0, Terminal-Bench 4.1, and SWE-Atlas-QnA-AA.It is useful for quick comparison, but it should be read alongside the per-eval breakdowns. Two agents with similar index values can still have different strengths across repository tasks, terminal workflows, and rubric-based evaluations.Index vs. CostIndex vs. TokensCoding Agent Index vs. Cost per Task by Harness: GPT-6 Luna (Max)Artificial Analysis Coding Agent Index vs. average pay-per-token API cost per task (USD)ModelGPT-6 Luna (Max)GLM-5.3-Flash (Max)Most attractive quadrantPareto lineCodexmini-swe-agentGrok BuildMuse CodeOpenCodeClaude CodeDeepSeek HarnessMistral VibePiGitHub CopilotZCodeKimi Code CLIDevin CLIQwen CodeHow to Read This ChartEach point represents a coding-agent variant. Farther left means lower average cost per task, while higher on the chart means higher benchmark performance. The most efficient agents sit toward the upper-left: stronger results at lower cost.Tool CallsShellSearchReadWriteView ImageOtherTool Calls per Task by Harness: GPT-6 Luna (Max)Average tool calls per task by tool type, including calls made by subagentsModelGPT-6 Luna (Max)GLM-5.3-Flash (Max)Main AgentSubagentsShellSearchReadWriteView ImageOtherSome tools, such as shell commands, accept chained commands, so one tool call can cover several steps.What This Chart ShowsTool calls are the actions an agent takes on its environment, grouped by tool type: shell (running commands), search (finding files or text), read (reading file contents), write (editing or creating files), view image, and other (web and anything else). Calls made by subagents count; planning, polling a running command and managing subagents do not.Run SpecificationsFrequently Asked QuestionsWhat is the Artificial Analysis Coding Agent Index?The Artificial Analysis Coding Agent Index is our composite score for coding-agent performance across the public benchmark suite on this page. It combines FrontierCode-AA 2.0, Terminal-Bench 4.1, and SWE-Atlas-QnA-AA to capture implementation, terminal workflow, repository-understanding, and broader software-engineering performance in a single headline metric.Which benchmarks are included in the index right now?The current public index includes FrontierCode-AA 2.0, Terminal-Bench 4.1, and SWE-Atlas-QnA-AA. These benchmarks are combined because they stress different parts of the coding-agent workflow rather than repeating the same task format.What kinds of tasks are these benchmarks actually tes