DeepSeek logo

DeepSeek V4 Flash 0731 API

deepseek/deepseek-v4-flash-0731

Call DeepSeek V4 Flash 0731 through UberLLM’s OpenAI-compatible API — from $0.0010/M input and $0.0020/M output, routed automatically to the cheapest healthy seller. DeepSeek · 1,048,576 token context. Fee included.

Try it live — no signup
Demo · a few prompts a day, no sign-up

DeepSeek V4 Flash 0731 pricing

Price now · per 1M tokens
Input
$0.00101
Output
$0.00201
Cached input
$0.000108
% off list
98% off
78% of input served from cache
List price · per 1M tokens
Input
$0.0488
Output
$0.1466
Cached input
$0.00154
Providers and their list prices, per 1M tokens
ProviderInputOutputCached input
OpenRouter$0.0444$0.1333$0.00141
Engy.ai$0.09$0.18$0.018
Fireworks AI$0.09$0.18$0.018
Mordiem$0.09$0.18$0.018

UberLLM routes every request to the cheapest healthy seller for this model. The price shown includes UberLLM’s 10% fee.

How to use DeepSeek V4 Flash 0731 with the OpenAI SDK

Already using the OpenAI SDK? Change one line — the base URL — and call DeepSeek V4 Flash 0731 with your existing code. Anthropic SDKs work against https://api.uberllm.dev/v1/messages.

python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.uberllm.dev/v1",
    api_key="ull_your_key_here",
)

resp = client.chat.completions.create(
    model="deepseek/deepseek-v4-flash-0731",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)

DeepSeek V4 Flash 0731 API — FAQ

How much does the DeepSeek V4 Flash 0731 API cost?

DeepSeek V4 Flash 0731 is listed from $0.0010 per million input tokens and $0.0020 per million output tokens through UberLLM, which routes each request to the cheapest healthy seller on a live marketplace and bills the price shown, which includes UberLLM's 10% fee.

How do I call DeepSeek V4 Flash 0731 via API?

Use any OpenAI-compatible SDK: set the base URL to https://api.uberllm.dev/v1, your UberLLM API key, and model "deepseek/deepseek-v4-flash-0731". Anthropic SDKs work via https://api.uberllm.dev/v1/messages.

Is DeepSeek V4 Flash 0731 OpenAI-compatible on UberLLM?

Yes. Every model on UberLLM — including DeepSeek V4 Flash 0731 — is served through one OpenAI-compatible endpoint, so you change only the base URL and key.

More DeepSeek models