---
title: "SciCode"
description: "Scientific programming problems written by researchers. Part of the intelligence index, in Coding."
canonical: https://models.pydantic.dev/benchmarks/scicode/
---

# SciCode

> Scientific programming problems written by researchers. Part of the intelligence index, in Coding.
>
> Markdown copy of https://models.pydantic.dev/benchmarks/scicode/. Index for agents: https://models.pydantic.dev/llms.txt

**Agents: use the API for model information.** It answers a question in one request, where the pages need several.

- Choose a model for an agent: `POST https://models.pydantic.dev/api/select` with a JSON body such as `{"description": "what the agent does"}`. It returns up to five ranked models with reasons. Format: https://models.pydantic.dev/select.md
- Search models by name: `GET https://models.pydantic.dev/api/search?query=<text>`
- List, filter and sort models: `GET https://models.pydantic.dev/api/models`, for example `?weights=open&max_price=2&sort=efficiency`
- One model in full: `GET https://models.pydantic.dev/api/models/<slug>`

Add `intent=<intent>&stack=<stack>&harness=<harness>` to the query string of the first three. An `OPTIONS` request to any endpoint returns its schema. The same four are tools of the MCP server at `https://models.pydantic.dev/mcp`. More: https://models.pydantic.dev/usage.md

SciCode is a set of scientific programming problems written by researchers in physics, mathematics, materials science, biology and chemistry.
It has 80 main problems split into 338 subproblems; for each subproblem the model writes a Python function, which is run against test cases.
More than 30 researchers from UIUC, Argonne National Laboratory, Carnegie Mellon, Princeton, Stanford and other institutions wrote it, and it was published in July 2024.

The scores here come from Artificial Analysis, not from the authors, and Epoch AI includes only the scores Artificial Analysis measured itself.
Artificial Analysis gives the model the scientist-written background for each problem, allows one attempt, and scores the share of subproblems solved.
Solving every subproblem of a whole problem is much harder: at launch the best model managed 4.6% of main problems.

