4DCodeBench
Agents reconstruct dynamic scenes from video as executable graphics programs, including physical simulations, so rendered output matches the observed motion.
200 GitHub stars at November 1st, 2026.
- Made by
- 4DCodeBench team
- Released
- October 2026
- Kind
- Physical prediction
- Level
- Expert
- Scored
- Checked automatically
- Answers
- Code
- Tasks
- All public
- Measures
- Capability
- Language
- English
- Interaction
- Agentic
- Environment
- Code sandbox
- Refresh
- One fixed set
- Run by
- Anyone
- Strongest model tested
- GPT-6 Astra #4 on the capability index
- Last model added
- September 2026
- Updated automatically
- Yes, daily
- Scores refreshed
- November 24th, 2026
In the authors’ words
We introduce 4DCodeBench, a benchmark for 4D inverse graphics through code generation, in which agents reconstruct dynamic scenes from video as executable graphics programs. To accomplish this, agents must translate visual observations into compact representations of scene structure and dynamics, by implementing abstractions such as physical simulations to reproduce complex behavior. To evaluate this capability, we curate a set of real-world videos and construct synthetic scenes spanning diverse physical phenomena, including deformation, fluid flow, and fracture. We perform extensive benchmarking of frontier models, finding that strong static reconstruction capabilities do not yet translate into reliable reconstruction of complex dynamics. 4DCodeBench provides a testbed for tracking progress toward agents that can interpret the dynamics of the world through code. Our benchmark is available at https://github.com/4DCodeBench/4DCodeBench
GPT-6 Astra leads with 0.79 among models released by September 2026
Best score per model from the benchmark's own leaderboard, read on November 24th, 2026. Where a model ran with several settings or harnesses, we keep its best. Every run is in the next chart.
The newest model with a score here came out in September 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.1 Sol
- and 10 more
- 0.79 GPT-6 Astra
- 0.78 Claude Opus 5.5
- 0.74 Claude Fable 5.1
- 0.72 Claude Opus 5
- 0.67 GPT-5.6 Luna
- 0.65 GPT-5.6 Sol
- 0.64
Gemini 3.8 Flash
- 0.60
DeepSeek V4.1 Flash
- 0.56
Qwen3.8 Flash
- 0.55 GPT-5.6 Terra
- 0.47 GLM-5.3-Flash
- 0.44
Muse Glimmer
- 0.43 MiMo-V2.5
- 0.34
MiniMax-M3
- 0.32
Mistral Medium 3.5
- 0.19
Gemma 4 31B IT
- 1 GPT-6 Astra Max 0.79
- 2 Claude Opus 5.5 High 0.78
- 3 Claude Fable 5.1 High 0.74
- 4 Claude Opus 5 High 0.72
- 5 GPT-5.6 Luna Max 0.67
- 6 GPT-5.6 Sol High 0.65
- 7
Gemini 3.8 Flash High 0.64
- 8
DeepSeek V4.1 Flash High 0.60
- 9
Qwen3.8 Flash XHigh 0.56
- 10 GPT-5.6 Terra High 0.55
- 11 GLM-5.3-Flash Max 0.47
- 12
Muse Glimmer High 0.44
- 13 MiMo-V2.5 Default 0.43
- 14
MiniMax-M3 Default 0.34
- 15
Mistral Medium 3.5 0.32
- 16
Gemma 4 31B IT 0.19
Source: Official 4DCodeBench leaderboard
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | GPT-6 Astra | 0.79 | Max, Codex | Sep 2026 | Official leaderboard |
| 2 | Claude Opus 5.5 | 0.78 | High, Claude Code | Sep 2026 | Official leaderboard |
| 3 | Claude Fable 5.1 | 0.74 | High, Claude Code | Sep 2026 | Official leaderboard |
| 4 | Claude Opus 5 | 0.72 | High, Claude Code | Jul 2026 | Official leaderboard |
| 5 | GPT-5.6 Luna | 0.67 | Max, Codex | Jul 2026 | Official leaderboard |
| 6 | GPT-5.6 Sol | 0.65 | High, Codex | Jul 2026 | Official leaderboard |
| 7 | | 0.64 | High, Antigravity | Sep 2026 | Official leaderboard |
| 8 | | 0.60 | High, Stirrup | Sep 2026 | Official leaderboard |
| 9 | | 0.56 | XHigh, Stirrup | Aug 2026 | Official leaderboard |
| 10 | GPT-5.6 Terra | 0.55 | High, Codex | Jul 2026 | Official leaderboard |
| 11 | GLM-5.3-Flash | 0.47 | Max, Stirrup | Aug 2026 | Official leaderboard |
| 12 | | 0.44 | High, Stirrup | Aug 2026 | Official leaderboard |
| 13 | MiMo-V2.5 | 0.43 | Default, Stirrup | Apr 2026 | Official leaderboard |
| 14 | | 0.34 | Default, Stirrup | Jun 2026 | Official leaderboard |
| 15 | | 0.32 | Stirrup | Apr 2026 | Official leaderboard |
| 16 | | 0.19 | Stirrup | Apr 2026 | Official leaderboard |
Rankings by part
We read 5 parts from the benchmark’s own leaderboard, each ranking models on one part of the test, such as Perceptual, 2D dynamics and 2.5D geometry. GPT-6 Astra leads 3 of them, and Claude Opus 5.5 leads the other 2. Arrows show how far a model moved from its overall rank among the models we track.
Perceptual
16 models we track have a score here.
- 1 GPT-6 Astra 0.91
- 2 Claude Opus 5.5 0.88
- 3 Claude Fable 5.1 0.86
- 4 Claude Opus 5 0.85
- 5 GPT-5.6 Luna 0.83
- 6 GPT-5.6 Sol 0.83
- 7
Gemini 3.8 Flash 0.81
- 8 GPT-5.6 Terra ↑2 0.79
- 9
DeepSeek V4.1 Flash ↓1 0.78
- 10
Qwen3.8 Flash ↓1 0.71
2D dynamics
16 models we track have a score here.
- 1 GPT-6 Astra 0.60
- 2 Claude Opus 5.5 0.56
- 3 Claude Fable 5.1 0.52
- 4 Claude Opus 5 0.51
- 5 GPT-5.6 Luna 0.42
- 6
Gemini 3.8 Flash ↑1 0.36
- 7 GPT-5.6 Sol ↓1 0.36
- 8
Qwen3.8 Flash ↑1 0.34
- 9
DeepSeek V4.1 Flash ↓1 0.34
- 10 GPT-5.6 Terra 0.23
2.5D geometry
16 models we track have a score here.
- 1 GPT-6 Astra 0.79
- 2 Claude Opus 5.5 0.77
- 3 Claude Fable 5.1 0.74
- 4 Claude Opus 5 0.73
- 5 GPT-5.6 Luna 0.70
- 6 GPT-5.6 Sol 0.63
- 7
Gemini 3.8 Flash 0.63
- 8
DeepSeek V4.1 Flash 0.62
- 9
Qwen3.8 Flash 0.55
- 10 GPT-5.6 Terra 0.52
3D geometry
16 models we track have a score here.
- 1 Claude Opus 5.5 ↑1 0.94
- 2 GPT-6 Astra ↓1 0.92
- 3 Claude Fable 5.1 0.90
- 4 GPT-5.6 Luna ↑1 0.86
- 5 Claude Opus 5 ↓1 0.86
- 6 GPT-5.6 Sol 0.85
- 7
Gemini 3.8 Flash 0.84
- 8 GPT-5.6 Terra ↑2 0.77
- 9
DeepSeek V4.1 Flash ↓1 0.77
- 10
Qwen3.8 Flash ↓1 0.71
3D dynamics
16 models we track have a score here.
- 1 Claude Opus 5.5 ↑1 0.75
- 2 GPT-6 Astra ↓1 0.73
- 3 Claude Fable 5.1 0.68
- 4 Claude Opus 5 0.64
- 5 GPT-5.6 Sol ↑1 0.56
- 6
Gemini 3.8 Flash ↑1 0.56
- 7 GPT-5.6 Luna ↓2 0.53
- 8
Qwen3.8 Flash ↑1 0.50
- 9
DeepSeek V4.1 Flash ↓1 0.48
- 10 GPT-5.6 Terra 0.43
Everything the board measures
The benchmark’s own leaderboard publishes 24 numbers for each entry: the headline score, 5 parts of the test and 18 other measures. Rank entries by any one, compare them all in the table, or plot any two. Each row is the entry’s best run on the headline score.
- Headline
- Overall score
- Parts
- Perceptual
- 2D dynamics
- 2.5D geometry
- 3D geometry
- 3D dynamics
- Other measures
- Cost per task
- Output tokens per task
- Visual question answering score
- Vision-language model Elo
- Human Elo
- Total tokens
- Steps per task
- Rendered scenes
- Real-scene Elo
- Real-scene human Elo
- Real-scene VQA score
- Real-scene cost per task
- Real-scene total tokens
- Synthetic-scene Elo
- Synthetic-scene human Elo
- Synthetic-scene VQA score
- Synthetic-scene cost per task
- Synthetic-scene total tokens
Nothing matches.
- Headline
- Overall score
- Parts
- Perceptual
- 2D dynamics
- 2.5D geometry
- 3D geometry
- 3D dynamics
- Other measures
- Cost per task
- Output tokens per task
- Visual question answering score
- Vision-language model Elo
- Human Elo
- Total tokens
- Steps per task
- Rendered scenes
- Real-scene Elo
- Real-scene human Elo
- Real-scene VQA score
- Real-scene cost per task
- Real-scene total tokens
- Synthetic-scene Elo
- Synthetic-scene human Elo
- Synthetic-scene VQA score
- Synthetic-scene cost per task
- Synthetic-scene total tokens
Nothing matches.
- Headline
- Overall score
- Parts
- Perceptual
- 2D dynamics
- 2.5D geometry
- 3D geometry
- 3D dynamics
- Other measures
- Cost per task
- Output tokens per task
- Visual question answering score
- Vision-language model Elo
- Human Elo
- Total tokens
- Steps per task
- Rendered scenes
- Real-scene Elo
- Real-scene human Elo
- Real-scene VQA score
- Real-scene cost per task
- Real-scene total tokens
- Synthetic-scene Elo
- Synthetic-scene human Elo
- Synthetic-scene VQA score
- Synthetic-scene cost per task
- Synthetic-scene total tokens
Nothing matches.
- Google DeepMind
- Xiaomi Corp
- Mistral AI
- MiniMax
- OpenAI
- Anthropic
- Meta
- Z.ai
- Qwen
- DeepSeek
- not in our model list
4DCodeBench score versus cost
The line joins the runs that no other run beats on both measures. We redrew this chart from the numbers on the official leaderboard.
| Model | Setting | Overall score | Mean cost per task |
|---|---|---|---|
| GPT-6 Astra | Max, Codex | 0.79 score | $11.32 |
| Claude Opus 5.5 | High, Claude Code | 0.78 score | $6.27 |
| GPT-6 Astra | High, Codex | 0.77 score | $6.28 |
| Claude Fable 5.1 | High, Claude Code | 0.74 score | $15.07 |
| GPT-6 Astra | Low, Codex | 0.73 score | $3.5 |
| Claude Opus 5 | High, Claude Code | 0.72 score | $17.52 |
| GPT-5.6 Luna | Max, Codex | 0.67 score | $0.67 |
| GPT-5.6 Sol | High, Codex | 0.65 score | $2.47 |
| High, Antigravity | 0.64 score | $2.72 | |
| High, Stirrup | 0.6 score | $0.44 | |
| XHigh, Stirrup | 0.56 score | $2.77 | |
| GPT-5.6 Terra | High, Codex | 0.55 score | $0.62 |
| GLM-5.3-Flash | Max, Stirrup | 0.47 score | $6.28 |
| High, Stirrup | 0.44 score | $0.29 | |
| MiMo-V2.5 | Default, Stirrup | 0.43 score | $0.16 |
| Default, Stirrup | 0.34 score | $2.47 | |
| Stirrup | 0.32 score | $3.57 | |
| Stirrup | 0.19 score | $0.08 |
The best score, 0.79, costs $11 a task
Runs on the cost frontier score higher than any run that's cheaper. The costs are the leaderboard's own estimates, so compare them only within this benchmark.
Source: Official 4DCodeBench leaderboard
| Model | Effort | Harness | Score | Cost per task | Output tokens |
|---|---|---|---|---|---|
| GPT-6 Astra | Max | Codex | 0.79 | $11 | 67,475 |
| Claude Opus 5.5 | High | Claude Code | 0.78 | $6.27 | 113,408 |
| GPT-6 Astra | High | Codex | 0.77 | $6.28 | 29,279 |
| Claude Fable 5.1 | High | Claude Code | 0.74 | $15 | 140,433 |
| GPT-6 Astra | Low | Codex | 0.73 | $3.50 | 13,439 |
| Claude Opus 5 | High | Claude Code | 0.72 | $18 | 253,626 |
| GPT-5.6 Luna | Max | Codex | 0.67 | $0.67 | 106,404 |
| GPT-5.6 Sol | High | Codex | 0.65 | $2.47 | 26,032 |
| High | Antigravity | 0.64 | $2.72 | 206,201 | |
| High | Stirrup | 0.60 | $0.44 | 134,310 | |
| XHigh | Stirrup | 0.56 | $2.77 | 1,505,896 | |
| GPT-5.6 Terra | High | Codex | 0.55 | $0.62 | 17,283 |
| GLM-5.3-Flash | Max | Stirrup | 0.47 | $6.28 | 451,636 |
| High | Stirrup | 0.44 | $0.29 | 45,242 | |
| MiMo-V2.5 | Default | Stirrup | 0.43 | $0.16 | 153,926 |
| Default | Stirrup | 0.34 | $2.47 | 144,665 | |
| Stirrup | 0.32 | $3.57 | 36,589 | ||
| Stirrup | 0.19 | $0.08 | 19,330 |
Number one over time
Lab claims count from the day the card came out, independent runs from the model’s release.
Source: Official 4DCodeBench 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 4DCodeBench 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.
More in World models
- AgentWorldBench In use Language world models predict the next environment observation after an agent action, in 7 domains from MCP and search to Android and desktop OS. A judge model scores each prediction against the real observation on five dimensions. GPT-5.4 58.3
- IntPhys 2 In use Models watch simulated videos and judge whether each event is physically possible, testing object permanence, immutability, continuity and solidity. Scored by accuracy.
Muse Spark Open 68.3%
- QwenWorldBench Fading Models act as world models that simulate agent environments in 7 domains, such as terminal, web, and Android. A rubric judge scores five dimensions.
Qwen3.7-Plus 62.1%
- VPCT Fading Models view an image of a ball, ramps, and three buckets and predict which bucket the ball falls into. Scored by accuracy on 100 problems.
Gemini 3 Pro 91%
- ContPhy Fading Models infer physical properties such as mass and density of fluids and soft bodies from videos and predict their dynamics.
Seed2.0 Pro 67.4%
- RBench Only in system cards 650 image+text prompts for robot video generation (tasks and embodiments). MLLM judge scores task completion, physical plausibility, stability.
Wan 2.6 60.7%
Data audit
9 of 10 checks pass, 1 warning. 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 4 pass 1 note
- Pass Independent runs Scores from the official leaderboard (16 entries).
- Pass Models scored 16 models we track.
- Pass Newest score The newest is from September 2026, for Claude Opus 5.5.
- Pass Frontier models 3 of the top 10 have a score, led by GPT-6 Astra (#4).
- Note Headroom Scored as a plain number, with no fixed ceiling.
Leaderboard import 3 pass
- Pass Importer We read the board on 4dcodebench.com: 18 rows for models we track 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.