Configure and use Volcano Engine (Volcengine) models with OpenClaw. This skill covers both general-purpose models and specialized coding models through Volcengine's OpenAI-compatible API endpoints.
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, 无需添加sk-前缀)bash
openclaw onboard --auth-choice volcengine-api-key
Follow the prompts to enter your API key.
Add to your openclaw.json:
json
{
"models": {
"mode": "merge",
"providers": {
"volcengine": {
"baseUrl": "https://ark.cn-beijing.volces.com/api/v3",
"api": "openai-completions",
"apiKey": "your-api-key-here",
"models": [
{
"id": "doubao-seed-2-0-pro-260215",
"name": "Doubao Seed 2.0 Pro",
"reasoning": false,
"input": ["text", "image", "video"],
"cost": { "input": 0, "output": 0 },
"contextWindow": 262144,
"maxTokens": 131072
},
{
"id": "doubao-seed-2-0-lite-260215",
"name": "Doubao Seed 2.0 Lite",
"reasoning": false,
"input": ["text", "image", "video"],
"cost": { "input": 0, "output": 0 },
"contextWindow": 262144,
"maxTokens": 131072
},
{
"id": "glm-4-7-251222",
"name": "GLM 4.7",
"reasoning": false,
"input": ["text", "image"],
"cost": { "input": 0, "output": 0 },
"contextWindow": 204800,
"maxTokens": 131072
},
{
"id": "doubao-seed-2-0-mini-260215",
"name": "Doubao Seed 2.0 Mini",
"reasoning": false,
"input": ["text", "image", "video"],
"cost": { "input": 0, "output": 0 },
"contextWindow": 262144,
"maxTokens": 131072
},
{
"id": "deepseek-v3-2-251201",
"name": "DeepSeek V3.2",
"reasoning": false,
"input": ["text"],
"cost": { "input": 0, "output": 0 },
"contextWindow": 131072,
"maxTokens": 32768
}
]
}
}
}
}
For easier access, add aliases to agents.defaults.models:
json
{
"agents": {
"defaults": {
"models": {
"volcengine/doubao-seed-2-0-pro-260215": {
"alias": "DoubaoPro"
},
"volcengine/doubao-seed-2-0-lite-260215": {
"alias": "Doubao"
},
"volcengine/doubao-seed-2-0-mini-260215": {
"alias": "DoubaoMini"
},
"volcengine/glm-4-7-251222": {
"alias": "GLM4"
}
}
}
}
}
Model IDNameInputContextMax OutputNotesdoubao-1-5-pro-32k-250115Doubao 1.5 Pro 32Ktext131,07212,288Balanced flagship, function callingdoubao-1-5-lite-32k-250115Doubao 1.5 Lite 32Ktext32,76812,288Lightweight, lower costdoubao-seed-character-251128Doubao Seed Charactertext131,07232,768Role-play optimizedglm-4-7-251222GLM 4.7text204,800131,072Zhipu AI, strong Chinesedeepseek-v3-2-251201DeepSeek V3.2text131,07232,768Cost-effectiveglm-4-5-air-20250728GLM 4.5 Airtext——Third-party, lightweightqwen3-32b-20250429Qwen 3 32Btext——Alibaba, deployed via volcengine
Model IDNameInputContextMax OutputNotesdoubao-seed-2-0-pro-260215Doubao Seed 2.0 Protext, image, video262,144131,072Latest flagship, recommendeddoubao-seed-2-0-lite-260215Doubao Seed 2.0 Litetext, image, video262,144131,072Fast, balanceddoubao-seed-2-0-mini-260215Doubao Seed 2.0 Minitext, image, video262,144131,072Cost-efficientdoubao-seed-2-0-code-preview-260215Doubao Seed 2.0 Codetext, image, video262,144131,072Code-optimizeddoubao-seed-1-8-251228Doubao Seed 1.8text, image, video262,144131,072Previous flagshipdoubao-seed-1-6-*Doubao Seed 1.6 seriestext, image, video262,144131,072Flash/Vision variantsdoubao-1-5-vision-pro-32k-250115Doubao 1.5 Vision Protext, image131,07212,288Older vision model
Model IDNameTypeInputdoubao-seedance-2-0-260128Seedance 2.0Videotext, image, video, audiodoubao-seedance-2-0-fast-260128Seedance 2.0 FastVideotext, image, video, audiodoubao-seedance-1-5-pro-251215Seedance 1.5 ProVideotext, imagedoubao-seedream-5-0-260128Seedream 5.0Imagetextdoubao-seedream-4-5-251128Seedream 4.5Imagetext
See models.md for the complete list including deprecated models, 3D generation, embedding, and third-party models.
bash
# Use Doubao 2.0 Lite (daily use)
openclaw --model Doubao "Hello, summarize this text"
# Use Doubao 2.0 Pro for complex tasks
openclaw --model DoubaoPro "Explain quantum computing with examples"
# Use full model reference
openclaw --model volcengine/doubao-seed-2-0-pro-260215 "Write a Python function"
# Use GLM 4.7 for Chinese content
openclaw --model GLM4 "写一篇关于人工智能的文章"
bash
# Set Doubao as default
openclaw configure --set agents.defaults.model.primary volcengine/doubao-seed-2-0-pro-260215
# Set Doubao 2.0 Lite as default
openclaw configure --set agents.defaults.model.primary volcengine/doubao-seed-2-0-lite-260215
For better security, use environment variables:
bash
# Set in your shell profile
export VOLCANO_ENGINE_API_KEY=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx # 火山引擎密钥无需添加sk-前缀
# Reference in config
"apiKey": "VOLCANO_ENGINE_API_KEY"
Volcano Engine API supports two regions (verified 2026-04-25):
RegionEndpointRecommendationBeijing (default)ark.cn-beijing.volces.com/api/v3Stable defaultShanghaiark.cn-shanghai.volces.com/api/v3Same models as Beijing
Both regions expose the same 115 models. Pick whichever is geographically closer. Note:
cn-guangzhou,cn-shenzhen,ap-southeast-1and other regions were tested but do not resolve.
To switch regions:
bash
# Using helper script
pwsh ./scripts/regional-config.ps1 -Region Shanghai
# Or manually in config
json
{
"volcengine": {
"baseUrl": "https://ark.cn-shanghai.volces.com/api/v3",
// ... rest of config
}
}
ark.cn-beijing.volces.comregional-config.ps1 -Region Shanghai)bash
# Test with curl
curl -X POST https://ark.cn-beijing.volces.com/api/v3/chat/completions \
-H "Authorization: Bearer $VOLCANO_ENGINE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "doubao-seed-2-0-pro-260215",
"messages": [{"role": "user", "content": "Hello"}]
}'
Volcano Engine uses token-based pricing. Check the official pricing page for current rates.
To monitor usage:
doubao-seed-2-0-code-preview-260215 for coding tasksdoubao-seed-2-0-pro-260215 for complex general tasksdoubao-seed-2-0-lite-260215 or doubao-seed-2-0-mini-260215 for daily/high-volume usevolcengine-plan), a separate Code Plan subscription may be needed. Visit Console → Products & Services → Code PlanThis skill has been validated against official Volcano Engine API Reference PDF (2026-04-15). Key validation findings:
ark.cn-beijing.volces.com)Based on high-priority page extraction from official PDFs:
2024-01-01volcengine-api-reference.pdfValidation Status: ✅ High Confidence - Configuration aligns with official documentation
Model information was refreshed via the Volcano Engine List Models API on 2026-04-25:
models.md for the complete detailed referenceVolcano Engine uses a dual-track API architecture:
https://ark.cn-beijing.volces.com/api/v3https://ark.cn-beijing.volcengineapi.com/Current API version: 2024-01-01
Model list last updated via API: 2026-04-25 | Core config validated against official PDF: 2026-04-15