PriceIndex

AI model rankings · Code & SLMs

Coding AI Models with the Longest Context Window

GPT-6 Luna offers the largest context window of the 35 Code & SLMs models we track: 1.1M tokens. The list spans 9 providers. The lowest-cost option is Phi-4 ($0.09 blended per 1M tokens) and the longest context is GPT-6 Luna (1.1M).

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

Top 3 Code & SLMs Models

  1. #1OpenAI

    GPT-6 Luna

    1.1M

    Context window

    Input
    $0.1
    Context
    1.1M
  2. #2OpenAI

    GPT-5.6 Luna

    1.1M

    Context window

    Input
    $0.2
    Context
    1.1M
  3. #3OpenAI

    GPT-6 Sol

    1.1M

    Context window

    Input
    $2
    Context
    1.1M

Code & SLMs Models Ranking

35 of 35
Input /1M
$0.2
Output /1M
$1.2
Context
1.1M
AA Intelligence
37.3
DesignArena Elo
1235
Arena Elo
1189
MMLU-Pro
71.8
Blended
$0.45
Trend
0%
Input /1M
$2
Output /1M
$10
Context
1.1M
AA Intelligence
47
DesignArena Elo
1320
Arena Elo
1255
MMLU-Pro
82.8
Blended
$4.00
Trend
33%
Input /1M
$2
Output /1M
$12
Context
1.1M
AA Intelligence
42.1
DesignArena Elo
1245
Arena Elo
1233
MMLU-Pro
79.1
Blended
$4.50
Trend
0%
Input /1M
$10
Output /1M
$50
Context
1.1M
AA Intelligence
52.7
DesignArena Elo
1384
Arena Elo
1288
MMLU-Pro
88.3
Blended
$20.00
Trend
0%
Input /1M
$0.1
Output /1M
$0.5
Context
1.1M
AA Intelligence
38.1
DesignArena Elo
1277
Arena Elo
1211
MMLU-Pro
75.4
Blended
$0.20
Trend
0%
Input /1M
$2
Output /1M
$10
Context
1.1M
AA Intelligence
47.6
DesignArena Elo
1300
Arena Elo
1266
MMLU-Pro
84.6
Blended
$4.00
Trend
0%
Input /1M
$1.25
Output /1M
$10
Context
1M
AA Intelligence
16.1
DesignArena Elo
1156
Arena Elo
1255
MMLU-Pro
82.8
Blended
$3.44
Trend
-13%
Input /1M
$0.75
Output /1M
$3.75
Context
1M
AA Intelligence
39.1
DesignArena Elo
1313
Arena Elo
1228
MMLU-Pro
78.2
Blended
$1.50
Trend
0%
Input /1M
$0.75
Output /1M
$3.75
Context
1M
AA Intelligence
40.9
DesignArena Elo
1309
Arena Elo
1244
MMLU-Pro
81
Blended
$1.50
Trend
0%
Input /1M
$2
Output /1M
$8
Context
1M
AA Intelligence
12.7
DesignArena Elo
1029
Arena Elo
1200
MMLU-Pro
73.6
Blended
$3.50
Trend
-9%
Input /1M
$0.4
Output /1M
$1.6
Context
1M
AA Intelligence
10.2
DesignArena Elo
997
Arena Elo
1167
MMLU-Pro
68.1
Blended
$0.70
Trend
0%
Input /1M
$0.195
Output /1M
$0.975
Context
1M
AA Intelligence
—
DesignArena Elo
—
Arena Elo
—
MMLU-Pro
—
Blended
$0.39
Trend
0%
Input /1M
$0.65
Output /1M
$3.25
Context
1M
AA Intelligence
—
DesignArena Elo
—
Arena Elo
—
MMLU-Pro
—
Blended
$1.30
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 context window. Use the panel on the right to switch ranking or category — every combination has its own page.

Frequently asked questions