AI model API pricing

relay.fast gives one API key for GPT, Claude, Gemini, Grok, DeepSeek, GLM, Kimi, Qwen and other models through OpenAI, Anthropic and Gemini-compatible endpoints. The tables list the official price of each model next to the lowest current relay.fast price.

Prices checked from the live catalog. "From" is the lowest price among the relay.fast sources that currently serve the model. The price you pay depends on the source your request uses and can change on any day. The pricing page always shows current values.

Text and coding models

Anthropic

ModelModel IDOfficial input / output per 1M tokensrelay.fast from, input / outputCache read fromContext
Claude Fable 5claude-fable-5$10 / $50$0.278 / $1.39 (−97%)$0.02781M
Claude Fable 5.1claude-fable-5-1$10 / $50$2.23 / $11.16 (−77%)$0.05581M
Claude Haiku 4.5claude-haiku-4-5$1 / $5$0.0278 / $0.139 (−97%)$0.00278200K
Claude Haiku 5.5
requests above 100K input tokens cost more
claude-haiku-5-5$0.1 / $0.5$0.0223 / $0.112 (−77%)$0.002231M
Claude Opus 4.6claude-opus-4-6$5 / $25$0.139 / $0.694 (−97%)$0.01391M
Claude Opus 4.7claude-opus-4-7$5 / $25$0.139 / $0.694 (−97%)$0.01391M
Claude Opus 4.8claude-opus-4-8$5 / $25$0.139 / $0.694 (−97%)$0.01391M
Claude Opus 5claude-opus-5$5 / $25$0.139 / $0.694 (−97%)$0.01391M
Claude Opus 5.5claude-opus-5-5$4 / $20$0.111 / $0.556 (−97%)$0.005561M
Claude Sonnet 4.6claude-sonnet-4-6$3 / $15$0.0833 / $0.417 (−97%)$0.008331M
Claude Sonnet 5claude-sonnet-5$3 / $15$0.0833 / $0.417 (−97%)$0.008331M
Claude Sonnet 5.5claude-sonnet-5-5$2 / $10$0.238 / $1.19 (−88%)$0.02381M

OpenAI

ModelModel IDOfficial input / output per 1M tokensrelay.fast from, input / outputCache read fromContext
GPT-5.5
requests above 272K input tokens cost more
gpt-5.5$5 / $30$0.075 / $0.45 (−98%)$0.0075272K
GPT-5.6 Luna
requests above 272K input tokens cost more
gpt-5.6-luna$0.2 / $1.2$0.016 / $0.096 (−92%)$0.00161M
GPT-5.6 Sol
requests above 272K input tokens cost more
gpt-5.6-sol$5 / $30$0.075 / $0.45 (−98%)$0.00751M
GPT-5.6 Terra
requests above 272K input tokens cost more
gpt-5.6-terra$2 / $12$0.03 / $0.18 (−98%)$0.0031M
GPT-6 Astra
requests above 272K input tokens cost more
gpt-6-astra$10 / $50$0.1 / $0.5 (−99%)$0.011.05M
GPT-6 Luna
requests above 272K input tokens cost more
gpt-6-luna$0.1 / $0.5$0.008 / $0.04 (−92%)$0.00081.05M
GPT-6 Sol
requests above 272K input tokens cost more
gpt-6-sol$2 / $10$0.03 / $0.15 (−98%)$0.0031.05M
GPT-6.1 Sol
requests above 272K input tokens cost more
gpt-6.1-sol$2 / $10$0.03 / $0.15 (−98%)$0.00151.05M
GPT-6.1 Terra
requests above 272K input tokens cost more
gpt-6.1-terra$1 / $5$0.034 / $0.17 (−96%)$0.00171.05M

Google

ModelModel IDOfficial input / output per 1M tokensrelay.fast from, input / outputCache read fromContext
Gemini 3.8 Flashgemini-3.8-flash$1.5 / $7.5$0.06 / $0.3 (−96%)$0.0061.05M
Gemini 4 Argongemini-4-argon$4 / $20$0.32 / $1.6 (−92%)$0.0161.05M

xAI

