GPT-4.1 Nano coding benchmark
OpenAI · API model gpt-4.1-nano · Results published 25 Oct 2026 · Benchmark v4
How GPT-4.1 Nano performed
GPT-4.1 Nano by OpenAI took the PomBench AI coding benchmark: every model gets the same prompt and writes self-contained browser code for a twelve-second scene: a Pomeranian runs across a backyard, jumps a puddle, enters its doghouse, retrieves a bone and turns toward the viewer. The video above is an independent offline browser recording of the code GPT-4.1 Nano returned, captured at 960 × 540 and 30 fps, with no organizer edits to the code.
In this GPT-4.1 Nano coding test the model produced 2,521 output tokens, including provider-reported reasoning (rank 40 of 46 by output tokens), and the known API cost was $0.0012 (rank 2 of 45, cheapest first). Is GPT-4.1 Nano good at coding? One task cannot answer that on its own, so this LLM coding benchmark lets you watch the result instead of reading a score: check the gait, the puddle jump and reflection, the doorway occlusion and whether the bone stays in the dog's mouth.
Then compare GPT-4.1 Nano vs GPT-4.1 Mini and GPT-OSS 120B below, or open the AI model comparison to play up to four models on one synchronized timeline.
GPT-4.1 Nano vs GPT-4.1 Mini, GPT-OSS 120B and Llama 4 Maverick
- GPT-4.1 Nano vs GPT-4.1 Mini: 2,521 vs 13,811 output tokens; known API cost $0.0012 vs $0.0229. Watch side by side
- GPT-4.1 Nano vs GPT-OSS 120B: 2,521 vs 2,223 output tokens; known API cost $0.0012 vs $0.0016. Watch side by side
- GPT-4.1 Nano vs Llama 4 Maverick: 2,521 vs 763 output tokens; known API cost $0.0012 vs $0.0013. Watch side by side
GPT-4.1 Nano code
GPT-4.1 Nano wrote its own native browser animation code from the same prompt as every other model. One execution repair is available for empty, truncated or unexecutable code; the final response is kept, not a best-of selection.