Falls back to your API key if you have one set.
I spent $XXXX on Cursor on Anthropic API Credits, but was told that the Claude Code $200 pmo plan was much more affordable. It's a great arbitrage, so I made this hack so I could save money on this.
Note: Cursor OpenAI baseurl overriding is extremely buggy right now so I don't recommend trying this for now.