Pelican-on-a-Bicycle SVG Test
Simon Willison’s iconic visual benchmark: the model draws a pelican riding a bicycle in pure SVG over a single streamed call. Instantly reveals spatial reasoning quality, live streaming tok/s, and silent downgrades to cheaper models.
Generated SVG
What prompt is sent and how is the SVG scored?
A single streamed call (stream=true) is sent with the exact prompt below:
Generate a detailed, well-proportioned SVG illustration of a pelican riding a bicycle. Return ONLY valid standalone SVG markup starting with <svg and ending with </svg>, using viewBox="0 0 800 600". Include clean side-profile geometry: two spoked bicycle wheels touching the ground, a proper diamond frame, seat, chainring, pedals, handlebars, and a recognizable pelican seated on the saddle with webbed feet on the pedals, wings reaching the handlebars, distinct feathers, eye, and a large colorful beak pouch, plus a scenic background. Do not include any explanation or markdown outside the SVG.
The returned XML is strictly sanitized to strip scripts and event handlers, then scored on valid <svg> structure, viewBox, vector primitive count, color richness, bicycle wheels, and real streaming tok/s.
Strict SVG sandbox
Strips <script>, <foreignObject>, event handlers, and DOCTYPE; renders inside an isolated <img> and downloads with CSP: sandbox.
Live streaming tok/s
Streamed over 400–1,200 tokens, giving an accurate TTFT, live tok/s throughput, and buffered fake-stream detection.
Compare two pelicans
Every run produces a permanent /r/{id} link — paste two into /compare to inspect two providers or models side by side.
Pelican Benchmark FAQ
What is the Pelican-on-a-bicycle SVG benchmark?
Created by Simon Willison to test LLM spatial reasoning: the model writes pure SVG code of a pelican riding a bicycle without image generators. Weak or substituted models output crude shapes while frontier models render cohesive scenes.
How does the Pelican test catch model substitution and fake streaming?
Generating SVG streams 400–1,200 output tokens over SSE: you visually verify model quality, measure accurate live tok/s throughput, and catch proxies that buffer the output before emitting it in one burst.
Is it safe to preview and download generated SVGs?
Yes. CLODEX Check strictly strips <script>, <foreignObject>, on* event handlers, and DOCTYPE, renders the SVG inside an isolated <img>, and serves downloads with Content-Security-Policy: sandbox.
Need the full authenticity suite (17 detectors + thinking signature)? Claude → · OpenAI → · Gemini →