Code · Best AI for
Data science & ML
Cleaning data, training models, picking features, and making sense of the results.
Answer: Claude Fable 5.2 (Anthropic)

Claude Fable 5.2 from Anthropic is the best pick today (97/100), followed by GPT-6 Astra and Claude Fable 5.1. WeirdML gives models odd little machine-learning problems to solve end-to-end, and PostTrainBench asks them to improve another AI. Math and coding back them up.
Top 15 for data science & ML
Score = share of today's AI models it beats on the tests below (100 = best of all).
- 1Claude Fable 5.2Anthropic · a few tests97
- 2GPT-6 AstraOpenAI · plenty of tests93
- 3Claude Fable 5.1Anthropic · plenty of tests91
- 4GPT-6.2 AstraOpenAI · a few tests91
- 5Claude Opus 5.5Anthropic · plenty of tests89
- 6Gemini 4 NeonGoogle · a few tests83
- 7GPT-6.1 SolOpenAI · a few tests83
- 8GPT-6.1 TerraOpenAI · a few tests82
- 9GPT-5.6 TerraOpenAI · a few tests82
- 10Gemini 4 CarbonGoogle · a few tests82
- 11Gemini 3 ProGoogle · a few tests78
- 12Claude Sonnet 5.5Anthropic · a few tests78
- 13Claude Fable 5Anthropic · plenty of tests77
- 14Claude Opus 5Anthropic · plenty of tests75
- 15Claude Opus 4.6Anthropic · a few tests74
Best overall
Score 97 · Anthropic · $1.20 per job
Best under $1
Score 64 · DeepSeek · $0.0078 per job
Best open source
Score 66 · DeepSeek · $0.056 per job
What it costs to build and tune one small model
≈ 100K tokens read and 10K written per job, at each model's list API price. Monthly chat-app plans don't charge per job.
| Model | Score | Per job | Per 1,000 jobs | Memory |
|---|---|---|---|---|
| Claude Fable 5.2 | 97 | $1.20 | $1,200 | 1M |
| GPT-6 Astra | 93 | $1.50 | $1,500 | 1.1M |
| Claude Fable 5.1 | 91 | $1.50 | $1,500 | 1M |
| GPT-6.2 Astra | 91 | $1.20 | $1,200 | 1.1M |
| Claude Opus 5.5 | 89 | $0.6 | $600 | 1M |
| Gemini 4 Neon | 83 | $0.45 | $450 | 1M |
| GPT-6.1 Sol | 83 | $0.3 | $300 | 1.1M |
| GPT-6.1 Terrabest value | 82 | $0.15 | $150 | 1.1M |
| GPT-5.6 Terra | 82 | $0.32 | $320 | 1.1M |
| Gemini 4 Carbon | 82 | $0.3 | $300 | 1M |
| Gemini 3 Pro | 78 | — | — | — |
| Claude Sonnet 5.5 | 78 | $0.3 | $300 | 1M |
| Claude Fable 5 | 77 | $1.50 | $1,500 | 1M |
| Claude Opus 5 | 75 | $0.75 | $750 | 1M |
| Claude Opus 4.6 | 74 | $0.75 | $750 | 1M |
Highlighted: the cheapest model within 15% of the top score.
Tests behind this ranking
Share = how much each test counts towards the score.
| WeirdMLCan it write code that teaches a computer to solve odd puzzles? | 26% |
| PostTrainBenchCan an AI teach a smaller AI to do better on a test? | 19% |
| WeirdML v3Can an AI agent crack messy data puzzles on its own? | 19% |
| FrontierMath Tiers 1–3 (v2)Can it crack hard, brand-new math problems (fixed edition)? | 4% |
| FrontierMath Tier 4 (v2)Can it solve research-level math problems (fixed edition)? | 4% |
| FrontierMath-ErdosCan it solve famous math puzzles nobody has solved yet? | 3% |
| FrontierCodeWould a project's real owner actually accept the AI's code? | 3% |
| FrontierSWECan it finish huge engineering projects that take most of a day? | 3% |
| DeepSWECan it build big new features in code nobody has solved online? | 3% |
| CursorBenchHow well does it help real coders inside the Cursor code editor? | 2% |
| ProofBenchCan it write math proofs that a computer can check? | 2% |
| SWE-bench MultilingualCan it fix real bugs in projects written in many coding languages? | 2% |
Tips
- Share a sample of the data (first 50 rows), not the whole file. It's enough to write correct code, and cheaper.
Quick answers
What's the best AI for data science and machine learning?
Claude Fable 5.2 from Anthropic is the best pick today (97/100), followed by GPT-6 Astra and Claude Fable 5.1.
About Claude Fable 5.2 →What's the best cheap AI for data science & ML?
DeepSeek V4 Flash 0731: 64/100 for about $0.09 per million tokens. One job (build and tune one small model) costs about $0.0078.
See the details →What's the best open-source AI for data science & ML?
DeepSeek V4 Pro 0813 from DeepSeek, scoring 66/100. You can download it and run it yourself.
See the details →How much does it cost to build and tune one small model with AI?
With Claude Fable 5.2, about $1.20 (≈ 100K tokens read, 10K written, at list API prices). GPT-6.1 Terra scores nearly as well for $0.15. Chat apps on a monthly plan don't charge per job.
How is this decided?
WeirdML gives models odd little machine-learning problems to solve end-to-end, and PostTrainBench asks them to improve another AI. Math and coding back them up.
How scores work →