Api.Airforce
CLINE

Cline Integration

Use Airforce as the backend for the Cline VS Code extension (formerly Claude Dev). Any tool-capable Airforce model becomes usable for read/edit/bash inside the editor.

ℹ️
Cline: ships a built-in "OpenAI Compatible" provider. Point it at https://api.airforce/v1, paste your Airforce API key, and type a model ID — that's it.

Install

Install from the VS Code Marketplace — the extension ID is saoudrizwan.claude-dev (display name: Cline).

code --install-extension saoudrizwan.claude-dev

Or open the Extensions panel (Ctrl+Shift+X / ⇧⌘X) and search for Cline.

Airforce als Provider konfigurieren

  • Click the Cline icon in the sidebar, then the ⚙️ (settings) icon at the top-right of the Cline panel.
  • Under API-Provider, select OpenAI Compatible from the dropdown.
  • Fill in the fields exactly:
FieldValue
Base URLhttps://api.airforce/v1
API-Schlüsselsk-air-… (from your Airforce dashboard)
Model IDclaude-sonnet-4.5 (or any tool-capable Airforce model)
💡
Modell-ID Referenz.: The OpenAI-Compatible provider in Cline expects you to type the model ID manually — it does not auto-fetch a list. Copy any id from /v1/models, and prefer one marked Tools ✓ on the models page — Cline relies on tool calls for every file edit, bash run, and completion action.

Optional: model pricing + context

Cline can display cost and context-size hints in the chat footer. Under Modell-Konfiguration you can enter:

  • Kontextfenster — e.g. 200000 for Claude Sonnet 4.5, 1048576 for GPT-5.
  • Max. Output-Tokens — usually 8192 or 16384 depending on model.
  • Input Price / Output Price — copy from the models page (prices are per 1M tokens).

Troubleshooting

⚠️
Cline says "Tool use not supported" or silently returns plain text: The upstream provider for that model strips tools from the request. Switch to a model marked Tools ✓ on the models page.
⚠️
401 / "Invalid API key": Make sure the Base URL is exactly https://api.airforce/v1 (with the /v1) and the API key starts with sk-air-. No Bearer prefix — Cline adds that itself.

Probleme beim Einrichten oder einen kostenlosen Key gesucht? Frag die Community auf unserem Discord.

Tritt unserem Discord bei