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 API●

DeepSeek V4.1 Flash 1017 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, with a 1,048,576-token context window. It costs $0.045 per 1M input tokens and $0.18 per 1M output tokens off-peak ($0.09 and $0.36 at peak), and it is included in the $0.99-a-month flat plan.

Available nowWeights verified

Matched 3 independent deployments of deepseek-ai/DeepSeek-V4.1-Flash on 27 Nov 2026. How it is checked

DeepSeek V4.1 Flash 1017 API pricing

Included in the $0.99/month flat plan. The plan carries 500 million input and 50 million output tokens a month across the included models, weighted by each model's usage factor. The rates below are what DeepSeek V4.1 Flash 1017 costs pay as you go, and what a request bills once a month's allowance is spent.

Live catalog rates, billed per use against your deeprelay balance, no minimums.

TierRate
ServerlessBlack Friday · 70% off DeepSeek
Input tokens: was $0.15 off-peak, $0.30 peak / 1M $0.045 off-peak, $0.09 peak / 1MCached input tokens: was $0.003 off-peak, $0.006 peak / 1M $0.0009 off-peak, $0.0018 peak / 1MOutput tokens: was $0.60 off-peak, $1.20 peak / 1M $0.18 off-peak, $0.36 peak / 1MPeak hours: 01:00 to 04:00, 06:00 to 10:00 UTC, Mon–Fri

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

Measured speed

Time to first token (p50)
2.4 s
Output speed (p50)
195 tokens/s

Last 7 days · as of UTC

Call DeepSeek V4.1 Flash 1017 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",
    "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",
    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",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

DeepSeek V4.1 Flash 1017 on deeprelay

Model iddeeprelay/deepseek-v4.1-flash
ModalityChat / LLM
AuthorDeepSeek
Context window1,048,576 tokens
StreamingSupported
Aliasesdeepseek-v4.1-flash, deepseek-v4-1-flash
Flat planIncluded ($0.99/month)

faq

DeepSeek V4.1 Flash 1017 API questions●

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

DeepSeek V4.1 Flash 1017 is included in deeprelay's flat plan: $0.99 a month covers 500 million input and 50 million output tokens a month across the included models. Pay as you go, it costs $0.045 off-peak, $0.09 peak / 1M (input tokens), $0.0009 off-peak, $0.0018 peak / 1M (cached input tokens), $0.18 off-peak, $0.36 peak / 1M (output tokens), 01:00 to 04:00, 06:00 to 10:00 UTC, Mon–Fri (peak hours), billed against your deeprelay balance, the same rates that apply once a month's allowance is spent. No minimums either way.

Is DeepSeek V4.1 Flash 1017 included in the deeprelay subscription?

Yes. DeepSeek V4.1 Flash 1017 is one of the models the flat plan covers: $0.99 a month carries 500 million input and 50 million output tokens a month, weighted by each model's published usage factor. Requests past the allowance (and any model outside the plan) bill pay as you go at the listed rates.

Is the DeepSeek V4.1 Flash 1017 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". No proprietary client needed.

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

DeepSeek V4.1 Flash 1017 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. On the $0.99-a-month flat plan, requests to DeepSeek V4.1 Flash 1017 draw on the plan's monthly token allowance first and only bill your balance once it is spent.