DeepSeek models and API prices
This page lists all DeepSeek models you can call with one relay.fast key. The tables are built from the live catalog, so the prices and the model list are current.
DeepSeek API prices
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.
| Model | Model ID | Official input / output per 1M tokens | relay.fast from, input / output | Cache read from | Context |
|---|---|---|---|---|---|
| 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.0003 | 1M |
| 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.0003 | 1M |
| 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.0006 | 1M |
| DeepSeek V4 Pro price depends on the time of day; the peak-hours price is shown | deepseek-v4-pro | $1.32 / $3.96 | $0.165 / $0.495 (−87%) | $0.0055 | 1M |
| 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.165 / $0.495 (−87%) | $0.0055 | 1M |
| 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.0006 | 1M |
| 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.0006 | 1M |
| DeepSeek V4.1 Flash Abliterated | deepseek-v4.1-flash-abliterated | $0.15 / $0.6 | $0.45 / $1.8 | $0.018 | 1M |
Specifications
Release month, limits and features are as published by DeepSeek.
| Model | Released | Context | Max output | Input | Features |
|---|---|---|---|---|---|
| DeepSeek V4 Flash | April 2026 | 1M | — | text | tool calling, reasoning, structured output, prompt caching |
| DeepSeek V4 Flash 0731 | July 2026 | 1M | — | text | tool calling, reasoning, structured output, prompt caching |
| DeepSeek V4 Flash Vision Exp | August 2026 | 1M | — | text, images | tool calling, reasoning, structured output, image input, prompt caching |
| DeepSeek V4 Pro | April 2026 | 1M | — | text | tool calling, reasoning, structured output, prompt caching |
| DeepSeek V4 Pro 0813 | August 2026 | 1M | — | text | tool calling, reasoning, structured output, prompt caching |
| DeepSeek V4.1 Flash | September 2026 | 1M | — | text, images | tool calling, reasoning, structured output, image input, prompt caching |
| DeepSeek V4.1 Flash 1017 | October 2026 | 1M | — | text, images | tool calling, reasoning, structured output, image input, prompt caching |
| DeepSeek V4.1 Flash Abliterated | November 2026 | 1M | — | text | reasoning, prompt caching |
Example request
Keep the key in the RELAY_FAST_API_KEY environment variable. Any model ID from the table works in the same request.
curl https://relay.fast/v1/chat/completions \
-H "Authorization: Bearer $RELAY_FAST_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"deepseek-v4-flash","messages":[{"role":"user","content":"Hello"}]}'How to connect
Create a relay.fast account, add funds and generate an API key. OpenAI-compatible clients use the base URL https://relay.fast/v1. Anthropic-compatible clients use https://relay.fast with the Messages API. Requests are charged to your balance for the tokens or units they use.
There are setup guides for the coding tools Claude Code, Codex, Cursor, Cline and OpenCode. Each model name in the tables links to its own page with prices, limits and an example request.
How pricing works
The official price is the list price published by DeepSeek. The relay.fast price depends on the source a request uses, and the tables show the lowest current price. Prices and the model list can change at any time, so check the pricing page before you plan a budget.
Frequently asked questions
Do I need an account with DeepSeek to use DeepSeek models here?
No. You use a relay.fast account and API key. relay.fast is an independent API gateway and is not affiliated with DeepSeek.
Can I keep my existing SDK or coding tool?
Yes, if it lets you set a custom base URL and key. Point it at relay.fast and pick a model ID from the tables.
Where is the full list of models and prices?
The pricing page at https://relay.fast/pricing lists every model. The same data is available as JSON at https://relay.fast/pricing.json.