AICredits logo
Integrations

Cline

Use AICredits with Cline through its OpenAI-compatible provider settings for IDE and CLI coding agents.

Use this page with an AI assistant

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

Cline is an open-source coding agent for IDEs, CLI workflows, and automations. Configure Cline's OpenAI-compatible provider to route model calls through AICredits.

Provider Settings

In Cline, choose the OpenAI-compatible API provider and set:

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

Coding-Agent Defaults

Use a low-cost model for exploration and a stronger model for edits or review:

TaskModel
Quick explanationsopenai/gpt-4o-mini
Multi-file editsanthropic/claude-sonnet-4.5
Long-context planninggoogle/gemini-2.5-flash

Create a separate AICredits key for Cline and set a monthly cap. Agentic coding sessions can be bursty.

Verify

Ask Cline:

Reply with "AICredits via Cline" and do not edit files.

Then check Dashboard -> Usage.

Troubleshooting

Requests go to another provider - Confirm the active provider is OpenAI-compatible and the base URL is https://api.aicredits.in/v1.

Model not available - Use an exact model ID from Models.

High usage - Prefer a small planning model and ask Cline to summarize before making long edits.

On this page