> ## Documentation Index
> Fetch the complete documentation index at: https://edenai-docs-github-copilot-integration.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Cline

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

export const TechArticleSchema = ({title, description, path, articleSection, about, proficiencyLevel = "Beginner", dependencies, keywords = [], datePublished, dateModified, image, inLanguage = "en"}) => {
  const baseUrl = "https://www.edenai.co/docs";
  const canonicalUrl = `${baseUrl}/${path}`.replace(/\/+$/, "");
  const ogParams = new URLSearchParams({
    division: articleSection || "",
    title: title || "",
    description: description || ""
  });
  const resolvedImage = image || `https://edenai.mintlify.app/_mintlify/api/og?${ogParams.toString()}`;
  const data = {
    "@context": "https://schema.org",
    "@type": "TechArticle",
    "@id": `${canonicalUrl}#techarticle`,
    mainEntityOfPage: {
      "@type": "WebPage",
      "@id": canonicalUrl
    },
    headline: title,
    name: title,
    description: description,
    url: canonicalUrl,
    inLanguage: inLanguage,
    isPartOf: {
      "@type": "WebSite",
      name: "Eden AI Documentation",
      url: baseUrl
    },
    author: [{
      "@type": "Organization",
      name: "Eden AI",
      url: "https://www.edenai.co/"
    }],
    publisher: {
      "@type": "Organization",
      name: "Eden AI",
      url: "https://www.edenai.co/",
      logo: {
        "@type": "ImageObject",
        url: "https://www.edenai.co/assets/logo.png"
      }
    }
  };
  if (articleSection) data.articleSection = articleSection;
  if (about) data.about = {
    "@type": "Thing",
    name: about
  };
  if (proficiencyLevel) data.proficiencyLevel = proficiencyLevel;
  if (dependencies) data.dependencies = dependencies;
  if (keywords && keywords.length) data.keywords = keywords;
  if (datePublished) data.datePublished = datePublished;
  if (dateModified) data.dateModified = dateModified;
  data.image = Array.isArray(resolvedImage) ? resolvedImage : [resolvedImage];
  const json = JSON.stringify(data);
  const schemaId = `techarticle-${canonicalUrl}`;
  React.useEffect(() => {
    if (typeof document === "undefined") return;
    document.querySelectorAll(`script[data-schema-id="${schemaId}"]`).forEach(n => n.remove());
    const script = document.createElement("script");
    script.type = "application/ld+json";
    script.dataset.schemaId = schemaId;
    script.textContent = json;
    document.head.appendChild(script);
    return () => script.remove();
  }, [json, schemaId]);
  return null;
};

<TechArticleSchema title={"Cline"} description={"Configure Cline, the autonomous AI coding agent for VS Code, to use Eden AI for access to +300 LLM models."} path="v3/integrations/cline" articleSection="Coding Agents" about={"AI Coding Assistants"} proficiencyLevel="Intermediate" keywords={["Eden AI", "AI API", "Cline"]} datePublished="2026-05-06T00:00:00Z" dateModified="2026-05-07T00:00:00Z" />

Configure [Cline](https://github.com/cline/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

* [VS Code](https://code.visualstudio.com) installed
* [Cline](https://docs.cline.bot/getting-started/installing-cline) installed in VS Code
* Eden AI API key from [https://app.edenai.run](https://app.edenai.run)

## 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:

| 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` |

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-4-5` — 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](https://app.edenai.run/models).

## Troubleshooting

### Authentication Errors (401)

1. Confirm your Eden AI API key is correct — copy it from [app.edenai.run](https://app.edenai.run) → **API 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](https://app-edenai.instatus.com)

## Next Steps

* [Continue.dev](./continue-dev) - Inline AI code assistant for VS Code and JetBrains
* [Claude Code](./claude-code) - Official Claude CLI
