doubao-seed-2.0-pro
7折doubao-seed-2.0-proPricing details
CNY / 1M TokensInput
Input
¥3.20
Output
Output
¥16.00
Cache Write
Cache write
¥3.20
Cache Read
Cache read
¥0.64
Currently enjoying a 7折 discount, saving 30% on cost.
Quickstart
Endpoint URL
POST https://www.dxnt.com/v1/chat/completionscURL
curl https://www.dxnt.com/v1/chat/completions \
-H "Authorization: Bearer sk-your-key" \
-H "Content-Type: application/json" \
-d '{
"model": "doubao-seed-2.0-pro",
"messages": [{"role": "user", "content": "Hello!"}]
}'Python (OpenAI SDK)
import openai
client = openai.OpenAI(
api_key="sk-your-key",
base_url="https://www.dxnt.com/v1"
)
response = client.chat.completions.create(
model="doubao-seed-2.0-pro",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)Model info
Model identifier
doubao-seed-2.0-proBilling methodBilled per token
Input price¥3.20 / 1M
Output price¥16.00 / 1M
Cache read¥0.64 / 1M
Cache creation¥3.20 / 1M
Start using doubao-seed-2.0-pro
Sign up for free quota — just swap the endpoint URL to integrate.