Compare

FLUX.2 [Pro] Preview vs Grok 4.20 Multi-Agent

Pricing per million tokens, context window, capabilities — pulled from each provider's public docs. All 2 are available via the same AIgateway OpenAI-compatible endpoint; flip the model string to switch.

Search2/4
FLUX.2 [Pro] Preview
black-forest-labs/flux-2-pro-preview
Grok 4.20 Multi-Agent
xai/grok-4.20-multi-agent-0309
Provider
Black Forest Labs
xAI
Family
FLUX
Grok 4
Modality
image
text
Context window
2,000,000 tok
Max output
4,096 tok
Released
2026-05-27
2026-05-22
License
Open-weight
Proprietary
Input price
$2.00 /1M
Output price
$6.00 /1M
Per image
$0.0000 /img
Tools
Streaming
yes
Vision
JSON mode
Reasoning
Prompt caching
Batch API
Try it
Open in playground →
Open in playground →
FLUX.2 [Pro] Preview
black-forest-labs/flux-2-pro-preview
Full spec →

FLUX.2 [pro] Preview is Black Forest Labs' recommended default for production image generation and editing — tracks the latest [pro] weights with strong multi-reference support.

Strengths
  • Text-to-image generation
  • Creative control
Use cases
Marketing assetsProduct mockupsConcept art
Grok 4.20 Multi-Agent
xai/grok-4.20-multi-agent-0309
Full spec →

xAI's Grok 4.20 multi-agent model with a 2M-token context window. Multiple agents collaborate in parallel to perform deep research tasks, with function calling, structured outputs, and reasoning capabilities.

Strengths
  • General-purpose chat
  • Long context
  • Tool use
Use cases
ChatbotsContent generationAgentic workflows

Compare with another

Claude Opus 4.8 vs Grok 4.20 Multi-Agent
anthropic/claude-opus-4.8 · xai/grok-4.20-multi-agent-0309
Claude Opus 4.8 vs FLUX.2 [Pro] Preview
anthropic/claude-opus-4.8 · black-forest-labs/flux-2-pro-preview
Claude Sonnet 4.6 vs Grok 4.20 Multi-Agent
anthropic/claude-sonnet-4.6 · xai/grok-4.20-multi-agent-0309
Claude Sonnet 4.6 vs FLUX.2 [Pro] Preview
anthropic/claude-sonnet-4.6 · black-forest-labs/flux-2-pro-preview
Grok 4.20 Multi-Agent vs GPT-5.4
xai/grok-4.20-multi-agent-0309 · openai/gpt-5.4
Grok 4.20 Multi-Agent vs Gemini 2.5 Pro
xai/grok-4.20-multi-agent-0309 · google/gemini-2.5-pro
Grok 4.20 Multi-Agent vs Gemini 3.1 Pro
xai/grok-4.20-multi-agent-0309 · google/gemini-3.1-pro
Grok 4.20 Multi-Agent vs GPT-5.5 Pro
xai/grok-4.20-multi-agent-0309 · openai/gpt-5.5-pro
Grok 4.20 Multi-Agent vs Grok Imagine Image Quality
xai/grok-4.20-multi-agent-0309 · xai/grok-imagine-image-quality
SWITCH BETWEEN THEM

One key, all 2, one line different.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.aigateway.sh/v1",
    api_key="sk-aig-...",
)

# FLUX.2 [Pro] Preview
client.chat.completions.create(
    model="black-forest-labs/flux-2-pro-preview",
    messages=[{"role":"user","content":"hello"}],
)

# Grok 4.20 Multi-Agent
client.chat.completions.create(
    model="xai/grok-4.20-multi-agent-0309",
    messages=[{"role":"user","content":"hello"}],
)
Get an AIgateway keyRun an eval on these →