Pricing per million tokens, context window, capabilities — pulled from each provider's public docs. All 2 are available via the same AIgateway OpenAI-compatible endpoint; flip the model string to switch.
DeepSeek-V4-Flash-0731 is the official release of DeepSeek-V4-Flash, superseding the preview version, with substantially enhanced agentic capabilities.
deepseek-ai/deepseek-v4-pro-0813
from openai import OpenAI
client = OpenAI(
base_url="https://api.aigateway.sh/v1",
api_key="sk-aig-...",
)
# Deepseek-V4-Flash-0731
client.chat.completions.create(
model="deepseek/deepseek-v4-flash-0731",
messages=[{"role":"user","content":"hello"}],
)
# Deepseek-V4-Pro-0813
client.chat.completions.create(
model="deepseek/deepseek-v4-pro-0813",
messages=[{"role":"user","content":"hello"}],
)