- **Created by:** [Minyang Tian et al., UIUC and others](https://scicode-bench.github.io)
- **Paper (arXiv, July 2024):** https://arxiv.org/abs/2407.13168
- **Code:** https://github.com/scicode-bench/SciCode
- **Artificial Analysis's SciCode results:** https://artificialanalysis.ai/evaluations/scicode
- **Scores from:** SciCode, via Epoch AI (CC BY 4.0) (https://scicode-bench.github.io/), results updated 2026-11-25

## Caveats

- Including the background text makes the task easier than the paper's hardest setting.
- Artificial Analysis removed SciCode from its own index in version 5.0, so new models may stop getting scores.
- The problems have been public since 2024.

## Results

The best result per model, with the reasoning setting it was run at where the source gives one. Blended price is US dollars per million tokens, three input to one output, from the provider the model's page leads with.

| Rank | Model                                                                                                | Setting | Score | Blended price |
| ---- | ---------------------------------------------------------------------------------------------------- | ------- | ----- | ------------- |
| 1    | [Claude Fable 5.2](https://models.pydantic.dev/models/claude-fable-5.2.md)                           | max     | 67.7% | $16           |
| 2    | [Claude Opus 5.5](https://models.pydantic.dev/models/claude-opus-5.5.md)                             | max     | 66.9% | $8            |
| 3    | [Gemini 4 Carbon](https://models.pydantic.dev/models/gemini-4-carbon.md)                             | high    | 64.2% | $4            |
| 4    | [Claude Fable 5.1](https://models.pydantic.dev/models/claude-fable-5.1.md)                           | max     | 63.1% | $20           |
| 5    | [Gemini 4 Argon](https://models.pydantic.dev/models/gemini-4-argon.md)                               | high    | 61.8% | $4            |
| 6    | [Claude Fable 5](https://models.pydantic.dev/models/claude-fable-5.md)                               | max     | 61.0% | $20           |
| 6    | [Claude Sonnet 5.5](https://models.pydantic.dev/models/claude-sonnet-5.5.md)                         | max     | 61.0% | $4            |
| 8    | [MiMo-V2.6-Pro](https://models.pydantic.dev/models/mimo-v2.6-pro.md)                                 | –       | 60.9% | $0.54         |
| 9    | [Kimi K3.1 Pro](https://models.pydantic.dev/models/kimi-k3.1-pro.md)                                 | –       | 60.8% | $4            |
| 10   | [Gemini 3.7 Flash](https://models.pydantic.dev/models/gemini-3.7-flash.md)                           | medium  | 59.8% | $1.5          |
| 11   | [Muse Spark 1.3](https://models.pydantic.dev/models/muse-spark-1.3.md)                               | xhigh   | 59.7% | $2            |
| 12   | [Kimi K3](https://models.pydantic.dev/models/kimi-k3.md)                                             | max     | 59.5% | $6            |
| 13   | [GLM 5.3](https://models.pydantic.dev/models/glm-5.3.md)                                             | max     | 59.0% | $2.15         |
| 14   | [Step 5 Preview](https://models.pydantic.dev/models/step-5-preview.md)                               | –       | 58.9% | $1.43         |
| 15   | [Muse Spark 1.1](https://models.pydantic.dev/models/muse-spark-1.1.md)                               | –       | 58.8% | $2            |
| 16   | [Gemini 3.1 Pro Preview](https://models.pydantic.dev/models/gemini-3.1-pro-preview.md)               | –       | 58.7% | $4.5          |
| 17   | [GPT-5.6 Sol](https://models.pydantic.dev/models/gpt-5.6-sol.md)                                     | high    | 57.8% | $8            |
| 17   | [Grok 4.7](https://models.pydantic.dev/models/grok-4.7.md)                                           | high    | 57.8% | $3            |
| 19   | [GPT-6 Sol](https://models.pydantic.dev/models/gpt-6-sol.md)                                         | max     | 57.6% | $4            |
| 20   | [Muse Spark 1.2](https://models.pydantic.dev/models/muse-spark-1.2.md)                               | xhigh   | 57.4% | $2            |
| 21   | [Gemini 3.8 Flash](https://models.pydantic.dev/models/gemini-3.8-flash.md)                           | high    | 56.6% | $1.5          |
| 21   | [GPT-5.4](https://models.pydantic.dev/models/gpt-5.4.md)                                             | xhigh   | 56.6% | $5.63         |
| 23   | [GPT-6 Astra](https://models.pydantic.dev/models/gpt-6-astra.md)                                     | max     | 56.5% | $20           |
| 23   | [Grok 4.6](https://models.pydantic.dev/models/grok-4.6.md)                                           | high    | 56.5% | $3            |
| 25   | [Claude Opus 5](https://models.pydantic.dev/models/claude-opus-5.md)                                 | max     | 56.4% | $10           |
| 26   | [GPT-5.5](https://models.pydantic.dev/models/gpt-5.5.md)                                             | high    | 56.1% | $11           |
| 27   | [DeepSeek V4.1 Flash 1017](https://models.pydantic.dev/models/deepseek-v4.1-flash-1017.md)           | max     | 55.9% | $0.26         |
| 28   | [GPT-6.1 Sol](https://models.pydantic.dev/models/gpt-6.1-sol.md)                                     | high    | 55.8% | $4            |
| 29   | [GPT-6.1 Terra](https://models.pydantic.dev/models/gpt-6.1-terra.md)                                 | max     | 55.1% | $2            |
| 30   | [Claude Haiku 5.5](https://models.pydantic.dev/models/claude-haiku-5.5.md)                           | max     | 55.0% | $0.2          |
| 30   | [GPT-5.6 Terra](https://models.pydantic.dev/models/gpt-5.6-terra.md)                                 | max     | 55.0% | $4.5          |
| 30   | [Grok 4.5](https://models.pydantic.dev/models/grok-4.5.md)                                           | high    | 55.0% | $3            |
| 33   | [GPT-6 Luna](https://models.pydantic.dev/models/gpt-6-luna.md)                                       | max     | 54.6% | $0.2          |
| 34   | [Claude Opus 4.7](https://models.pydantic.dev/models/claude-opus-4.7.md)                             | max     | 54.5% | $10           |
| 35   | [Claude Sonnet 5](https://models.pydantic.dev/models/claude-sonnet-5.md)                             | high    | 54.3% | $4            |
| 36   | [Mistral Large 4](https://models.pydantic.dev/models/mistral-large-4-0.md)                           | –       | 54.2% | $1.05         |
| 37   | [Gemini 3.5 Flash](https://models.pydantic.dev/models/gemini-3.5-flash.md)                           | high    | 53.9% | $3.38         |
| 38   | [GPT-5.6 Luna](https://models.pydantic.dev/models/gpt-5.6-luna.md)                                   | max     | 53.6% | $0.45         |
| 39   | [Claude Opus 4.8](https://models.pydantic.dev/models/claude-opus-4.8.md)                             | max     | 53.5% | $10           |
| 39   | [Kimi K2.6](https://models.pydantic.dev/models/kimi-k2.6.md)                                         | –       | 53.5% | $1.71         |
| 41   | [Gemini 3.6 Flash](https://models.pydantic.dev/models/gemini-3.6-flash.md)                           | high    | 53.4% | $1.5          |
| 42   | [Qwen3.8 Max (0902)](https://models.pydantic.dev/models/qwen3.8-max-0902.md)                         | –       | 53.2% | $3            |
| 43   | [GPT-5.4 Mini](https://models.pydantic.dev/models/gpt-5.4-mini.md)                                   | xhigh   | 52.1% | $1.69         |
| 44   | [DeepSeek V4.1 Flash](https://models.pydantic.dev/models/deepseek-v4.1-flash.md)                     | max     | 51.9% | $0.26         |
| 45   | [DeepSeek V4 Pro 0813](https://models.pydantic.dev/models/deepseek-v4-pro-0813.md)                   | high    | 51.7% | $2.17         |
| 46   | [GLM 5.3 Flash](https://models.pydantic.dev/models/glm-5.3-flash.md)                                 | –       | 51.6% | $0.24         |
| 47   | [MiMo-V2.6-Flash](https://models.pydantic.dev/models/mimo-v2.6-flash.md)                             | –       | 51.3% | $0.17         |
| 48   | [GLM 5.2](https://models.pydantic.dev/models/glm-5.2.md)                                             | max     | 51.2% | $1.45         |
| 49   | [MiMo-V2.5-Pro](https://models.pydantic.dev/models/mimo-v2.5-pro.md)                                 | –       | 50.2% | $0.54         |
| 50   | [MiniMax M2.7](https://models.pydantic.dev/models/minimax-m2.7.md)                                   | –       | 50.1% | $0.47         |
| 51   | [DeepSeek V4 Pro 0423](https://models.pydantic.dev/models/deepseek-v4-pro.md)                        | max     | 50.0% | $2.17         |
| 52   | [DeepSeek V4 Flash 0731](https://models.pydantic.dev/models/deepseek-v4-flash-0731.md)               | max     | 49.9% | $0.17         |
| 53   | [Inkling Small](https://models.pydantic.dev/models/inkling-small.md)                                 | –       | 49.7% | $0.64         |
| 54   | [Qwen3.7 Max](https://models.pydantic.dev/models/qwen3.7-max.md)                                     | –       | 49.5% | $2.21         |
| 55   | [Kimi K2.5](https://models.pydantic.dev/models/kimi-k2.5.md)                                         | –       | 49.0% | $1.23         |
| 56   | [Beam 1.0 501B A23B](https://models.pydantic.dev/models/beam-1.0-501b-a23b.md)                       | –       | 48.5% | $0.6          |
| 57   | [Grok 4.3](https://models.pydantic.dev/models/grok-4.3.md)                                           | high    | 48.3% | $1.56         |
| 58   | [Kimi K2.7 Code](https://models.pydantic.dev/models/kimi-k2.7-code.md)                               | –       | 47.8% | $1.71         |
| 59   | [GPT-5.4 Nano](https://models.pydantic.dev/models/gpt-5.4-nano.md)                                   | xhigh   | 47.2% | $0.46         |
| 60   | [MiniMax M3](https://models.pydantic.dev/models/minimax-m3.md)                                       | –       | 47.1% | $0.53         |
| 61   | [Inkling](https://models.pydantic.dev/models/inkling.md)                                             | xhigh   | 47.0% | $1.76         |
| 62   | [Claude Sonnet 4.6](https://models.pydantic.dev/models/claude-sonnet-4.6.md)                         | max     | 46.8% | $6            |
| 63   | [Qwen3.8 27B](https://models.pydantic.dev/models/qwen3.8-27b.md)                                     | xhigh   | 46.6% | $1.09         |
| 64   | [Gemini 2.5 Pro](https://models.pydantic.dev/models/gemini-2.5-pro.md)                               | –       | 46.3% | $3.44         |
| 65   | [Qwen3.7 Plus](https://models.pydantic.dev/models/qwen3.7-plus.md)                                   | –       | 46.1% | $0.56         |
| 66   | [Claude Sonnet 4.5](https://models.pydantic.dev/models/claude-sonnet-4.5.md)                         | –       | 45.7% | $6            |
| 67   | [Gemma 4 31B](https://models.pydantic.dev/models/gemma-4-31b-it.md)                                  | –       | 45.5% | $0.18         |
| 68   | [GLM 4.7](https://models.pydantic.dev/models/glm-4.7.md)                                             | –       | 45.1% | $1            |
| 69   | [DeepSeek V4 Flash 0423](https://models.pydantic.dev/models/deepseek-v4-flash.md)                    | max     | 44.9% | $0.17         |
| 70   | [GLM 5.1](https://models.pydantic.dev/models/glm-5.1.md)                                             | –       | 44.8% | $2.15         |
| 71   | [Gemini 3.1 Flash Lite](https://models.pydantic.dev/models/gemini-3.1-flash-lite.md)                 | –       | 43.4% | $0.56         |
| 72   | [GPT-5.1](https://models.pydantic.dev/models/gpt-5.1.md)                                             | –       | 43.3% | $3.44         |
| 73   | [MiMo-V2.5](https://models.pydantic.dev/models/mimo-v2.5.md)                                         | –       | 43.1% | $0.8          |
| 74   | [GPT-5](https://models.pydantic.dev/models/gpt-5.md)                                                 | –       | 42.9% | $3.44         |
| 75   | [Claude Haiku 4.5](https://models.pydantic.dev/models/claude-haiku-4.5.md)                           | –       | 42.2% | $2            |
| 76   | [Qwen3 235B A22B Thinking 2507](https://models.pydantic.dev/models/qwen3-235b-a22b-thinking-2507.md) | –       | 41.4% | $1.21         |
| 77   | [Gemini 3.5 Flash Lite](https://models.pydantic.dev/models/gemini-3.5-flash-lite.md)                 | –       | 41.3% | $0.85         |
| 78   | [Qwen3.6 Plus](https://models.pydantic.dev/models/qwen3.6-plus.md)                                   | –       | 40.7% | $0.73         |
| 79   | [Nemotron 3 Ultra](https://models.pydantic.dev/models/nemotron-3-ultra-550b-a55b.md)                 | –       | 40.3% | $1.05         |
| 80   | [Gemma 4 26B A4B](https://models.pydantic.dev/models/gemma-4-26b-a4b-it.md)                          | –       | 40.0% | $0.26         |
| 80   | [Step 3.7 Flash](https://models.pydantic.dev/models/step-3.7-flash.md)                               | –       | 40.0% | $0.44         |
| 82   | [GPT-5 Mini](https://models.pydantic.dev/models/gpt-5-mini.md)                                       | –       | 39.2% | $0.69         |
| 83   | [DeepSeek V3.2 Exp](https://models.pydantic.dev/models/deepseek-v3.2-exp.md)                         | –       | 38.9% | $0.3          |
| 83   | [gpt-oss-20b](https://models.pydantic.dev/models/gpt-oss-20b.md)                                     | high    | 38.9% | $0.1          |
| 85   | [Command A+](https://models.pydantic.dev/models/command-a-plus.md)                                   | –       | 38.5% | $0.6          |
| 86   | [GLM 4.6](https://models.pydantic.dev/models/glm-4.6.md)                                             | –       | 38.4% | $1            |
| 87   | [DeepSeek V3.1 Terminus](https://models.pydantic.dev/models/deepseek-v3.1-terminus.md)               | –       | 38.0% | $0.44         |
| 88   | [Qwen3.6 27B](https://models.pydantic.dev/models/qwen3.6-27b.md)                                     | none    | 37.3% | $1.01         |
| 89   | [Qwen3.6 35B A3B](https://models.pydantic.dev/models/qwen3.6-35b-a3b.md)                             | –       | 36.6% | $0.35         |
| 90   | [Qwen3 Coder Next](https://models.pydantic.dev/models/qwen3-coder-next.md)                           | –       | 36.2% | $0.29         |
| 91   | [gpt-oss-120b](https://models.pydantic.dev/models/gpt-oss-120b.md)                                   | low     | 36.0% | $0.26         |
| 91   | [Nemotron 3 Super](https://models.pydantic.dev/models/nemotron-3-super-120b-a12b.md)                 | –       | 36.0% | $0.17         |
| 93   | [DeepSeek V3](https://models.pydantic.dev/models/deepseek-chat.md)                                   | –       | 35.8% | $0.24         |
| 94   | [Qwen3.5-122B-A10B](https://models.pydantic.dev/models/qwen3.5-122b-a10b.md)                         | none    | 35.6% | $0.71         |
| 95   | [Qwen3.5-9B](https://models.pydantic.dev/models/qwen3.5-9b.md)                                       | –       | 29.5% | $0.23         |
| 96   | [Qwen3.5-35B-A3B](https://models.pydantic.dev/models/qwen3.5-35b-a3b.md)                             | none    | 29.3% | $0.69         |
