Drop-in OpenAI replacement for Cursor
Set your API key in your environment:
export OPENAI_API_KEY=your_api_key_hereNote: Get your API key from aibadgr.com/signup
In Cursor Settings → Advanced → Override OpenAI Base URL:
https://aibadgr.com/api/v1Important: The base URL must be the OpenAI-style root that contains /chat/completions under it. Use: https://aibadgr.com/api/v1
Select a model in Cursor:
gpt-3.5-turboRecommended: gpt-4o-mini (cheap) or gpt-4o (better).
Other OpenAI-compatible names may work, but start with these.
Run: "Summarize this file"
You should see a response.
✓ That's it! You're now using AI Badgr with Cursor.
Supports streaming + JSON mode.
404 Not Found
Your base URL is wrong. It must be the OpenAI-style root that contains /chat/completions under it. Use: https://aibadgr.com/api/v1
401 Unauthorized
Your API key isn't set or wrong. Check that you set it correctly in Cursor Settings. Restart Cursor after setting the key.
Model not found
If you see "model not found", start with gpt-4o-mini or gpt-4o.