New Agentic LLM just dropped, we need it in cursor
It’s great to see that recently there are more and more models in Cursor. I’m getting used to this and would love to see even more advanced LLMs.
Found this api page, i assume that we might be able to manually add it?
(OpenAI SDK endpoint: https://api.minimax.io/v1)
curl --location "https://api.minimax.io/v1/text/chatcompletion_v2" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer $MiniMax_API_KEY" \
--data '{
"model":"MiniMax-M1",
"messages":[
{
"role":"system",
"name":"MiniMax AI"
},
{
"role":"user",
"name":"user",
"content":"Hello"
}
]
}'
This stopped working for me. Even when creating a new API-Key, How so?
Hey, can you clarify a couple of things?
- What Cursor version are you using? Help > About
- What exact error do you see? A screenshot or the error text is fine
- Which MiniMax model are you adding? MiniMax-M1, M2, or M2.5?
MiniMax isn’t an officially supported provider, so the BYOK setup can break after Cursor updates. There’s a known issue with how Override OpenAI Base URL handles requests to custom endpoints, and the team is aware. To dig in more accurately, I’ll need to see the error.
-
Version 3.0.9
-
I’m getting an Errormessage that the API-Key is unauthrorized “Unauthorized User API key“, it worked up until recently though.
-
I tried it with the M basemodels. “Minimax-M2.5” and “Minimax-M2.7. They also used to work
Thank you for the fast help
Thanks for the details.
A couple things to help debug:
-
Check if your API key works directly via curl:
curl https://api.minimax.io/v1/chat/completions \ -H "Authorization: Bearer YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"MiniMax-M2.5","messages":[{"role":"user","content":"Hello"}]}'If curl also returns unauthorized, the issue is on MiniMax’s side. The key might be expired, or their requirements may have changed.
-
Send a screenshot of your current Models settings. Override OpenAI Base URL, the API key field, and the model list. I want to confirm the config is correct.
-
Try this: delete the current API key and Base URL, save, restart Cursor, then re-enter the Base URL
https://api.minimax.io/v1, your API key, and add the models again.
Let me know how it goes.
Hey, your request is bad, but this powershell one
Invoke-RestMethod -Uri “https://api.minimaxi.chat/v1/text/chatcompletion_v2”
-Method POST
-Headers @{ “Authorization” = “Bearer YOUR_API_KEY”; “Content-Type” = “application/json” } `
-Body ‘{“model”: “MiniMax-Text-01”, “messages”: [{“role”: “user”, “content”: “Say hello”}], “max_tokens”: 10}’
gives me a status_code=0
switching all off, closing and re-opening cursor doesn’t work
Any updates on this ?