ModelModel IDOfficial input / output per 1M tokensrelay.fast from, input / outputCache read fromContext
Grok 4.5grok-4.5$2 / $6$0.0333 / $0.1 (−98%)$0.00833500K
Grok 4.6
requests above 200K input tokens cost more
grok-4.6$2 / $6$0.0333 / $0.1 (−98%)$0.00833500K
Grok 4.7
requests above 200K input tokens cost more
grok-4.7$2 / $6$0.0133 / $0.04 (−99%)$0.00333500K

DeepSeek

ModelModel IDOfficial input / output per 1M tokensrelay.fast from, input / outputCache read fromContext
DeepSeek V4 Flash
price depends on the time of day; the peak-hours price is shown
deepseek-v4-flash$0.3 / $1.2$0.015 / $0.06 (−95%)$0.00031M
DeepSeek V4 Flash 0731
price depends on the time of day; the peak-hours price is shown
deepseek-v4-flash-0731$0.3 / $1.2$0.015 / $0.06 (−95%)$0.00031M
DeepSeek V4 Flash Vision Exp
price depends on the time of day; the peak-hours price is shown
deepseek-v4-flash-vision-exp$0.3 / $1.2$0.03 / $0.12 (−90%)$0.00061M
DeepSeek V4 Pro
price depends on the time of day; the peak-hours price is shown
deepseek-v4-pro$1.32 / $3.96$0.066 / $0.198 (−95%)$0.00221M
DeepSeek V4 Pro 0813
price depends on the time of day; the peak-hours price is shown
deepseek-v4-pro-0813$1.32 / $3.96$0.066 / $0.198 (−95%)$0.00221M
DeepSeek V4.1 Flash
price depends on the time of day; the peak-hours price is shown
deepseek-v4.1-flash$0.3 / $1.2$0.03 / $0.12 (−90%)$0.00061M
DeepSeek V4.1 Flash 1017
price depends on the time of day; the peak-hours price is shown
deepseek-v4.1-flash-1017$0.3 / $1.2$0.03 / $0.12 (−90%)$0.00061M

Zhipu AI

ModelModel IDOfficial input / output per 1M tokensrelay.fast from, input / outputCache read fromContext
GLM-5.2glm-5.2$1.4 / $4.4$0.035 / $0.11 (−97%)$0.00651M
GLM-5.3glm-5.3$1.4 / $4.4$0.035 / $0.11 (−97%)$0.00651M
GLM-5.3 Flashglm-5.3-flash$0.15 / $0.5$0.0187 / $0.0625 (−87%)$0.003751M

Moonshot

ModelModel IDOfficial input / output per 1M tokensrelay.fast from, input / outputCache read fromContext
Kimi K2.7 Codekimi-k2.7-code$0.95 / $4$0.095 / $0.4 (−90%)$0.019256K
Kimi K3kimi-k3$3 / $15$0.15 / $0.75 (−95%)$0.0151.05M
Kimi K3.1 Prokimi-k3.1-pro$2 / $10$0.2 / $1 (−90%)$0.021.05M

Alibaba

ModelModel IDOfficial input / output per 1M tokensrelay.fast from, input / outputCache read fromContext
Qwen3.8 27bqwen3.8-27b$0.5 / $3$0.0167 / $0.1 (−96%)$0.003331M
Qwen3.8 Flashqwen3.8-flash$0.15 / $0.47$0.0075 / $0.0235 (−95%)$0.00081M
Qwen3.8 Maxqwen3.8-max$2 / $6$0.0667 / $0.2 (−96%)$0.008331M

MiniMax

ModelModel IDOfficial input / output per 1M tokensrelay.fast from, input / outputCache read fromContext
MiniMax M3minimax-m3$0.3 / $1.2$0.05 / $0.2 (−83%)$0.011M
MiniMax M3.1 Flashminimax-m3.1-flash$0.6 / $2.4$0.1 / $0.4 (−83%)$0.021M
MiniMax M3.1 Flash Previewminimax-m3.1-flash-preview$0.6 / $2.4$0.1 / $0.4 (−83%)$0.021M

Xiaomi

ModelModel IDOfficial input / output per 1M tokensrelay.fast from, input / outputCache read fromContext
MiMo V2.6 Promimo-v2.6-pro$0.435 / $0.87$0.0725 / $0.145 (−83%)$0.00061M

