Using Doubao With Roo Code
Doubao is ByteDance's Chinese AI service, offering competitive language models for various development tasks. The provider includes full API integration with embedding support and internationalized prompts.
Website: https://www.volcengine.com/
Getting an API Keyโ
- Sign Up/Sign In: Visit the Volcano Engine Console. Create an account or sign in.
- Navigate to Model Service: Access the AI model service section in the console.
- Create API Key: Generate a new API key for the Doubao service.
- Copy the Key: Important: Copy the API key immediately and store it securely. You may not be able to view it again.
Supported Modelsโ
Roo Code supports the following Doubao models:
doubao-seed-1-6-250615
(Default) - General purposedoubao-seed-1-6-thinking-250715
- Enhanced reasoningdoubao-seed-1-6-flash-250715
- Speed optimized
All models support:
- 128,000 token context window
- 32,768 max output tokens
- Image inputs
- Prompt caching with 80% discount on cached reads
Configuration in Roo Codeโ
- Open Roo Code Settings: Click the gear icon () in the Roo Code panel.
- Select Provider: Choose "Doubao" from the "API Provider" dropdown.
- Enter API Key: Paste your Doubao API key into the "Doubao API Key" field.
- Select Model: Choose your desired model from the "Model" dropdown.
Note: Doubao uses the base URL https://ark.cn-beijing.volces.com/api/v3
and servers are located in Beijing, China.