DEV Community

Discussion on: How to Use Claude 4 Opus & Sonnet with Cursor & Windsurf

Collapse
 
audrey_lopez profile image
Audrey Lopez

Perfect, I was searching about how to turn on Claude 4 on Windsurf, apparently it is BYOK?

Collapse
 
kristen69 profile image
Kristen

Yeah, you can use Claude 4 (Sonnet and Opus) on cursor. But for Windsurf you need to bring your own key.

Collapse
 
therealmrmumba profile image
Emmanuel Mumba

Yes, that’s correct — Claude 4 on Windsurf uses a BYOK (Bring Your Own Key) model. You’ll need to have API access to Claude 4 via Anthropic and then plug in your API key within Windsurf’s settings. Once set up, it should integrate seamlessly.

Collapse
 
melroy89 profile image
Melroy van den Berg

Do we get f*ked by Anthropic though when using this feature in Windsurf? I heard from people that this way Anthropic is charging much more credits from users. Do you have experiences like that?