No description yet.
| Provider | Max Input | Max Output | Context length | Tool Calling |
|---|---|---|---|---|
deepseek deepseek/deepseek-chat | 128K | 128K | 128K | Supported |
from openai import OpenAI
client = OpenAI(
base_url="https://api.openroute.cn/v1",
api_key="<ONTOROUTE_API_KEY>",
)
completion = client.chat.completions.create(
model="deepseek-chat",
messages=[
{
"role": "user",
"content": "Write a one-sentence bedtime story about a unicorn.",
}
],
)
print(completion.choices[0].message.content)Prices are CNY (¥) per million tokens, billed as you go. Cache reads can cut the cost of repeated context.
This model does not publish tunable parameters.