Skip to main content
Windsurf supports OpenAI-compatible providers for custom models.

Setup

  1. Open Windsurf → SettingsAI Provider
  2. Select “OpenAI Compatible”
  3. Fill in:
See all model aliases for shortcuts.

Prompt Caching

Prompt caching is automatic. Your system prompt and tool definitions are cached for 5 minutes, and the repeated part then bills at that model’s cached-input rate instead of its input rate. No code changes needed. See Prompt Caching for details.