AllModel

doubao-seed-2.0-pro

7折
doubao-seed-2.0-pro

PricingDetails

$ / 1M Tokens

Input

Input

$0.45

Output

Output

$2.30

Cache Write

CacheCreate

$0.45

Cache Read

CacheLoading

$0.09

CurrentEnjoy 7折 discount, Save 30.000000000000004% Cost.

Quick Start

APIaddressPOST https://www.gk2.com/v1/chat/completions
cURL
curl https://www.gk2.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.gk2.com/v1"
)

response = client.chat.completions.create(
    model="doubao-seed-2.0-pro",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)

Modelinfo

ModelIDdoubao-seed-2.0-pro
Billing MethodPer Token
InputPrice$0.45 / 1M
OutputPrice$2.30 / 1M
CacheLoading$0.09 / 1M
CacheCreate$0.45 / 1M

StartUse doubao-seed-2.0-pro

RegisterFree Quota, replaceAPIaddressIntegrate