AICredits logo
Integrations

Roo Code

Configure Roo Code with AICredits through the OpenAI-compatible provider for VS Code coding agents.

Use this page with an AI assistant

Opens a new chat with this docs URL and the correct AICredits base URLs.

Roo Code is a VS Code coding-agent extension for planning, editing, reviewing, and running tool-backed workflows. Use the OpenAI-compatible provider to send model calls through AICredits.

Provider Settings

In Roo Code provider settings, choose OpenAI Compatible and configure:

SettingValue
Base URLhttps://api.aicredits.in/v1
API keysk-your-aicredits-key
ModelPick from Models

Recommended model IDs:

anthropic/claude-sonnet-4.5
openai/gpt-4o-mini
google/gemini-2.5-flash

Mode Recommendations

Roo Code use caseModel
Ask and explainopenai/gpt-4o-mini
Edit modeanthropic/claude-sonnet-4.5
Architecture planninggoogle/gemini-2.5-flash

Use a separate AICredits key for Roo Code. Coding agents can spend quickly when they inspect files, run tools, and revise patches.

Verify

Ask Roo Code:

Reply with "AICredits via Roo Code" and do not edit files.

Then check Dashboard -> Usage.

Troubleshooting

Provider test fails - Confirm the base URL includes /v1.

Model is not shown - Enter the AICredits model ID manually if the UI allows custom names.

Too many requests - Lower the default model cost and use budget-capped API keys.

On this page