Minimax API key verification failure in AI Gateway BYOK menu

When I try to verify my Minimax API Key in the BYOK menu of the AI Gateway, an error occurs consistently. My API Key works normally with the Minimax provider. Please help me find the reason, thank you!

name:SuperJolly

Are you using a minimax Secret key or a Coding plan key? The secret key works for me, but the coding plan key requires a subscription to test out so I just want to double check with you before I dive into this

I’m using interface-key, which is the secret key you mentioned, and I haven’t activated their Coding Plan

I’m getting this error with the coding plan

MiniMax Test Request Failed

HTTP 500 Invalid Credentials

your current token plan not support model, MiniMax-M2-Stable (2061)

Generation ID: gen_01KQNV8J4BKJVKMKTYQF8NXPTF

It was working fine before until today, I had to regenerate the key and when I tried adding it again to Vercel got the error