Tencent

ModelModel IDOfficial input / output per 1M tokensrelay.fast from, input / outputCache read fromContext
Hy3hy3$0.132 / $0.528$0.0198 / $0.0792 (−85%)$0.00495256K

Image generation models

ModelModel IDList pricePrice from
GPT Image 2gpt-image-2$0.5 per image$0.01 per image (−98%)
GPT Image 2.5gpt-image-2.5$0.5 per image$0.01 per image (−98%)
GPT Image 2.5 Flaregpt-image-2.5-flare$0.5 per image$0.01 per image (−98%)
GPT Image 2.5 Flare 2Kgpt-image-2.5-flare-2k$3.75 per image$0.075 per image (−98%)
GPT Image 2.5 Flare 4Kgpt-image-2.5-flare-4k$3.75 per image$0.075 per image (−98%)
GPT Image 2.5 Sunburstgpt-image-2.5-sunburst$0.5 per image$0.01 per image (−98%)
GPT Image 2.5 Sunburst 2Kgpt-image-2.5-sunburst-2k$3.75 per image$0.075 per image (−98%)
GPT Image 2.5 Sunburst 4Kgpt-image-2.5-sunburst-4k$3.75 per image$0.075 per image (−98%)
GPT Image 2.6gpt-image-2.6$0.5 per image$0.01 per image (−98%)
GPT Image 2.6 Flaregpt-image-2.6-flare$0.5 per image$0.01 per image (−98%)
GPT Image 2.6 Sunburstgpt-image-2.6-sunburst$0.5 per image$0.01 per image (−98%)
Gemini Nano Banana 2.1gemini-nano-banana-2.1$0.6 per image$0.0375 per image (−93%)
Grok Imagine Image 2.0grok-imagine-image-2.0$1.2 per image$0.04 per image (−96%)

Video generation models

ModelModel IDList pricePrice from
Gemini Omni Editgemini-omni-edit$0.29 per video$0.29 per video
Gemini Omni Fastgemini-omni-fast$0.235 per video$0.235 per video
Veo 3.1 Liteveo-3.1-lite$0.12 per second of video$0.12 per second of video
Grok Imagine Video 1.5grok-imagine-video-1.5$0.036 per second of video$0.036 per second of video
Wan 3.0wan-3.0$0.125 per second of video$0.125 per second of video
MiniMax H3 768pminimax-h3-768p$0.015 per second of video$0.015 per second of video
Seedance 2.0 Fastseedance-2.0-fast$0.061 per second of video$0.061 per second of video
Seedance 2.0 Miniseedance-2.0-mini$0.037 per second of video$0.037 per second of video
Seedance 2.5seedance-2.5$0.27 per second of video$0.27 per second of video
Kling 3.0kling-3.0$0.175 per second of video$0.175 per second of video
Vidu Q3 Turboviduq3-turbo$0.165 per second of video$0.165 per second of video

Text to speech models

ModelModel IDList pricePrice from
Grok Voicegrok-voice$0.032 per request$0.032 per request
Chirp 3 HDchirp-3-hd$0.0096 per request$0.0096 per request

How the prices work

Machine-readable pricing

The same catalog is available as JSON at https://relay.fast/pricing.json. A summary for AI assistants is at llms.txt. Setup guides for coding tools are in the API docs.

Frequently asked questions

How are relay.fast API prices calculated?

Each model has an official price per 1M input and output tokens, or per image, second, or request for media models. relay.fast charges a fraction of it that depends on the source your request uses. The tables show the lowest current price, checked 2026-11-05 15:22 UTC.

Is there a subscription or minimum spend?

relay.fast is pay-as-you-go: requests are charged to the account balance by the tokens or units they use. Read the current terms before buying.

Where can a program read current prices?

GET https://relay.fast/pricing.json returns the live catalog with model prices, groups, endpoints, and sources.

Can prices change?

Yes. Prices, models, and sources can change on any day. Check the pricing page before production use instead of relying on an older copy.

How much does Claude Opus 5.5 cost on relay.fast?

From $0.111 per 1M input tokens and $0.556 per 1M output tokens, against the official $4 and $20 (checked 2026-11-05).