Black Friday: GLM 5.4 at 50% off, DeepSeek V4.1 Flash at 70% off, and 50% off your first month of Base or Plus.See pricing  ↗

model apis · chat / llm

DeepSeek V4.1 Flash 1017 Fast API●

DeepSeek V4.1 Flash 1017 Fast is a chat model from DeepSeek. deeprelay serves it through an OpenAI-compatible API at https://api.deeprelay.ai/v1 under the model id deeprelay/deepseek-v4.1-flash-1017-fast, with a 1,048,576-token context window. It costs $0.60 per 1M input tokens and $2.40 per 1M output tokens, billed pay as you go against your deeprelay balance.

Available now

DeepSeek V4.1 Flash 1017 Fast API pricing

Live catalog rates, billed per use against your deeprelay balance, no minimums. DeepSeek V4.1 Flash 1017 Fast is priced per use rather than included in the $0.99-a-month flat plan.

TierRate
Serverless
Input tokens: $0.60 / 1MCached input tokens: $0.012 / 1MOutput tokens: $2.40 / 1M

rates are read every few minutes from the live model catalog and metered per request

Measured speed

Time to first token (p50)
1.3 s
Output speed (p50)
533 tokens/s

Last 7 days · as of UTC

Call DeepSeek V4.1 Flash 1017 Fast in one request

Any OpenAI SDK works: set the base URL to https://api.deeprelay.ai/v1 and use your deeprelay API key.

curl
curl https://api.deeprelay.ai/v1/chat/completions \
  -H "Authorization: Bearer $DEEPRELAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deeprelay/deepseek-v4.1-flash-1017-fast",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(
    base_url="https://api.deeprelay.ai/v1",
    api_key="YOUR_DEEPRELAY_API_KEY",
)

response = client.chat.completions.create(
    model="deeprelay/deepseek-v4.1-flash-1017-fast",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
JavaScript (OpenAI SDK)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.deeprelay.ai/v1",
  apiKey: process.env.DEEPRELAY_API_KEY,
});

const response = await client.chat.completions.create({
  model: "deeprelay/deepseek-v4.1-flash-1017-fast",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

DeepSeek V4.1 Flash 1017 Fast on deeprelay

Model iddeeprelay/deepseek-v4.1-flash-1017-fast
ModalityChat / LLM
AuthorDeepSeek
Context window1,048,576 tokens
StreamingSupported
Aliases–
Flat planNot included: pay as you go

faq

DeepSeek V4.1 Flash 1017 Fast API questions●

How much does the DeepSeek V4.1 Flash 1017 Fast API cost?

DeepSeek V4.1 Flash 1017 Fast on deeprelay currently costs $0.60 / 1M (input tokens), $0.012 / 1M (cached input tokens), $2.40 / 1M (output tokens), billed against your deeprelay balance as you go. There are no minimums. It is priced per use rather than included in the $0.99-a-month flat plan, which covers a named set of models.

Is the DeepSeek V4.1 Flash 1017 Fast API OpenAI-compatible?

Yes. Point any OpenAI SDK at https://api.deeprelay.ai/v1 with a deeprelay API key and request model "deeprelay/deepseek-v4.1-flash-1017-fast". No proprietary client needed.

What is the context window of DeepSeek V4.1 Flash 1017 Fast?

DeepSeek V4.1 Flash 1017 Fast supports a 1,048,576-token context window on deeprelay.

How does billing work?

Chat models bill per input and output token at the listed per-million-token rates, metered per request against your deeprelay balance. Where a cached-input rate is listed, the part of a prompt the serving partner answers from its prompt cache (reported as prompt_tokens_details.cached_tokens) bills at that lower rate instead of the input rate.