Use rawroute with Windsurf. 8 multimodal MCP tools + discounted frontier API.
Connecting rawroute to Windsurf unlocks both custom OpenAI-compatible API routing (https://api.rawroute.dev/v1) and the official @rawroute/mcp server—giving your Windsurf workspace direct image generation (Nano Banana 2 at $0.035), video rendering (Veo 3.1, Wan 3.0, Kling 4.0), audio TTS, and live price comparison on one prepaid key.
Quick setup for Windsurf
- Open Windsurf MCP settings (~/.codeium/windsurf/mcp_config.json).
- Add the rawroute MCP server entry with your RAWROUTE_API_KEY.
- Reload MCP servers in Windsurf to access all 8 multimodal, chat, and balance tools.
{
"mcpServers": {
"rawroute": {
"command": "rawroute-mcp",
"env": {
"RAWROUTE_API_KEY": "rr_live_your_key_here",
"RAWROUTE_BASE_URL": "https://api.rawroute.dev"
}
}
}
}Recommended models for Windsurf
| Model | Model ID | Official | OpenRouter +5.5% | rawroute (0%) | Providers |
|---|---|---|---|---|---|
| Claude Sonnet 5.5 | claude-sonnet-5-5 | $2.11 / $10.55 | $1.00 / $5.00 | 4 | |
| Nano Banana 2 | gemini-3.1-flash-image | — | $0.035 | 4 | |
| Veo 3.1 | veo-3.1 | — | $0.094–$0.141 | 3 | |
| GPT-6.2 Sol | gpt-6.2-sol | $2.11 / $10.55 | $0.60 / $3.00 | 3 |
When NOT to use rawroute
- — Windsurf built-in autocomplete credits remain managed by Windsurf directly; rawroute powers your MCP tools and custom API workloads.
FAQ
What tools does @rawroute/mcp add to Windsurf?
8 tools: chat_completion, generate_image, generate_video, get_video_status, generate_speech, compare_prices, list_models, and get_balance.