DeepSeek · Instant
DeepSeek V3.1
deepseek/deepseek-chat-v3.1
DeepSeek-V3.1 is a large hybrid reasoning model (671B parameters, 37B active) that supports both thinking and non-thinking modes via prompt templates.
Input Price / 1M Tokens
$0.34
Output Price / 1M Tokens
$1.28
Context Window
164K
ToolsReasoningCoding
Python Example — deepseek/deepseek-chat-v3.1
from openai import OpenAI
client = OpenAI(
base_url="https://relaystack-ai.vercel.app/v1",
api_key="sk-rs-your-key-here",
)
response = client.chat.completions.create(
model="deepseek/deepseek-chat-v3.1",
messages=[{"role": "user", "content": "Hello from RelayStack!"}],
)
print(response.choices[0].message.content)