Roo Code
Roo Code uses the same OpenAI-Compatible provider pattern as Cline.
Setup
- Open the Roo Code settings panel.
- Set API Provider to OpenAI Compatible.
- Fill in:
- Base URL:
https://api.martllm.com/v1 - API Key: your MartLLM key (
ull_...) - Model: a catalog model id, e.g.
deepseek/deepseek-v4-flash
- Base URL:
- Save.
Model configuration (optional)
Roo's Model Configuration exposes Max Output Tokens, Context Window, Image Support, Computer Use, and Input/Output Price. These are display/estimation hints on the client side. MartLLM bills each call what the provider charged, with no MartLLM fee (Pricing). Set Context Window and Max Output Tokens to match the model's catalog values if Roo needs accurate context management.
Tips
- Choose a tool-capable model for agent tasks (catalog flag
supports_tools). - Use the plain model id. Provider selection is handled by MartLLM; see Models & routing.
- The Base URL must be MartLLM's, not
api.openai.com.