Try any haircut on your own photo, then hand your barber a brief.
AI: publik API or your key
publik verified: the founder reviewed this exact version for malware and approved it
Hairpin
open source · on publik
Prices are for one typical use: one request of about 1,500 words sent and 375 words back. A higher quality score is better.
Not checked yet: publik has not read whether Hairpin can run its AI on your computer.
| Model | Quality | Per 1,000 uses |
|---|---|---|
| On your computer (Ollama, 4-bit download size) | ||
| Granite 4.2 3B2.2 GB | 9 | $0 |
| Phi-4 Mini2.5 GB | 6 | $0 |
| Llama 3.1 8B4.9 GB | 7 | $0 |
| gpt-oss 20B14 GB | 9 | $0 |
| Gemma 4 31B20 GB | 19* | $0 |
| Qwen3.5 35B-A3B24 GB | 19* | $0 |
| publik API | ||
| publik-fastGLM-5.3 Flash | 42 | $1.00 |
| publik-balancedMiMo-V2.6-Pro · Hairpin | 46 | $10.00 |
| publik-smartGPT-6 Sol | 48 | $18.00 |
Quality: Artificial Analysis Intelligence Index v4.3.2, read 2026-09-22 (publik API models 2026-09-25); * = estimated by Artificial Analysis. Sizes: the Ollama library, read 2026-09-22.
Hairpin lets you try any haircut on your own photo before you sit in the barber's chair: browse the hair library or upload a screenshot of a cut you've seen, preview it on yourself, decode what it's called, and turn the one you like into a Barber Brief you can show your barber. It is a Next.js web app (installable as a PWA) that opens with Google sign-in followed by Sign in with publik, and runs each person's AI on their own publik plan or, if they prefer, their own OpenAI key. To run it, npm install, copy .env.example to .env.local, replace the PLACEHOLDER_[...] values you have, and npm run dev; anything left as a placeholder simply stays switched off. To fill the landing page, drop a darkened-friendly haircut clip at public/hero/hero.mp4 (with an optional public/hero/poster.jpg) and import photos or clips into the library with node scripts/import-photos.mjs <folder>.