Clef Flash

Cloudflare
cloudflare/clef-flashOpen Weights

Cloudflare's fast 9B open-weight decision model that returns probabilities for typed choice, score and yes/no questions about text or images

Benchmark Pricing$0.09 / 1M in$0.00 / 1M out
Context: 262,144 tokens•Max Output: 4,096 tokens•Released: 2026-10-01

TECHNICAL SPECIFICATIONS

Context Window262,144262.1K tokens
Max Output4,0964.1K tokens
LicenseApache-2.0Self-hostable
Input Modalities
TextVision
Function / Tool CallingNot Supported
Structured OutputsPrompt Based

MODEL CONTEXT PROTOCOL (MCP) READINESS

⚠ Clef Flash does not natively advertise tool-calling capabilities. When connecting to MCP servers, function calling must be handled via structured prompt injection.

MCP Context Window Recommendations

With a context capacity of 262,144 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

API CALL INVOCATION EXAMPLE

// Example: Calling Clef Flash via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.CLOUDFLARE_API_KEY,
});

const response = await client.chat.completions.create({
  model: "cloudflare/clef-flash",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

4 providers
NanoGPTcloudflare/clef-flash
$0.09 / $0.00
Meliousclef-flash
$0.03 / $0.00
Cloudflare Workers AI@cf/cloudflare/clef-flash
$0.04 / $0.00
OpenRoutercloudflare/clef-flash
$0.04 / $0.00

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.