How to Use ToksHub with Windsurf
Point Windsurf at the same API boundary your team already uses, without introducing a separate provider-specific setup.
Step 1: Get Your API Key
- Visit the dashboard
- Sign up or log in
- Go to API Keys → Create New Key
- Copy the key
Step 2: Configure Windsurf
In Windsurf, look for the provider or model configuration area that allows an OpenAI-compatible endpoint or custom base URL.
Use the following values:
Base URL: https://api.tokshub.com/v1
API Key: sk-your-keyThe exact settings path can vary by Windsurf version, but the required values remain the same.
Step 3: Verify the Connection
- Open a project in Windsurf
- Run a simple coding or chat request
- Confirm the request appears in your dashboard
Troubleshooting
- Authentication failed — Verify you pasted yourToksHub key correctly
- Model list not appearing — Confirm Windsurf is using
https://api.tokshub.com/v1as the base URL - Connection errors — Check status and retry after verifying network access
Need the exact endpoint behavior?
Review the API reference or the quickstart guide for request examples and model discovery.