cocode.dk

pi benchmark: particle-1 vs DeepSeek V4.1 Flash

Two models, run through the pi agent CLI on OpenRouter at maximum thinking, each building the same three things from the same prompt: the three.js tank game Tank Duel, a 2D Tower Bridge you can zoom, and a 2D Taj Mahal you can zoom, drawn from a photo the model has to read. The two zoomable pages are pure JavaScript, HTML and CSS with no library.

Read this first

One run per model and task. A single run can be luck, so read the gaps as a first look, not a ranking. These pi runs cannot be compared with setups A to G on the main page: there a separate reviewer model checked every build and Claude dollars were billed, and a round meant a build or a repair. Here one pi session builds and tests its own work until its own suite is green, with no reviewer, and I graded it afterwards.

Tank Duel

The same spec and test setup as the first benchmark. Both games passed all 14 hidden checks, which no model saw, so on quality it is a tie. Particle-1 finished four times faster at under half the cost.

ModelTimeSpeedOutput tokensRoundsCostCode / testsChecks
particle-15 min 8 s449 tok/s53,3452$0.20821 / 26814/14
deepseek-v4.1-flash-101720 min 19 s205 tok/s132,8163$0.481,148 / 43414/14
DeepSeek's Tank Duel: a walled arena seen from above, a blue and a red tank, health bars and the score.

deepseek-v4.1-flash-1017

Source

Tower Bridge, zoomable

Both pages passed all 20 of my checks: the zoom, pan, buttons, bad input, window resize and no console errors. On looks, DeepSeek's is clearly closer to the real bridge: its chains droop from the tower tops to the shore towers, it has a skyline and water reflections, and at 5× it shows trusses and gold joint plates under the deck. Particle-1's chains arch above the deck like an arch bridge, its river leaves cream margins at the window edges and its walkway is a plain box, though zoomed in it adds cars and lamp posts. Particle-1 was 3.6 times faster; it was cheaper at DeepSeek's full price, but DeepSeek was cheaper at the price it was billed.

ModelTimeSpeedOutput tokensRoundsCostCode / testsChecks
particle-13 min 14 s499 tok/s57,8801$0.16997 / 10520/20
deepseek-v4.1-flash-101711 min 39 s260 tok/s121,2402$0.20 ($0.14 billed)1,360 / 10520/20
particle-1's Tower Bridge at zoom 1: two towers, arched chains, a flat deck, the river.

particle-1, zoom 1 Play

particle-1's Tower Bridge at zoom 5: stonework, rails, lamp posts and two vehicles on the deck.

particle-1, zoom 5 Play

DeepSeek's Tower Bridge at zoom 1: two Gothic towers, drooping chains, a skyline and the river.

deepseek, zoom 1 Play

DeepSeek's Tower Bridge at zoom 5: a truss under the road deck, road markings, stonework and windows.

deepseek, zoom 5 Play

Taj Mahal, from a photo

The Tower Bridge prompt again, but the building is in a photo attached to the message: each model had to read the photo and draw it in code, with no image file, no <img> and no data:image in the page. Both pages passed my six image checks. DeepSeek passed all 20 zoom checks; particle-1 passed 19, because its pan moves the view the opposite way from what my check expected. On looks, particle-1's construction is the more complete: it follows the photo's composition and proportions more closely, with a dome and spire, four minarets with balconies, the portal, the pool and the cypress avenue, though its portal is plain. DeepSeek has more elements and more detail (inlaid flowers, a calligraphy band, lattice windows, visitors), but its proportions drift (a huge portal, a small dome, thin minarets) and it has a plain defect: the cupola on each of the four minarets floats about 14 units above its shaft, with sky showing between. My checks did not catch that gap; I found it afterwards by looking. I am not completely satisfied with either page. For this cost I can live with them, and a few more runs, each told what to fix, should close the gaps. Particle-1 was 2.2 times faster and cheaper at the full price; DeepSeek was cheaper at the price it was billed, because the whole run came after 10:00 UTC.

ModelTimeSpeedOutput tokensRoundsCostCode / testsChecks
particle-110 min 0 s238 tok/s79,0193$0.30911 / 13425/26
deepseek-v4.1-flash-101722 min 25 s139 tok/s129,4704$0.35 ($0.17 billed)1,893 / 12726/26
particle-1's Taj Mahal at zoom 1: a white dome and four minarets, a pool and a path of cypress trees.

particle-1, zoom 1 Play

particle-1's Taj Mahal at zoom 5: the portal with two rosettes and the base of the dome.

particle-1, zoom 5 Play

DeepSeek's Taj Mahal at zoom 1: a large portal, a dome, thin minarets, visitors and cypress trees.

deepseek, zoom 1 Play

DeepSeek's Taj Mahal at zoom 5: inlaid flowers, a calligraphy band and lattice windows on the portal.

deepseek, zoom 5 Play

How these runs were made

Made by Babak Bandpey