I sent one request — read and modify a single document. Cursor’s background workspace indexing / context gathering auto-routed to Grok 4.6 Medium, ignoring my BYOK (MiniMax) config, and consumed ~834k tokens in minutes. It appeared to traverse the entire codebase rather than just the one file I asked about.
Steps to Reproduce
Fresh install Cursor on new PC, configure BYOK (MiniMax)
Open existing code project for the first time
Send a single request: read and modify one document
For AI issues: which model did you use?
Model name (e.g., Sonnet 4, Tab…)
For AI issues: add Request ID with privacy disabled
Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
For Background Agent issues, also post the ID: bc-…
Additional Information
Add any other context about the problem here.
Does this stop you from using Cursor?
Yes - Cursor is unusable
Sometimes - I can sometimes use Cursor
No - Cursor works, but with this issue
The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!
The main thing is that BYOK with a custom model through Override OpenAI Base URL in Agent, Chat, and Edit only works with an active paid subscription Pro or higher. On Free, that path is blocked, so your MiniMax key wasn’t picked up. MiniMax’s own Cursor docs confirm this too: “Custom models require a Cursor Pro subscription or above”.
Because of that, on Free the model picker stays locked to Cursor Grok 4.6 Medium, and both requests were sent to Grok, not MiniMax.
About the tokens: codebase indexing creates embeddings and doesn’t use the chat model, so that usage didn’t come from indexing. It came from the agent steps themselves. To read and edit a file, the agent takes several steps like search, read, and edit, and at each step it sends the conversation context again. Most of the tokens shown there are cached input, not a full pass over the whole codebase.
To use your own MiniMax key in Agent, you’ll need an active Pro subscription or higher. After upgrading, add the model like this: Settings → Models → API Keys, turn on “OpenAI API Key” and paste the key, turn on “Override OpenAI Base URL” with MiniMax’s OpenAI-compatible endpoint, click Verify, then add the model name as a custom model.