Inference APIs
Integrations/Coding agent

Use Inference APIs with Cline (VS Code)

Choose the "OpenAI Compatible" provider in Cline settings and paste the base URL, key and a model id.

Settings

SettingValue
Base URLhttps://api.inferenceapis.com/v1 (also /openai/v1)
API keyFrom API Keys; send as Authorization: Bearer …
Chat model idsopenai/gpt-oss-120b, deepseek-ai/DeepSeek-V4-Flash, zai-org/GLM-5.3-Flash, meta-llama/Llama-3.3-70B-Instruct-Turbo — all models
Audio model idsopenai/whisper-large-v3 (transcription), hexgrad/Kokoro-82M (speech)

Which model

openai/gpt-oss-120b. Cline needs reliable tool calling and long system prompts. Prices and measured speed: chat models.

Steps

  1. Open Cline → settings (gear) → API Provider → OpenAI Compatible.
  2. Base URL: https://api.inferenceapis.com/v1
  3. API Key: your Inference APIs key.
  4. Model ID: openai/gpt-oss-120b (tool calling required for Cline; GPT-OSS, DeepSeek V4/V4.1 and GLM 5.3 all support it).
  5. Set Context window to 131072 (GPT-OSS) or 1000000 (DeepSeek / GLM) if Cline asks.

Verify

Ask Cline to "list the files in this folder" — a working tool call confirms the setup.

How this guide was checked

Configuration only These settings follow Cline's documented OpenAI Compatible provider. We verified tool calling on every chat model here, which is what Cline depends on, but did not run the extension itself. If a step does not match what you see, tell us.

Gotchas

  • Cline sends long system prompts; budget a few thousand tokens per turn.
  • If Cline reports the model does not support tools, double-check the model id is one of the chat models, not a speech model.

If something fails

401 — key missing or wrong · 402 insufficient_balance — add credits on Billing · 404 model_not_found — check the id against the model list (aliases such as gpt-oss-120b work too) · 503 model_unavailable — the model is being enabled. Full details in the API docs.