> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apiany.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Integration in Cline

> APIAny.AI API Key, Base URL und empfohlene Modelle in Cline konfigurieren.

[Cline](https://cline.bot/) kann sich über OpenAI-kompatible Einstellungen mit APIAny.AI verbinden. Nach der Einrichtung kannst du Chat-, Reasoning-, Übersetzungs- und multimodale Modelle im selben Client nutzen.

## Voraussetzungen

* Cline ist installiert.
* Du hast im [APIAny.AI Dashboard](https://apiany.ai/de/dashboard/api-keys) einen API Key erstellt.
* Du hast eine Modell-ID ausgewählt, etwa `gpt-5.4-mini` oder `gpt-4o-mini`.

## Konfigurationswerte

| Feld     | Wert                   |
| -------- | ---------------------- |
| API mode | `OpenAI Compatible`    |
| Base URL | `https://apiany.ai/v1` |
| API Key  | Dein APIAny.AI API Key |
| Modell   | `gpt-5.4`              |

## Einrichtung

1. Installiere und öffne Cline in VS Code.
2. Öffne die Cline-Einstellungen und wähle OpenAI Compatible.
3. Gib die Base URL, den API Key und die Modell-ID ein.
4. Speichere und lass Cline eine kleine Coding-Aufgabe ausführen, um die Verbindung zu prüfen.

## Empfohlene Modelle

| Modell-ID           | Am besten geeignet für                                                                             |
| ------------------- | -------------------------------------------------------------------------------------------------- |
| `gpt-5.5`           | Beste erste Wahl für komplexes Reasoning, Coding und produktionsreife Workflows.                   |
| `gpt-5.4`           | Starkes Allzweckmodell für anspruchsvolle Chats und Agent-Aufgaben.                                |
| `gpt-5.4-mini`      | Ausgewogenes Verhältnis von Geschwindigkeit, Qualität und Kosten für den täglichen Einsatz.        |
| `gpt-4o-mini`       | Schnelle und wirtschaftliche Wahl für einfache Chats, Übersetzungen und leichtgewichtige Aufgaben. |
| `claude-sonnet-4-6` | Claude-kompatible Modell-ID für umfangreiche Schreib- und Coding-Workflows.                        |
| `gemini-3.5-flash`  | Gemini-kompatible Modell-ID für schnelle multimodale Nutzung.                                      |

## Anleitung mit Screenshots

Die folgenden Screenshots zeigen die wichtigsten Konfigurationsschritte in Cline. API-Namen und Endpunkte wurden für APIAny.AI angepasst.

### Schritt 1

<img src="https://mintcdn.com/lingquai/Twqr-r52XykGBMod/images/integrations/cline/extension-install.png?fit=max&auto=format&n=Twqr-r52XykGBMod&q=85&s=1e0908371b3de33c9538f0afebc53b94" alt="Cline Konfigurations-Screenshot 1" width="1510" height="1010" data-path="images/integrations/cline/extension-install.png" />

### Schritt 2

<img src="https://mintcdn.com/lingquai/Twqr-r52XykGBMod/images/integrations/cline/sidebar-settings.png?fit=max&auto=format&n=Twqr-r52XykGBMod&q=85&s=2809e9fb0d367cd949cad60c7cfb14dd" alt="Cline Konfigurations-Screenshot 2" width="1919" height="1031" data-path="images/integrations/cline/sidebar-settings.png" />

### Schritt 3

<img src="https://mintcdn.com/lingquai/Twqr-r52XykGBMod/images/integrations/cline/api-config.png?fit=max&auto=format&n=Twqr-r52XykGBMod&q=85&s=db89840d408ace7e7f40ee1e11305b63" alt="Cline Konfigurations-Screenshot 3" width="1920" height="1031" data-path="images/integrations/cline/api-config.png" />

### Schritt 4

<img src="https://mintcdn.com/lingquai/Twqr-r52XykGBMod/images/integrations/cline/chat-interface.png?fit=max&auto=format&n=Twqr-r52XykGBMod&q=85&s=6fdf536d542526331879855ec4a03f27" alt="Cline Konfigurations-Screenshot 4" width="1920" height="1031" data-path="images/integrations/cline/chat-interface.png" />

### Schritt 5

<img src="https://mintcdn.com/lingquai/Twqr-r52XykGBMod/images/integrations/cline/code-refactor.png?fit=max&auto=format&n=Twqr-r52XykGBMod&q=85&s=722af084c5eacfafcd8acb0e3ab81482" alt="Cline Konfigurations-Screenshot 5" width="1920" height="1031" data-path="images/integrations/cline/code-refactor.png" />

## Fehlerbehebung

### 401 oder Authentifizierungsfehler

Stelle sicher, dass der API Key vollständig kopiert wurde, keine überflüssigen Leerzeichen enthält und im APIAny.AI Dashboard aktiviert ist.

### Das Modell erscheint nicht in der App

Gib die Modell-ID manuell ein und prüfe, ob sie im [Modellkatalog](/de/models/chat-models) verfügbar ist. Manche Tools rufen Modelllisten nicht automatisch ab.

### Welche Base URL soll ich verwenden?

OpenAI-kompatible Einstellungen verwenden in der Regel `https://apiany.ai/v1`; Claude-kompatible Einstellungen verwenden in der Regel `https://apiany.ai`; Tools, die einen vollständigen Endpunkt verlangen, verwenden `https://apiany.ai/v1/chat/completions`.
