DeepSeek-V4-Pro-0813 API
High-capability frontier LLM with 1M context, stronger agent performance, and dual thinking modes
- Input per 1M
- $0.961
- Cached input per 1M
- $0.079
- Output per 1M
- $1.922
- Context window
- 1M
Call DeepSeek-V4-Pro-0813 in one request
Runware's endpoint takes the OpenAI Chat Completions format, so the OpenAI SDK works as it is. Change the base URL, key, and model ID.
deepseek:v4@proimport os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["RUNWARE_API_KEY"],
base_url="https://api.runware.ai/v1",
)
stream = client.chat.completions.create(
model="deepseek:v4@pro",
messages=[
{"role": "user", "content": "What is the capital of France?"},
],
stream=True,
stream_options={"include_usage": True},
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)
if chunk.usage:
print("\n", chunk.usage)Usage and cost come back with the response. The stream ends with the request's token counts and its cost, so there is no second call to make.
About DeepSeek-V4-Pro-0813
DeepSeek-V4-Pro is DeepSeek's flagship V4 language model for coding, reasoning, and agent workflows that need stronger overall capability than the Flash variant. It supports both thinking and non-thinking modes, a 1M token context window, up to 384K output tokens, tool calls, JSON output, and long-context operation for demanding software, research, and structured professional workloads.
- Developer
- DeepSeek
- Released
- 24 Apr, 2026
- Input
- Text
- Context window
- 1M tokens
- Max output
- 384K tokens
- API
- OpenAI Chat Completions
- Hosting
- Runware hardware
- Data retention
- Zero retention
Already on another provider?
Code that uses the OpenAI SDK moves over with three changes: the base URL, the API key and the model ID. Moving production traffic? We'll help you plan the switch.
More LLMs on Runware
Same key, same endpoint, same per-token billing. Switching models means changing one ID.
Start on demand. Scale on dedicated.
Call your first model in minutes, or tell us about your workload and we will size dedicated capacity for it.