Skip to main content

api pricing

Every model, priced in credits.

1 credit = $0.001. Chat is priced per million tokens, images per image and video per clip. You're charged only for what a request uses, and failed requests cost nothing.

chat · credits per 1M tokens

Chat model prices
Model idNameInputCached inputOutput
openai/gpt-6.1-solGPT-6.1 Sol2,30011511,500
openai/gpt-6-astraGPT-6 Astra11,5001,15057,500
openai/gpt-6-lunaGPT-6 Luna11511.5575
anthropic/claude-fable-5-1Claude Fable 5.111,50011,50057,500
anthropic/claude-opus-5-5Claude Opus 5.54,6004,60023,000
anthropic/claude-sonnet-5-5Claude Sonnet 5.52,3002,30011,500
anthropic/claude-haiku-5-5Claude Haiku 5.5115115575
google/gemini-3.1-proGemini 3.1 Pro2,3002,30013,800
google/gemini-3.8-flashGemini 3.8 Flash862.5862.54,312.5
google/gemini-3.5-flash-liteGemini 3.5 Flash-Lite3453452,875
xai/grok-4.7Grok 4.72,3005756,900
xai/grok-4.3Grok 4.31,437.52302,875
xai/grok-build-0.1Grok Build1,1502302,300
deepseek/deepseek-flashDeepSeek V4.1 Flash3456.91,380
deepseek/deepseek-v4-proDeepSeek V4 Pro1,51850.64,554
perplexity/sonarSonarplus web search, billed as used2,3002,3002,300
perplexity/sonar-proSonar Proplus web search, billed as used6,9006,90034,500
perplexity/sonar-reasoning-proSonar Reasoning Proplus web search, billed as used4,6004,60018,400

image · credits per image

Image model prices
Model idNamePer image
google/nano-banana-2.1Nano Banana 2.138.64
google/nano-banana-proNano Banana Pro154.1
openai/gpt-image-2.5GPT Image 2.5billed by usage · typically 5.64 (low) to 48.42 (high)
openai/gpt-image-2.5-fastGPT Image 2.5 Fastbilled by usage · typically 5.64 (low) to 48.42 (high)
bfl/flux-2-proFLUX 2 Pro57.5
bfl/flux-3FLUX 355.2
bfl/flux-kontext-proFLUX Kontext Pro46
bfl/flux-kontext-maxFLUX Kontext Max92
bfl/flux-pro-1.1FLUX 1.1 Pro46
bfl/flux-pro-1.1-ultraFLUX 1.1 Ultra69
xai/grok-imagine-imageGrok Imagine23
xai/grok-imagine-image-qualityGrok Imagine Quality57.5
xai/grok-imagine-image-2.0Grok Imagine 2.069
midjourney/v7Midjourney V792
midjourney/v6.1Midjourney V6.146
midjourney/v6Midjourney V646
midjourney/niji-6Niji 657.5
stability/sd-3.5-largeStable Diffusion 3.5 Large92
stability/sd-3.5-mediumStable Diffusion 3.5 Medium46
stability/sdxlSDXL46
stability/sd-turboSD Turbo57.5
ideogram/ideogram-3Ideogram 3.0—
recraft/recraft-v3Recraft V346
recraft/recraft-v3-vectorRecraft V3 Vector92
luma/photon-1Luma Photon17.25
luma/photon-flash-1Luma Photon Flash4.6

video · credits per clip

Video model prices
Model idNamePer clip
google/veo-3.1Veo 3.1with audio720p 4s: 1,840 · 720p 6s: 2,760 · 720p 8s: 3,680 · 1080p 8s: 3,680
google/veo-3.1-fastVeo 3.1 Fastwith audio720p 4s: 460 · 720p 6s: 690 · 720p 8s: 920 · 1080p 8s: 1,104
google/veo-3.1-liteVeo 3.1 Litewith audio720p 4s: 230 · 720p 6s: 345 · 720p 8s: 460 · 1080p 8s: 736
runway/gen-4.5Runway Gen-4.5720p 5s: 690 · 720p 10s: 1,380
runway/gen-4-turboRunway Gen-4 Turbo720p 5s: 287.5 · 720p 10s: 575
luma/ray-2Luma Ray 2540p 5s: 460 · 540p 9s: 828 · 720p 5s: 816.5 · 720p 9s: 1,469.7 · 1080p 5s: 989 · 1080p 9s: 1,780.2
luma/ray-flash-2Luma Ray Flash 2540p 5s: 161 · 540p 9s: 289.8 · 720p 5s: 276 · 720p 9s: 496.8 · 1080p 5s: 448.5 · 1080p 9s: 807.3
pika/pika-2.5Pika 2.5540p 5s: 460 · 540p 9s: 828 · 720p 5s: 816.5 · 720p 9s: 1,469.7 · 1080p 5s: 989 · 1080p 9s: 1,780.2
pika/pika-2.2Pika 2.2540p 5s: 460 · 540p 9s: 828 · 720p 5s: 816.5 · 720p 9s: 1,469.7 · 1080p 5s: 989 · 1080p 9s: 1,780.2
pika/pika-turboPika Turbo540p 5s: 161 · 540p 9s: 289.8 · 720p 5s: 276 · 720p 9s: 496.8 · 1080p 5s: 448.5 · 1080p 9s: 807.3
vidu/viduq2-proVidu Q2 Pro540p 4s: 143.75 · 540p 5s: 172.5 · 540p 8s: 258.75 · 720p 4s: 258.75 · 720p 5s: 316.25 · 720p 8s: 488.75 · 1080p 4s: 575 · 1080p 5s: 661.25 · 1080p 8s: 920
vidu/viduq2-turboVidu Q2 Turbo540p 4s: 69 · 540p 5s: 80.5 · 540p 8s: 115 · 720p 4s: 218.5 · 720p 5s: 276 · 720p 8s: 448.5 · 1080p 4s: 373.75 · 1080p 5s: 431.25 · 1080p 8s: 603.75

The same list, with prices, is available from the models endpoint.