Skip to content
English

Switch theme

// Models · API key guide

Doubao API key (Volcano Ark)

Doubao models are served by Volcano Ark (Volcengine’s model platform). Create the key in the Ark console.

5 stepsofficial docs onlychecked 2026-10-26

01How to get a Doubao (Volcano Ark) API key

  1. Sign up / log in to Volcengine and open the Ark console.
  2. Go to “API Key 管理” → “创建 API Key”, choose the project it belongs to, and optionally restrict it by Model ID or IP.
  3. Copy the key. Keys created after 2026-09-17 12:00 (UTC+8) use a new plaintext format.
  4. In “开通管理”, check which models are activated and how much free quota is left.
  5. Call the Ark endpoint with the model ID (or endpoint ID) shown in the console.

Official key page: https://console.volcengine.com/ark/region:ark+cn-beijing/apiKey – console labels may change; follow what the official page shows.

02Real-name, phone and credit card requirements

Real-name / ID verificationNot needed to get the free quota; needed (plus manual activation) to keep using models after it runs out.
Phone numberA Volcengine account is required; sign-up rules are on volcengine.com.
Credit card / paymentNot needed for the free quota.

03Base URL and a minimal call

Base URL:https://ark.cn-beijing.volces.com/api/v3
OpenAI-compatible Chat Completions path: /chat/completions.
Environment variable:ARK_API_KEY · Example model:<模型 ID>
Copy the exact model ID or endpoint ID from the Ark console – IDs carry version suffixes, so we do not guess one here.

curl

curl https://ark.cn-beijing.volces.com/api/v3/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $ARK_API_KEY" \
  -d '{
    "model": "<模型 ID>",
    "messages": [{"role": "user", "content": "你好"}]
  }'

Python

# pip install openai
import os
from openai import OpenAI

client = OpenAI(api_key=os.environ["ARK_API_KEY"], base_url="https://ark.cn-beijing.volces.com/api/v3")
resp = client.chat.completions.create(
    model="<模型 ID>",
    messages=[{"role": "user", "content": "你好"}],
)
print(resp.choices[0].message.content)

Free inference quota just for registering, counted per model and shared under the main account; only for pay-per-token online inference. “Safe trial mode” stops service before any charge.

Our free-API tracker:Registering a Volcengine account grants free inference quota per model, shared across the main account; amounts are shown in the console.
checked 2026-10-26 · details →

05Doubao (Volcano Ark) API prices

All model prices →
ModelInput / 1M tokensOutput / 1M tokensSource
Doubao-Seed-2.0-minidoubao-seed-2.0-mini ¥0.2¥2 official · 2026-10-10
Doubao-Seed-2.0-litedoubao-seed-2.0-lite ¥0.6¥3.6 official · 2026-10-10
Doubao-Seed-2.1-turbodoubao-seed-2.1-turbo ¥3¥15 official · 2026-10-10
Doubao-Seed-Evolvingdoubao-seed-evolving ¥6¥30 official · 2026-10-10
Doubao-Seed-2.1-prodoubao-seed-2.1-pro ¥6¥30 official · 2026-10-10

Standard (non-batch) list prices from our price database; cheapest first, max 8 rows. Prices change – the official page wins.

06Keep your API key safe

07FAQ

FAQ

Where do I get a Doubao API key?

In the Volcano Ark console → API Key 管理 → 创建 API Key. The Doubao chat app account is separate from Ark.

Is the Doubao API free?

Yes, a free inference quota is given on registration (per model). After it is used up you need real-name verification and paid activation.

What is the Volcano Ark API address?

https://ark.cn-beijing.volces.com/api/v3 (Chat Completions at /chat/completions).

08Official sources

All facts checked against these pages on 2026-10-26. If anything differs, the official page wins.

09Related

Other API key guides

Data updated: Model API prices · HF model metadata(UTC+8)