Clef-Flash pricing and cost calculator
Clef-Flash costs $0.09 and Clef costs $0.24 per million input tokens on Cloudflare Workers AI. What that means per decision depends on how much you send.
Cost per 1,000 decisions
| Input per decision | Tokens | Clef-Flash | Clef |
|---|---|---|---|
| Short text (a support ticket) | 186 | $0.017 | $0.045 |
| A long message or small JSON record | 500 | $0.045 | $0.120 |
| One ~1000 px product photo | 824 | $0.074 | $0.198 |
| A page of text or a long chat log | 2,000 | $0.180 | $0.480 |
The first and third rows use token counts from our own runs on 2026-10-02. Several questions in one request share the same state, so each extra question adds only its own instructions.
Calculator
Compared with this site’s packs
The playground sells 20 runs for $9 so you can test questions without a Cloudflare account. That is far more per run than calling the model yourself, on purpose: it is for trying, not volume. The Clef API guide shows how to call it from your own account.
FAQ
Are output tokens billed?
Cloudflare lists Clef prices per million input tokens. In our runs every answer reported 0 output tokens, so cost follows input size.
How many tokens does an image use?
In our run a 1000×667 JPEG plus a short question used 824 input tokens.
Is there a free tier?
Workers AI is billed through your Cloudflare account. Check Cloudflare’s Workers AI pricing page for the current free allocation.
What does this site charge?
The playground gives 3 free runs, then $9 for 20 runs. It is meant for trying questions, not production volume. For volume, call the model from your own Cloudflare account.
Prices from Cloudflare’s Workers AI model pages for clef-flash and clef, checked 2026-10-02. Cloudflare may change them.