← Integrations · IDE & editors

Windsurf setup via the Kiree gateway

Connect Windsurf to kiree.net: a custom OpenAI-compatible provider in the Cascade/Models settings — Base URL, key and a catalog model ID.

Why the gateway

Why the direct setup does not cover every case

Windsurf normally uses its own subscription and Cascade service. Add a custom OpenAI-compatible provider with the gateway Base URL and key; the Cascade chat then runs through kiree.net.

Setup

Steps to your first request

·

Get a key

Create a sk-… key in the kiree.net console.

·

Add a provider

Settings → Cascade / Models (panel name depends on the version): add a custom OpenAI-compatible provider.

·

Set the gateway and model

Base URL https://kiree.net/v1, key sk-…, model ID (e.g. claude-sonnet-4-6); select it in the model picker.

Base URL: "https://kiree.net/v1"
API key: "sk-…"
Model ID: "claude-sonnet-4-6"

If your Windsurf version has no custom provider, the same key works in Cursor or Cline without limits.

Check: ask a test question in Cascade with the selected custom model: the reply comes through the gateway, usage visible in the console.

Models

What to connect in Windsurf

Any text model from the catalog works on one key. Below are popular options to start.

Diagnostics

Common errors

!

Custom provider is not in settings

Windsurf version without a BYOK panel: update the editor or use Cursor/Cline with the same key.

!

401 Unauthorized

Wrong key or Base URL: check both provider fields.

!

Agent features do not work with the custom model

Part of Cascade features depend on Windsurf servers: chat with the custom model works; for a full agent see Claude Code/Codex CLI.

FAQ

Frequently asked questions

How do I connect Windsurf through the gateway?+

Chat and generation with the custom kiree.net provider go to the gateway directly.

Do I need a Windsurf subscription?+

Working with your own key, no: usage is billed by tokens from the kiree.net balance.

Which models should I connect?+

Any catalog text model: claude-sonnet-4-6, gpt-6-astra, gpt-4o-mini, deepseek-v4-pro.

How is it different from Cursor?+

The protocol is the same (OpenAI-compatible); in Windsurf the provider panel depends on the version, while Cursor uses Override OpenAI Base URL.

Get a key for Windsurf

Create a key in a couple of minutes; pay only for actual usage, no subscription required.