Skip to content
benchtopia
  • Fetching the field guide…

ChatGPT · Best AI for

Best ChatGPT model for writing code

Only OpenAI models, scored against every current AI on the same tests, so you can see which one to pick and how it stacks up.

Answer: GPT-6 Astra (91/100 · $20 per 1M tokens)

GPT-6 Astra. It scores 91/100 for writing code, which makes it the best of every AI we track.

All 7 ChatGPT models for writing code

Score = share of all of today's AI models it beats on this job's tests (100 = best of all). Bar in coral = the overall #1, for reference.

  1. 1GPT-6 Astra#1 of 35 overall · a few tests91
  2. 2GPT-5.5#10 of 35 overall · a few tests61
  3. 3GPT-5.6 Terra#14 of 35 overall · a few tests58
  4. 4GPT-5.6 Sol#21 of 35 overall · plenty of tests47
  5. 5GPT-5.4#23 of 35 overall · a few tests44
  6. 6GPT-5.2#24 of 35 overall · a few tests43
  7. 7GPT-5.6 Luna#25 of 35 overall · a few tests42

Score, price and memory side by side

Cost per job = one long request (≈ 20K tokens read, 2K written), using list API prices.

ModelScore$ / 1M tokensCost per jobMemoryReleased
GPT-6 Astra91$20$0.31.1MSep 2026
GPT-5.561$11$0.161.1MApr 2026
GPT-5.6 Terra58$4.50$0.0641.1MJul 2026
GPT-5.6 Sol47$8$0.121.1MJul 2026
GPT-5.444$5.63$0.081.1MMar 2026
GPT-5.243$4.81$0.063400KDec 2025
GPT-5.6 Luna42$0.45$0.00641.1MJul 2026

Quick answers

Which ChatGPT model is best for writing code?

GPT-6 Astra. It scores 91/100 for writing code, which makes it the best of every AI we track.

About GPT-6 Astra →
What's the runner-up?

GPT-5.5, scoring 61 at $11 per million tokens.

See the details →
How are these ranked?

Each model's score is the share of current AI models it beats on the writing code tests, weighted towards newer and harder tests. Only OpenAI models, scored against every current AI on the same tests, so you can see which one to pick and how it stacks up.

How scores work →

More ways to pick for writing code

ChatGPT for other jobs

24 jobs · scores update automatically from public test results · data as of November 21, 2026