300 million tokens. $5.99 a month.See the subscription  

model apis · chat / llm

DeepSeek V4 Flash 0731 API

Run DeepSeek V4 Flash 0731 by DeepSeek through one OpenAI-compatible endpoint. Included in the $5.99-a-month flat plan, or pay per use against your deeprelay balance. No instance to rent, no deployment to manage.

Available now

DeepSeek V4 Flash 0731 API pricing

Included in the $5.99/month flat plan. The plan carries 300 million input and 30 million output tokens a month across the included models, weighted by each model's usage factor. The rates below are what DeepSeek V4 Flash 0731 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
Serverless
Input tokens: $0.19 / 1MCached input tokens: $0.0075 / 1MOutput tokens: $0.55 / 1M

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

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

DeepSeek V4 Flash 0731 on deeprelay

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

faq

DeepSeek V4 Flash 0731 API questions

How much does the DeepSeek V4 Flash 0731 API cost?

DeepSeek V4 Flash 0731 is included in deeprelay's flat plan: $5.99 a month covers 300 million input and 30 million output tokens a month across the included models. Pay as you go, it costs $0.19 / 1M (input tokens), $0.0075 / 1M (cached input tokens), $0.55 / 1M (output tokens), billed against your deeprelay balance, the same rates that apply once a month's allowance is spent. No minimums either way.

Is DeepSeek V4 Flash 0731 included in the deeprelay subscription?

Yes. DeepSeek V4 Flash 0731 is one of the models the flat plan covers: $5.99 a month carries 300 million input and 30 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 Flash 0731 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-flash". No proprietary client needed.

What is the context window of DeepSeek V4 Flash 0731?

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