PriceIndex

AI model rankings · Code & SLMs

Best Coding AI Models by Benchmark

GPT-6 Astra is the highest-scoring of the 35 Code & SLMs models we track, with an AA Intelligence score of 52.7, ahead of GPT-6 Sol (47.6).

Scores come from the Artificial Analysis Intelligence Index, a composite of reasoning, knowledge, math and coding evaluations. Models without a published score sort last. 8 of the top 35 have no published AA Intelligence score; they show "—" and are never estimated.

The list covers 9 providers. Use the price columns to weigh quality against cost; blended price assumes 3 input tokens per output token.

Updated December 2026 · 35 models · 9 providers · prices per 1M tokens

Top 3 Code & SLMs Models

  1. #1OpenAI

    GPT-6 Astra

    52.7

    AA Intelligence

    Input
    $10
    Context
    1.1M
  2. #2OpenAI

    GPT-6 Sol

    47.6

    AA Intelligence

    Input
    $2
    Context
    1.1M
  3. #3OpenAI

    GPT-5.6 Sol

    47

    AA Intelligence

    Input
    $5
    Context
    1.1M

Code & SLMs Models Ranking

35 of 35
Input /1M
$10
Output /1M
$50
Context
1.1M
AA Intelligence
52.7
DesignArena Elo
1390
Arena Elo
1288
MMLU-Pro
88.3
Blended
$20.00
Trend
0%
Input /1M
$2
Output /1M
$10
Context
1.1M
AA Intelligence
47.6
DesignArena Elo
1296
Arena Elo
1266
MMLU-Pro
84.6
Blended
$4.00
Trend
0%
Input /1M
$5
Output /1M
$30
Context
1.1M
AA Intelligence
47
DesignArena Elo
1314
Arena Elo
1255
MMLU-Pro
82.8
Blended
$11.25
Trend
41%
Input /1M
$2
Output /1M
$12
Context
1.1M
AA Intelligence
42.1
DesignArena Elo
1240
Arena Elo
1233
MMLU-Pro
79.1
Blended
$4.50
Trend
0%
Input /1M
$0.825
Output /1M
$4.125
Context
1M
AA Intelligence
40.9
DesignArena Elo
1302
Arena Elo
1244
MMLU-Pro
81
Blended
$1.65
Trend
10%
Input /1M
$0.75
Output /1M
$3.75
Context
1M
AA Intelligence
39.1
DesignArena Elo
1306
Arena Elo
1228
MMLU-Pro
78.2
Blended
$1.50
Trend
0%
Input /1M
$0.1
Output /1M
$0.5
Context
1.1M
AA Intelligence
38.1
DesignArena Elo
1265
Arena Elo
1211
MMLU-Pro
75.4
Blended
$0.20
Trend
0%
Input /1M
$0.2
Output /1M
$1.2
Context
1.1M
AA Intelligence
37.3
DesignArena Elo
1229
Arena Elo
1189
MMLU-Pro
71.8
Blended
$0.45
Trend
0%
Input /1M
$1.75
Output /1M
$14
Context
400K
AA Intelligence
32.5
DesignArena Elo
1143
Arena Elo
1244
MMLU-Pro
81
Blended
$4.81
Trend
0%
Input /1M
$1.75
Output /1M
$14
Context
400K
AA Intelligence
30.4
DesignArena Elo
—
Arena Elo
1239
MMLU-Pro
80
Blended
$4.81
Trend
0%
Input /1M
$1.75
Output /1M
$14
Context
400K
AA Intelligence
28.5
DesignArena Elo
—
Arena Elo
—
MMLU-Pro
—
Blended
$4.81
Trend
0%
Input /1M
$0.63
Output /1M
$3.5
Context
262K
AA Intelligence
25.8
DesignArena Elo
1251
Arena Elo
—
MMLU-Pro
—
Blended
$1.35
Trend
-8%
Input /1M
$1.25
Output /1M
$10
Context
400K
AA Intelligence
24.7
DesignArena Elo
—
Arena Elo
1228
MMLU-Pro
78.2
Blended
$3.44
Trend
0%
Input /1M
$0.75
Output /1M
$4.5
Context
400K
AA Intelligence
24.1
DesignArena Elo
—
Arena Elo
1200
MMLU-Pro
73.6
Blended
$1.69
Trend
0%

Showing 15 of 35

Compare the leaders

How this ranking works

Benchmark is an aggregate 0–100 quality score. Blended price assumes a 3:1 input-to-output token mix. Trend compares the latest blended price with the oldest in our 6-month history.

This page sorts by aa intelligence. Use the panel on the right to switch ranking or category — every combination has its own page.

Frequently asked questions

By Artificial Analysis Intelligence Index, GPT-6 Astra from OpenAI ranks first with an AA Intelligence score of 52.7. It costs $10 per 1M input tokens.

Phi-4 is the cheapest at $0.07 per 1M input tokens and $0.14 per 1M output tokens.

GPT-6 Astra supports 1.1M tokens of context, the most in this category.

Dividing quality score by blended price, GPT-6 Luna gives the most quality per dollar (score 38.1 at $0.20 per 1M tokens).

Blended price assumes a typical 3:1 input-to-output token mix: 75% of the input price plus 25% of the output price, per 1M tokens.

Find models by API capability