Clef costs $0.24 per million input tokens: what gating a batch costs
Clef is $0.24 per million input tokens with no output charge, and each image counts at most 1,024 tokens. Work out the gate cost before a Sume batch.

Gating with Clef costs $0.24 for every million input tokens, and Cloudflare's model page says output tokens are not charged. So the gate's price is your total input tokens times 0.24 divided by one million; there is no second term. The cost to Sume is separate and is shown by a dry run.
The arithmetic
This table uses only the vendor rate and the vendor's per-image cap. Your own brief lengths are the unknown, so measure them with the usage field that the response carries.
| Input tokens | Cost at $0.24 per million |
|---|---|
| 1,000,000 | $0.24 |
| 10,000,000 | $2.40 |
| 100,000,000 | $24.00 |
| One image at the 1,024-token cap | at most $0.000246 |
| Four images at the cap (4,096 tokens) | at most $0.000983 |
Compare it with the thing you are guarding
A Sume paid call tells you its cost before you commit. On hosted MCP, dry_run=true returns the estimate as usage.credits and does not submit; the tools and gates page documents it. If a dry run is free and exact, a Clef gate earns its place only where it spares a person's time or screens things a dry run cannot see, such as whether the brief makes sense.
Record usage for each call for a week, then multiply. Do not assume a brief's token count.
Where the gate pays and where it does not
A gate has three costs: the vendor charge, the added latency and the chance it blocks something good. Cloudflare's blog reports a median latency of 38.8 ms for Clef-flash and 209.3 ms for Clef, so for a batch job the time is small next to a render.
The saving comes from what you do not submit. A brief that fails the gate never reaches Sume, and a brief that passes still gets a dry_run. Count blocked briefs for a week. If the gate blocks nothing, drop it; if it blocks good briefs, loosen the threshold.
- Log every block with the state you sent.
- Review a sample of blocked briefs.
- Treat the probability as advice, not a cap.
Sources
Related posts
More in Pricing
- AI video cost per second at 1080p on Sume, six models ranked
One second of 1080p on Sume: Omni Flash $0.1875, Wan 3.0 $0.25, H3 Max $0.20, Kling 3 $0.14 silent. List x 1.25, read 2026-10-13.
- Cheapest AI video per second at 480p on Sume, ranked
At 480p Sume Grok Imagine is $0.0125 a second, Omni Flash 360p $0.0375, then Wan 3.0 and H3 at $0.0625. Ranked, list x 1.25, read 2026-10-13.
- AI video cost per second at 720p on Sume: the models table
What one second of 720p AI video costs on Sume by model, from the repo price tables at list x 1.25, read 2026-10-13. Seedance 2.5 is $0.5778.
- FLUX.2 pro price: $0.03 first megapixel on fal, $0.0375 listed on Sume
fal charges FLUX.2 pro $0.03 for the first megapixel and $0.015 per extra one. Sume's catalog lists $0.03 and bills $0.0375 at its default size.
Written by Sume