Home / doubao-seed-1-8-251228
D

doubao-seed-1-8-251228

doubao-seed-1-8-251228
Price
Input$0.1103 per million tokens
Cached reads$0.0221 per million tokens
Output$1.1034 per million tokens
Tiered pricing
Request the length each timeInputSelling price
0 < tokens <= 32,000$0.1103$1.1034
32,000 < tokens <= 128,000$0.1655$2.2069
128,000 < tokens <= 256,000$0.331$3.3103

Use the following code example to integrate our API:

1from openai import OpenAI
2
3client = OpenAI(
4    api_key="<Your API Key>",
5    base_url="https://api.jiekou.ai/openai"
6)
7
8response = client.chat.completions.create(
9    model="doubao-seed-1-8-251228",
10    messages=[
11        {"role": "system", "content": "You are a helpful assistant."},
12        {"role": "user", "content": "Hello, how are you?"}
13    ],
14    max_tokens=64000,
15    temperature=0.7
16)
17
18print(response.choices[0].message.content)

Information

Provider
Quantification
-

Supported Features

Context length
256000
Maximum output
64000
Function call
Support
Structured output
Support
Reasoning
Support
serverless
Support
Input Capabilities
text, image, video
Output Capabilities
text
Contact Us