impulse

Clef

Other
API id clef
Input / 1M
$0.24
at Cloudflare Workers AI
Output / 1M
$0.00
at Cloudflare Workers AI
Context window
66K
tokens
Max output
-
tokens per reply
Hosts
2
3 listings
Released
-
date not published

Pricing

List prices at Cloudflare Workers AI, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$0.24$0.00

What it costs a month

At Cloudflare Workers AI list prices, 30 days.

  • Chat assistant5,000 requests a day, 2K in / 0.5K out$72.00
  • RAG over documents2,000 requests a day, 8K in / 0.6K out$115
  • Coding agent1,000 requests a day, 40K in / 2K out$288
  • Overnight batch20,000 requests a day, 4K in / 0.4K out$576
Use your own numbers

Where to run it

2 hosts serve Clef. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
$0.24 / $0.00
clef
$0.24 / $0.00
Show 1 more listings: regions, snapshots and variants
Cloudflare Workers AI
Alias
clef
$0.24 / $0.00

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
TextImages
Produces
Text

Cheaper alternatives

Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.

Same model, cheaper host

No host sells it for less than Cloudflare Workers AI.

Smaller Independent models

No cheaper Independent model keeps its key capabilities.

Other frontier labs

  • Gemini Decision 1
    Google · on Google AI Studio
    $0.10 / $0.00
    Has every key capability
    58% less

Open-weight picks

No cheaper open-weight match.

Call it

Using Cloudflare Workers AI's API.

Python
from litellm import completion

response = completion(
    model="cloudflare/clef",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Quick answers

How much does Clef cost?

On Cloudflare Workers AI, Clef costs $0.24 per million input tokens.

Which APIs offer Clef?

Clef runs on 2 APIs: Cloudflare Workers AI and OpenRouter.

What is Clef's context window?

66K tokens.

Is Clef being retired?

No retirement date is scheduled for it on any API we track.

What are cheaper alternatives to Clef?

Models that cost less and keep most of what it can do: Gemini Decision 1 on Google AI Studio (58% less).

What is Clef's API model id?

Use clef with Cloudflare Workers AI.

Sources

Raw catalog entry for clef on Cloudflare Workers AI
{
  "input_cost_per_token": 2.4e-7,
  "litellm_provider": "cloudflare",
  "max_input_tokens": 65536,
  "mode": "evaluation",
  "output_cost_per_token": 0,
  "source": "https://developers.cloudflare.com/workers-ai/platform/pricing/",
  "supports_vision": true
}