Using Baseten With Roo Code
Baseten provides on-demand frontier model APIs designed for production applications, not just experimentation. Built on the Baseten Inference Stack, these APIs deliver optimized inference for leading open-source models from OpenAI, DeepSeek, Moonshot AI, and Alibaba Cloud.
Website: https://www.baseten.co/products/model-apis/
Getting an API Key
-
Sign Up/Sign In: Go to Baseten and create an account or sign in.
-
Navigate to API Keys: Access your dashboard and go to the API Keys section at https://app.baseten.co/settings/api_keys.
-
Create a Key: Generate a new API key. Give it a descriptive name (e.g., "Roo Code").
-
Copy the Key: Copy the API key immediately and store it securely.
Available Models
Roo Code supports all models available through Baseten's Model APIs.
For the complete, up-to-date model list and pricing, see Baseten's Model APIs page.
Configuration in Roo Code
-
Open Roo Code Settings: Click the gear icon () in the Roo Code panel.
-
Select Provider: Choose "Baseten" from the "API Provider" dropdown.
-
Enter API Key: Paste your Baseten API key into the "Baseten API Key" field.
-
Select Model: Choose your desired model from the "Model" dropdown.
To use the moonshotai/Kimi-K2-Thinking model, you must enable native tool calling in the Roo Code settings. This setting allows Roo Code to call the model's tools through their native tool processor and is required for this reasoning model to function properly.
Tips and Notes
- Pricing: See the Baseten Model APIs page for current pricing information.