oneshotlm
Compare all models on this prompt →

Drum machine · llama-3.1-70b-instruct

Output generated Cost / run $0.0023 Runtime 34.1s

Prompt for this run

Build a 16-step drum machine with a clickable grid for kick, snare, hi-hat, and clap, all sounds synthesized with the Web Audio API, plus play/stop and an adjustable BPM.

⛨ 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

modelllama-3.1-70b-instruct
vendorMeta · Llama
harnesspi-agent
generated2026-08-01

METRICS

runtime34.1s
tokens in4.7k
tokens out1.1k
cached0
cost / run$0.0023
Transcript · 4 messages
user

Build a 16-step drum machine with a clickable grid for kick, snare, hi-hat, and clap, all sounds synthesized with the Web Audio API, plus play/stop and an adjustable BPM.

assistant
→ write index.html (3492 bytes)
toolResult

Successfully wrote 3492 bytes to index.html

assistant

A 16-step drum machine with a clickable grid for kick, snare, hi-hat, and clap, all sounds synthesized with the Web Audio API, plus play/stop and an adjustable BPM has been written to index.html in the current directory.