Doubao Seed 2.0 Lite 260215
AI21 logo

Doubao Seed 2.0 Lite 260215

doubao-seed-2-0-lite-260215
AI21

Pricing

TierPricingCache Read
Input<=32K
$0.0904$0.5425
$0.0181/M tokens
32K<Input<=128K
$0.1356$0.8137
$0.0271/M tokens
128K<Input<=256K
$0.2712$1.6274
$0.0542/M tokens

Input Modalities

  • Text
  • Vision
  • Video

Context length

  • 256K tokens

Max output

  • 128K tokens

Capabilities

  • Thinking
  • Streaming
  • Tool calling
  • Web search
  • URL context
  • Code interpreter
  • Computer use
  • File search
  • Memory tool
  • Document input
  • Structured outputs
  • Citations
  • Prompt caching
  • Background mode
  • Server-side sessions

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://shkq.org/v1",
)

response = client.chat.completions.create(
    model="doubao-seed-2-0-lite-260215",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is the context length of Doubao Seed 2.0 Lite 260215?

Doubao Seed 2.0 Lite 260215 has a 256,000 token context window. It supports up to 128,000 output tokens.