Skip to main content
Configure Cline, the autonomous AI coding agent for VS Code, to use Eden AI for access to +300 LLM models.

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

Configuration

Step 1: Open Cline

  1. Click the Cline icon in the VS Code activity bar
  2. Select the third option Bring my own API key on the Cline panel
  3. 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 the provider/model format. A few examples covering different use cases:
  • anthropic/claude-sonnet-latest — powerful, best for complex coding tasks
  • google/gemini-2.5-flash — fast and low-cost, good for quick iterations
  • openai/gpt-4o-mini — cheapest, suitable for simple edits
Browse the full catalog with pricing and capabilities at app.edenai.run/models.

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 to cline_mcp_settings.json:
The tools appear in Cline’s MCP panel once the server connects. See the MCP server page for the full tool catalog and the conventions its tools share.

Troubleshooting

Authentication Errors (401)

  1. Confirm your Eden AI API key is correct — copy it from app.edenai.runAPI Keys
  2. Make sure there are no leading/trailing spaces in the key

Connection Issues

  1. Verify the base URL is exactly: https://api.edenai.run/v3
  2. Check Eden AI status: https://app-edenai.instatus.com

Next Steps