Configure Cline, the autonomous AI coding agent for VS Code, to use Eden AI for access to +300 LLM models.Documentation Index
Fetch the complete documentation index at: https://www.edenai.co/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Cline is a VS Code extension that gives you an autonomous AI agent capable of creating files, running terminal commands, and completing multi-step coding tasks. By pointing it at Eden AI’s OpenAI-compatible endpoint, you get:- +300 LLM models: Access OpenAI, Anthropic, Google, Cohere, and more through a single API key
- Cost savings: Leverage Eden AI’s competitive pricing across all providers
- Provider flexibility: Switch models without leaving VS Code
Prerequisites
- VS Code installed
- Cline installed in VS Code
- Eden AI API key from https://app.edenai.run
Configuration
Step 1: Open Cline
- Click the Cline icon in the VS Code activity bar
- Select the third option Bring my own API key on the Cline panel
- Click on Continue
Step 2: Configure your provider
In the API Provider dropdown, select “OpenAI Compatible”. Fill in the following fields:| Field | Value |
|---|---|
| Base URL | https://api.edenai.run/v3 |
| API Key | Your Eden AI API key |
| Model ID | e.g. anthropic/claude-sonnet-4-5 |
Available Models
Use any model from Eden AI’s catalog in theprovider/model format. A few examples covering different use cases:
anthropic/claude-sonnet-4-5— powerful, best for complex coding tasksgoogle/gemini-2.5-flash— fast and low-cost, good for quick iterationsopenai/gpt-4o-mini— cheapest, suitable for simple edits
Troubleshooting
Authentication Errors (401)
- Confirm your Eden AI API key is correct — copy it from app.edenai.run → API Keys
- Make sure there are no leading/trailing spaces in the key
Connection Issues
- Verify the base URL is exactly:
https://api.edenai.run/v3 - Check Eden AI status: https://app-edenai.instatus.com
Next Steps
- Continue.dev - Inline AI code assistant for VS Code and JetBrains
- Claude Code - Official Claude CLI