Model-specific Notes
Model-specific Serverless parameters for DeepSeek V3.1, Qwen3.5, and GPT-OSS models on Parasail.
DeepSeek V3.1 thinking mode
from openai import OpenAI
import os
client = OpenAI(
base_url="https://api.parasail.io/v1",
api_key=os.environ["PARASAIL_API_KEY"],
)
chat_completion = client.chat.completions.create(
model="parasail-deepseek-31",
messages=[{"role": "user", "content": "What is the capital of New York?"}],
extra_body={"chat_template_kwargs": {"thinking": True}},
)
print(chat_completion.choices[0].message.content)curl -X POST https://api.parasail.io/v1/chat/completions \
-H "Authorization: Bearer $PARASAIL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "parasail-deepseek-31",
"chat_template_kwargs": {"thinking": false},
"messages": [{"role": "user", "content": "What is the capital of New York?"}]
}'Qwen3.5 thinking mode
GPT-OSS reasoning control
Parameter
Type
Description
Practical defaults
Structured outputs with GPT-OSS
Next steps
Last updated