Skip to content
benchtopia
  • Fetching the field guide…

Code · Best AI for

JavaScript & TypeScript

Front-end and Node.js work: React components, APIs, build errors and type errors.

Answer: GPT-6 Astra (OpenAI)

GPT-6 Astra from OpenAI is the best pick today (94/100), followed by Claude Fable 5.1 and Claude Opus 5.5. WebDev Arena is people voting on whole web apps built by two AIs side by side. SWE-bench Multilingual includes real JavaScript and TypeScript bugs, and the general coding tests cover the rest.

Top 15 for JavaScript & TypeScript

Score = share of today's AI models it beats on the tests below (100 = best of all).

  1. 1GPT-6 AstraOpenAI · a few tests94
  2. 2Claude Fable 5.1Anthropic · a few tests94
  3. 3Claude Opus 5.5Anthropic · plenty of tests92
  4. 4GPT-6.1 SolOpenAI · a few tests92
  5. 5Claude Opus 5Anthropic · a few tests92
  6. 6MiMo-V2.6 ProXiaomi · one test so far88
  7. 7GPT-6 SolOpenAI · a few tests87
  8. 8Claude Sonnet 5.5Anthropic · plenty of tests87
  9. 9Claude Fable 5Anthropic · a few tests86
  10. 10Qwen 3.8 27BAlibaba (Qwen) · one test so far82
  11. 11DeepSeek V4.1 FlashDeepSeek · a few tests81
  12. 12Kimi K3Moonshot AI (Kimi) · a few tests80
  13. 13Gemini 4 ArgonGoogle · plenty of tests80
  14. 14GLM-5.3Z.ai (Zhipu) · a few tests77
  15. 15Step 5 PreviewStepFun · one test so far76

Best overall

GPT-6 Astra

Score 94 · OpenAI · $0.9 per job

Best under $1

MiMo-V2.6 Pro

Score 88 · Xiaomi · $0.031 per job

Best open source

MiMo-V2.6 Pro

Score 88 · Xiaomi · $0.031 per job

What it costs to build one React page with an API call

≈ 60K tokens read and 6K written per job, at each model's list API price. Monthly chat-app plans don't charge per job.

ModelScorePer jobPer 1,000 jobsMemory
GPT-6 Astra94$0.9$9001.1M
Claude Fable 5.194$0.9$9001M
Claude Opus 5.592$0.36$3601M
GPT-6.1 Sol92$0.18$1801.1M
Claude Opus 592$0.45$4501M
MiMo-V2.6 Pro88$0.031$31.321M
GPT-6 Sol87$0.18$1801.1M
Claude Sonnet 5.587$0.18$1801M
Claude Fable 586$0.9$9001M
Qwen 3.8 27B82$0.011$11.101M
DeepSeek V4.1 Flashbest value81$0.0065$6.461M
Kimi K380$0.27$2701M
Gemini 4 Argon80$0.18$1801M
GLM-5.377$0.11$1101M
Step 5 Preview76$0.081$80.701M

Highlighted: the cheapest model within 15% of the top score.

Tests behind this ranking

Share = how much each test counts towards the score.

WebDev ArenaWhich AI builds the web app people like best?36%
SWE-bench MultilingualCan it fix real bugs in projects written in many coding languages?21%
CursorBenchHow well does it help real coders inside the Cursor code editor?12%
MirrorCodeCan it rebuild a whole program just by watching what it does?8%
Aider polyglotCan it solve tricky coding exercises in six different languages?6%
FrontierCodeWould a project's real owner actually accept the AI's code?5%
FrontierSWECan it finish huge engineering projects that take most of a day?4%
DeepSWECan it build big new features in code nobody has solved online?4%
Terminal-BenchCan it get real jobs done by typing commands in a terminal?2%
SWE-bench VerifiedCan it fix real bugs in real Python projects?1%
LiveBenchCan it pass a test with fresh questions it can't have memorized?1%

Tips

  • Ask for TypeScript even on small jobs: the types catch a lot of the model's own mistakes.
  • If the page looks wrong, paste a screenshot back in. Most top models can read images now.

Quick answers

What's the best AI for JavaScript and TypeScript?

GPT-6 Astra from OpenAI is the best pick today (94/100), followed by Claude Fable 5.1 and Claude Opus 5.5.

About GPT-6 Astra →
What's the best cheap AI for JavaScript & TypeScript?

MiMo-V2.6 Pro: 88/100 for about $0.54 per million tokens. One job (build one React page with an API call) costs about $0.031.

See the details →
What's the best open-source AI for JavaScript & TypeScript?

MiMo-V2.6 Pro from Xiaomi, scoring 88/100. You can download it and run it yourself.

See the details →
How much does it cost to build one React page with an API call with AI?

With GPT-6 Astra, about $0.9 (≈ 60K tokens read, 6K written, at list API prices). DeepSeek V4.1 Flash scores nearly as well for $0.0065. Chat apps on a monthly plan don't charge per job.

How is this decided?

WebDev Arena is people voting on whole web apps built by two AIs side by side. SWE-bench Multilingual includes real JavaScript and TypeScript bugs, and the general coding tests cover the rest.

How scores work →

Related