FLUX.1 Kontext [dev]
Black-forest-labsblack-forest-labs/flux-1-kontext-devOpen WeightsOpen-weight FLUX.1 Kontext model for instruction-based image editing
Benchmark Pricing$0.00 / 1M in$0.00 / 1M out
Context: 128,000 tokens•Max Output: 4,096 tokens•Released: 2025-05-29
TECHNICAL SPECIFICATIONS
Context Window128,000128K tokens
Max Output4,0964.1K tokens
LicenseFLUX.1 [dev] Non-Commercial LicenseSelf-hostable
Input Modalities
TextVision
Function / Tool CallingNot Supported
Structured OutputsPrompt Based
MODEL CONTEXT PROTOCOL (MCP) READINESS
⚠ FLUX.1 Kontext [dev] 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 128,000 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.
API CALL INVOCATION EXAMPLE
// Example: Calling FLUX.1 Kontext [dev] via OpenAI SDK
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.BLACK-FOREST-LABS_API_KEY,
});
const response = await client.chat.completions.create({
model: "black-forest-labs/flux-1-kontext-dev",
messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});
console.log(response.choices[0].message.content);PRICING BY PROVIDER
Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.
MODEL RESOURCES
More Models by Black-forest-labs
Alternative and family models from the same lab
FLUX.1 [schnell]
black-forest-labs/flux-1-schnell•Black-forest-labs
Fast few-step FLUX.1 text-to-image model under Apache 2.0
4.1K out max
In: Free • Out: Free
Black-forest-labsFLUX.1 [dev]
black-forest-labs/flux-1-dev•Black-forest-labs
Open-weight FLUX.1 text-to-image model for high-quality guidance-distilled generation
4.1K out max
In: Free • Out: Free
Black-forest-labs