Pricing, context window, capabilities, and release date — pulled from each provider's public docs. Both are available via the same AIgateway OpenAI-compatible endpoint; flip the model string to switch.
Both models stream in parallel through your own AIgateway key. Tokens, latency, and cost update as they arrive.
| Claude Fable 5.1 anthropic/claude-fable-5.1 | FLUX.1 Kontext [Max] black-forest-labs/flux-1-kontext-max | |
|---|---|---|
| Provider | Anthropic | Black Forest Labs |
| Family | FLUX | |
| Modality | text | image |
| Context window | 1,000,000 tok | — |
| Max output | 128,000 tok | — |
| Released | 2026-09-01 | 2026-08-19 |
| Input price | $10.00 /1M | $0.080 /img |
| Output price | $50.00 /1M | — |
| Cache read | — | — |
| Tools | yes | — |
| Streaming | yes | — |
| Vision | yes | — |
| JSON mode | yes | — |
| Reasoning | — | — |
| Prompt caching | — | — |
Claude Fable 5.1 is Anthropic's next model in the Fable family, with improvements in agentic coding, long-running agentic workflows, knowledge work, front-end and visual code generation, and finance and analysis tasks. It supports adaptive thinking and a 1M token context window.
FLUX.1 Kontext [max] is Black Forest Labs' highest-quality Kontext model for text-to-image generation and context-aware image editing.
# pip install aigateway-py openai
# aigateway-py: sub-accounts, evals, replays, jobs, webhook verify.
# openai SDK: chat/embeddings/images/audio — drop-in compat per our SDK's own guidance.
from openai import OpenAI
client = OpenAI(
base_url="https://api.aigateway.sh/v1",
api_key="sk-aig-...",
)
# Try Claude Fable 5.1
client.chat.completions.create(
model="anthropic/claude-fable-5.1",
messages=[{"role":"user","content":"hello"}],
)
# Try FLUX.1 Kontext [Max] — same client, same key
client.chat.completions.create(
model="black-forest-labs/flux-1-kontext-max",
messages=[{"role":"user","content":"hello"}],
)