Verified working with MiniMax-M2.7 on Infercom.
Prerequisites
- Python 3.8 or later
- pip3 installed
- Infercom API key
Installation
Configuration
Option 1: Environment Variables (Recommended)
Set these environment variables:Option 2: Config File
Create~/.aider.conf.yml:
Option 3: Command Line
Pass everything on the command line:Model
Use MiniMax-M2.7 with theopenai/ prefix:
Example Usage
Interactive Mode
Non-Interactive Mode
Disable Auto-Commits
Reasoning Output
MiniMax-M2.7 has built-in reasoning capabilities. To see the model’s thinking process, disable streaming:Controlling Reasoning Effort
You can adjust reasoning intensity with--reasoning-effort:
low, medium, high
Troubleshooting
Unknown Model Warning
You may see this warning:~/.aider.model.metadata.json with MiniMax-M2.7 specs:
--no-show-model-warnings:
Connection Errors
Verify your configuration:Model Not Found
Ensure you’re using the correct model name with theopenai/ prefix:
Performance
- Token throughput: 400+ tokens/sec with MiniMax-M2.7
- Context window: 192K tokens - handles large codebases
Next Steps
- OpenCode - Full TUI experience
- Choosing a Tool - Compare options
- API Reference - Direct API usage