# FLUX.1 Kontext API pricing for AI agents

Source: https://corespeed.io/models/flux-1-kontext

FLUX.1 Kontext is Black Forest Labs' image model family that edits pictures from text and reference images, keeping a character the same across scenes and changing one part while the rest stays. Through CoreSpeed, Claude Code, Codex, Cursor or any MCP agent runs its [pro], [max] and [dev] tiers with no Black Forest Labs account, from one credit balance.

## What it costs, per billed unit

Read from the CoreSpeed catalog for this answer. Rates are in credits, and 1,000 credits are $1.

| Variant | Name in the catalog | Rate | In dollars |
| --- | --- | --- | --- |
| Text to image, [pro] | FLUX.1 Kontext [pro] | 60 credits per billed image | $0.06 |
| Edit an image, [pro] | FLUX.1 Kontext [pro] | 60 credits per billed image | $0.06 |
| Edit with several images, [pro] | FLUX.1 Kontext [pro] | 60 credits per billed image | $0.06 |
| Edit an image, [max] | FLUX.1 Kontext [max] | 120 credits per billed image | $0.12 |
| Edit with several images, [max] | FLUX.1 Kontext [max] | 120 credits per billed image | $0.12 |
| Edit an image, [dev] | FLUX.1 Kontext [dev] | 37 credits per billed megapixel | $0.037 |

A run is billed once, after it succeeds: the rate times the units the model reports for that run. Settings such as resolution, length, count or sound change how many units a run counts. A failed, cancelled or expired run costs nothing.

Every model in Image generation, with its rate: https://corespeed.io/catalog/image-generation

## What it does well

- A character or object kept the same across new scenes.
- Local edits that change one part of an image and leave the rest alone.
- Step-by-step editing: add an instruction and build on the last edit.

## Facts

- Takes: A text prompt; to edit, one image, or several on the multi variants.
- Makes: 1 to 4 images per run, as JPEG or PNG.
- Aspect ratio: From 21:9 to 9:21 on [pro] and [max]; [dev] matches the input image by default.
- [dev]: The open-weight 12B model, run in 10 to 50 steps.

From Black Forest Labs's own page: [Introducing FLUX.1 Kontext](https://bfl.ai/announcements/flux-1-kontext)

## How your agent runs it

Paste this line into Claude Code, Codex or Cursor:

```text
set up https://corespeed.io/SKILL.md (read it raw, e.g. with curl), then make a 3:2 picture of a chalkboard menu that reads "Harbor Coffee" with FLUX.1 Kontext [pro], and tell me the rate before you run it
```

It starts with the setup line, so it works on a machine without CoreSpeed: the agent fetches https://corespeed.io/SKILL.md, adds the MCP server and signs you in. Then it runs FLUX.1 Kontext through the media tools:

1. `media__list_models`: search the catalog for FLUX.1 Kontext and pick the variant that fits.
2. `media__get_model`: read the rate and the inputs the model takes, before anything runs.
3. `media__generate`: run it. The file comes back as a link and lands in your Drive for 7 days.

## Questions

### What is the difference between [pro], [max] and [dev]?

[pro] is built for fast, iterative editing. [max] adds stronger prompt following and typography. [dev] is the open-weight 12B model.

### Can FLUX.1 Kontext combine several images?

Yes. The multi variants of [pro] and [max], an experimental feature, take several images and one prompt, such as a product from one photo placed in another.

### Do I need a Black Forest Labs account or API key to use FLUX.1 Kontext?

No. CoreSpeed runs FLUX.1 Kontext for your agent. You sign in to CoreSpeed once, and each run comes out of your one credit balance.

### Am I charged if a generation fails?

No. A generation is billed once, after it succeeds. Failed, cancelled and expired generations are never charged. How media billing works: https://corespeed.io/docs/media

### Do I have to switch agents?

No. CoreSpeed adds tools to the agent you already use: Claude Code, Codex, Cursor, or another MCP client. Each one signs in once.

All model prices: https://corespeed.io/models (Markdown: https://corespeed.io/models.md)

## Related pages

- [Image generation for AI agents](https://corespeed.io/integrations/image-generation): Give your agent hundreds of image models with no API keys. It reads each model's rate first, and only a finished image is charged.
- [FLUX.2 [pro] API pricing for AI agents](https://corespeed.io/models/flux-2-pro): FLUX.2 [pro] API pricing on CoreSpeed: the rate, read live from the catalog, to generate, edit and outpaint, with no Black Forest Labs account.
- [Nano Banana API pricing for AI agents](https://corespeed.io/models/nano-banana): Nano Banana API pricing on CoreSpeed: the rate, read live from the catalog, and how Claude Code or Codex runs Gemini 2.5 Flash Image with no Google key.

## Sources

- Introducing FLUX.1 Kontext: https://bfl.ai/announcements/flux-1-kontext
- Media docs: https://corespeed.io/docs/media

Reviewed 2026-11-24.

## Links

- Product overview: https://corespeed.io/ (Markdown: https://corespeed.io/index.md)
- Documentation: https://corespeed.io/docs
- Pricing: https://corespeed.io/pricing (Markdown: https://corespeed.io/pricing.md)
