Skip to content
Takes about 1 minute

Connect Windsurf to PromptUnit

Two fields in a settings screen. No terminal, no code files, nothing to install.

1

Get your PromptUnit key

If you haven't already, sign up free at PromptUnit (no credit card). Once you're in, go to your Dashboard and open API Keys. Copy the key shown there, you'll paste it in a moment.

2

Open Windsurf's settings

Press Ctrl/Cmd + , to open Settings, then search for "AI" or "API" to find the AI configuration section.

3

Fill in two fields

Base URL / API Endpoint

https://www.promptunit.ai/api/proxy/openai

API Key

your PromptUnit key from Step 1

That's the whole setup, no other settings to change.

4

Keep coding normally

Use Windsurf exactly like you did before, same chat, same commands. Every request now quietly passes through PromptUnit first. Simple questions and easy edits get sent to a cheaper model automatically, anything that needs real reasoning power stays on the strong model.

5

Watch your savings

Open your PromptUnit Dashboard any time to see exactly how much you've saved, request by request. If you signed up through the free trial, your first $5 in real savings costs nothing, no card needed.

If something doesn't look right

Double-check both fields are filled in exactly as shown above, no extra spaces or characters. Still stuck? Reach out and we'll sort it out with you directly.

Quick reference

The address you'll paste in, if you need it again:

https://www.promptunit.ai/api/proxy/openai