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:
Click Continue.
Available Models
Use any model from Eden AI’s catalog in theprovider/model format. A few examples covering different use cases:
anthropic/claude-sonnet-latest— 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
Expert Models as Tools (MCP)
Eden AI also hosts an MCP server that exposes the expert model catalog (OCR, web search, speech, translation and more) as tools. Open MCP Servers in the Cline sidebar, choose Configure MCP Servers, and add the server tocline_mcp_settings.json:
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