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

doubao-seed-1-8-251228

doubao-seed-1-8-251228
Price
输入 /Mt输出 /Mt
UncachedOutput
$ 0.1103
$ 1.1034

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.highwayapi.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
256K
Maximum output
64K
Function call
Support
Structured output
Support
Reasoning
Support
serverless
Support
Input Capabilities
text, image, video
Output Capabilities
text
Contact Us