#change api
1 messages · Page 1 of 1 (latest)
I’m checking the exact docs so I don’t hand you fake config keys.
If you mean in OpenClaw, you don’t “change ChatGPT API” directly, you switch your provider/model to MiniMax.
First, check your version so we’re not chasing stale behavior:
openclaw --version
Then the easiest path is:
openclaw configure
- choose Model/auth
- pick one of:
minimax-global-api
minimax-global-oauthminimax-cn-apiminimax-cn-oauth
- then select your default model
Use the right model id for your auth type:
- API key:
minimax/MiniMax-M2.7 - OAuth:
minimax-portal/MiniMax-M2.7
You can also switch the default after auth is set up with:
openclaw models set minimax/MiniMax-M2.7
Or for just the current chat session:
/model minimax/MiniMax-M2.7
Verify with:
openclaw models status
openclaw models list --provider minimax
If you get Unknown model: minimax/MiniMax-M2.7, MiniMax auth/provider isn’t configured yet.
Docs:
If you want, paste your openclaw --version and whether you want API key or OAuth, and I’ll give you the exact next command.
i've done it with claude finally, it says select sections to configure. what do i select?
Nice, you’re close. Select Model/auth.
Then choose one of these:
minimax-global-apiif you have a MiniMax API keyminimax-global-oauthif you want MiniMax OAuthminimax-cn-api/minimax-cn-oauthif you’re using the China endpoint
After that, pick the default model:
minimax/MiniMax-M2.7for API keyminimax-portal/MiniMax-M2.7for OAuth
Then verify with:
openclaw models status
If you want, send a screenshot or paste the next menu and I’ll tell you exactly what to click.
what do i choose: workspace, model, web tools, getaway, daemon. channels, plugins, skills, health check, continue
Choose model.
That’s the section for changing from OpenAI/ChatGPT to MiniMax.
So:
- select model
- pick the MiniMax option
minimax-global-apiif you have an API keyminimax-global-oauthif you want OAuth
- choose the MiniMax model it offers
- then choose continue
You can ignore the others for now unless you also want to change channels/plugins/etc.
If the next screen shows MiniMax choices, paste them here and I’ll tell you which one to pick.
i've choosen CLAUDE finally
If your goal is MiniMax, then Claude is the wrong choice.
You’ll want to go back and pick MiniMax, not Claude.
Easiest fix:
openclaw configure
Then:
- model
- choose MiniMax
minimax-global-apiorminimax-global-oauth
- continue
Or, if MiniMax auth is already set up, you can switch directly with:
openclaw models set minimax/MiniMax-M2.7
If you want, paste the exact options you see after reopening it and I’ll point to the right one.
i want to do it with CLAUDE
Let me check the exact Anthropic options so I don’t send you down the wrong menu.
Got it, if you want Claude instead of MiniMax, then in model choose the Anthropic/Claude path.
Pick based on what you have:
- Claude CLI if you already use
claudeon that machine and are logged in - Anthropic API key if you have an API key from Anthropic
Then choose a Claude model, usually:
anthropic/claude-sonnet-4-6for general useanthropic/claude-opus-4-6if you want the stronger one
After that, hit continue and verify with:
openclaw models status
If you want, tell me whether you have a Claude subscription/CLI login or an Anthropic API key, and I’ll tell you the exact option to click.