Compare all models on this prompt →
Snake · gpt-4o-mini
Output saved · Stopped by an API error Cost / run $0.0007 Runtime 17.7s
A model request failed and its retries ran out. The output is the HTML saved before that.
Prompt for this run
Build a playable Snake game on a canvas with arrow-key controls, a growing tail, food, score, and a game-over and restart state.
⛨ sandboxed Open in new tab ↗
TAKE IT TO CODE
A single self-contained HTML file — copy it and open in any browser, or reuse the prompt with your own pi-agent run.
RUN
modelgpt-4o-mini
vendorOpenAI
harnesspi-agent
generated2026-07-22
METRICS
runtime17.7s
tokens in1.1k
tokens out978
cached1.0k
cost / run$0.0007
Transcript · 4 messages
user
Build a playable Snake game on a canvas with arrow-key controls, a growing tail, food, score, and a game-over and restart state.
assistant
→ write
index.html (3475 bytes)toolResult
Successfully wrote 3475 bytes to index.html
assistant