ts-bench
Coding agents such as Claude Code, Codex and Gemini CLI solve TypeScript tasks, and tests decide pass or fail. Version 1 uses 25 Exercism practice exercises. Version 2 uses real tasks from a large TypeScript monorepo, taken from SWE-Lancer.
The author calls the numbers directional, not lab-grade. Results are published as GitHub workflow runs and releases. Version 1 is frozen at the v1-final tag. About 243 GitHub stars.
- Made by
- laiso (independent)
- Released
- June 2025
- Announced on X
- 27K views, 98 likes
- Kind
- Function-level problems
- Level
- University
- Scored
- Checked automatically
- Answers
- Agent task
- Tasks
- All public
- Measures
- Capability
- Language
- English
- Interaction
- Agentic
- Environment
- Terminal
- Items from
- Exams and contests, Real work and use, Another benchmark
- Refresh
- New versions replace it
- Run by
- Anyone
- Based on
- SWE-Lancer
- In views
- Agents
- Strongest model tested
- GPT-5.4 #29 on the capability index
- Last model added
- March 2026
- Updated automatically
- Yes, daily
- Scores refreshed
- November 24th, 2026
Claude Sonnet 4.6 leads with 80% among models released by March 2026 Claude Sonnet 4.6 leads with 80% among models released by March 2026
Best score per entry from the benchmark's own leaderboard, read on November 24th, 2026. Where a model ran with several settings or harnesses, we keep its best. Names in gray aren't in our model list: fine-tunes, agent systems, products and older models. They don't count toward leaders. This view shows only models we track, each at its best.
The newest model with a score here came out in March 2026, and nobody has tested a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:
- Claude Fable 5.2
- GPT-6.2 Astra
-
Gemini 4 Carbon
- GPT-6 Astra
- and 16 more
- 1 Claude Sonnet 4.6 80%
- 2
Gemini 3.1 Pro 60%
- 3 GPT-5.4 60%
- 4 Claude Opus 4.6 40%
- 5 gemini-2.5-flash (snapshot unspecified) 40%
- 6 Claude Haiku 4.5 20%
- 7
Gemini 3 Flash 20%
- 8 GPT-5.4 Mini 0%
Source: Official ts-bench leaderboard
- 1 Claude Sonnet 4.6 80%
- 2
Gemini 3.1 Pro 60%
- 3 GPT-5.4 60%
- 4 Claude Opus 4.6 40%
- 5 Claude Haiku 4.5 20%
- 6
Gemini 3 Flash 20%
- 7 GPT-5.4 Mini 0%
Source: Official ts-bench leaderboard
| # | Entry | Score | Setting | Released | Run on | Source |
|---|---|---|---|---|---|---|
| 1 | Claude Sonnet 4.6 | 80% | GitHub Copilot CLI | Feb 2026 | Apr 2026 | Official leaderboard |
| 2 | | 60% | Gemini CLI | Feb 2026 | Apr 2026 | Official leaderboard |
| 3 | GPT-5.4 | 60% | Codex CLI | Mar 2026 | Apr 2026 | Official leaderboard |
| 4 | Claude Opus 4.6 | 40% | GitHub Copilot CLI | Feb 2026 | Apr 2026 | Official leaderboard |
| 5 | gemini-2.5-flash (snapshot unspecified) | 40% | Gemini CLI | Apr 2026 | Official leaderboard | |
| 6 | Claude Haiku 4.5 | 20% | Claude Code | Oct 2025 | Apr 2026 | Official leaderboard |
| 7 | | 20% | Gemini CLI | Dec 2025 | Apr 2026 | Official leaderboard |
| 8 | GPT-5.4 Mini | 0% | Codex CLI | Mar 2026 | Apr 2026 | Official leaderboard |
| # | Model | Score | Setting | Released | Run on | Source |
|---|---|---|---|---|---|---|
| 1 | Claude Sonnet 4.6 | 80% | GitHub Copilot CLI | Feb 2026 | Apr 2026 | Official leaderboard |
| 2 | | 60% | Gemini CLI | Feb 2026 | Apr 2026 | Official leaderboard |
| 3 | GPT-5.4 | 60% | Codex CLI | Mar 2026 | Apr 2026 | Official leaderboard |
| 4 | Claude Opus 4.6 | 40% | GitHub Copilot CLI | Feb 2026 | Apr 2026 | Official leaderboard |
| 5 | Claude Haiku 4.5 | 20% | Claude Code | Oct 2025 | Apr 2026 | Official leaderboard |
| 6 | | 20% | Gemini CLI | Dec 2025 | Apr 2026 | Official leaderboard |
| 7 | GPT-5.4 Mini | 0% | Codex CLI | Mar 2026 | Apr 2026 | Official leaderboard |
3 models have held number one on the official leaderboard since its release in June 2025
Lab claims count from the day the card came out, independent runs from the model’s release.
Source: Official ts-bench leaderboard
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Source: Official ts-bench leaderboard
No lab model card reports it yet
We read the headline results of 546 launch posts from 59 labs, and none of them list this benchmark.
Versions
More in Coding
- SWE-bench Verified In use 500 human-validated GitHub issues from 12 Python repos. Agent writes a patch that must pass hidden tests. Claude Opus 4.7 83.5%
- LiveCodeBench v6 In use Competitive programming problems collected after model cutoffs from LeetCode, AtCoder, Codeforces. Scored pass@1 on hidden tests.
DeepSeek-V4-Pro 93.5%
- SWE-bench Multilingual In use 300 GitHub-issue tasks across nine programming languages in SWE-bench format. Patch graded by repository tests. Claude Fable 5.2 96.6%
- DeepSWE In use 113 original long-horizon engineering tasks across 91 repos and five languages, written from scratch. Hand-written verifiers accept alternative solutions. GPT-6 Astra 74.1%
- SciCode In use Scientist-curated research coding problems split into subproblems across natural sciences. Code checked against test cases.
Seed2.1 Pro 59.8%
- Codeforces rating In use Model solves recent Codeforces contest problems. An Elo-style rating is computed from simulated contest performance.
DeepSeek V4.1 Flash 3,471
Data audit
8 of 10 checks pass, 2 warnings. Look first at the Confidence check. Likely. Some facts rest on secondary sources. Every benchmark
Catalog record 1 warning 1 pass
- Pass Task access All tasks are public.
- Warning Confidence Likely. Some facts rest on secondary sources.
Scores 1 warning 3 pass 1 note
- Pass Independent runs Scores from the official leaderboard (8 entries).
- Pass Models scored 7 models we track, plus 1 other entry on its leaderboard.
- Warning Newest score The newest came 8 months ago, in March 2026, for GPT-5.4 Mini.
- Note Frontier models None of the top 10 has a score. The strongest tested is GPT-5.4 (#29).
- Pass Headroom The best is 80%, under 85%, so it still separates models.
Leaderboard import 3 pass
- Pass Importer We read the board on blog.lai.so: 9 rows for models we track and 1 other entry at the last read.
- Pass Last read November 24th, 2026.
- Pass Read worked The last read worked.
Consistency 1 pass 2 notes
- Note Lab claims No model has both a lab number and an independent run.
- Pass Known issues No published audit found problems.
- Note Epoch AI review Epoch AI hasn’t reviewed it.