Prerequisites
- Cline or Roo Code installed from the VS Code Marketplace.
- An API key created on the API Keys page of the DreamTo console.
- A Chat Completions model ID, such as
deepseek-v4.1-flash-1017orgpt-6.2-sol.
Setup
1
Open settings
Click the Cline / Roo Code icon in the sidebar, then click the ⚙️ settings button at the top of the panel.
2
Select OpenAI Compatible and fill in the fields
Under Model Configuration, set Context Window size and Max Output Tokens to the model’s actual specs, and enable image support if the model accepts images.
3
Save and test
Save, then send a simple task in the chat, such as “Explain the currently open file”. A normal response means the setup works.
Using Claude models
You can use Claude model IDs directly with the OpenAI Compatible configuration above. If you prefer the native Anthropic protocol, select API Provider = Anthropic, check Use custom base URL, enterhttps://api.dreamto.ai (no /v1), then enter your DreamTo API key and a Claude model ID (e.g. claude-sonnet-5-5).
The Anthropic provider’s model dropdown only lists official Anthropic model names. If your extension version doesn’t allow a custom model ID, use the OpenAI Compatible provider instead.
FAQ
401
401
Make sure the API key was copied in full with no extra spaces.
404 / model not found
404 / model not found
- The OpenAI Compatible Base URL must include
/v1; the Anthropic custom base URL must not. - The model ID must match the Model Marketplace.
Tool calls fail or retry repeatedly
Tool calls fail or retry repeatedly
Cline / Roo Code rely heavily on tool calling and long context. Choose a model with strong tool-calling ability and set Context Window to the model’s real value so context isn’t truncated.
Streaming output cuts off
Streaming output cuts off
Check VS Code’s proxy setting (
http.proxy) and whether a corporate gateway is buffering the SSE stream.
