All posts
Cursor with a custom base URL
Guides 5 min read· Aug 8, 2026· By Guides

Cursor with a custom base URL

Use TokenRex as Cursor's model provider for at market price tab autocomplete and chat.

Cursor lets you override the OpenAI base URL in Settings → Models. Point it at TokenRex and every chat/edit call routes through us.

  • Open Cursor → Settings → Models
  • Toggle 'Override OpenAI Base URL'
  • Paste https://tokenrex.ai/api/public
  • Paste your sk-tb- key
  • Add openai/gpt-5.4 in the model list
Tab autocomplete uses a different endpoint — see the Cursor override docs.

Ready to build?

Grab a key, keep your OpenAI SDK, and pay only for what you use.

Start free