To use MiniMax-M2, you need to update your .env file in the open_agent directory.
-
Open the
.envfile located inC:\Users\aaron\Downloads\openAgents\open_agent\.env. -
Change the
OPENROUTER_MODELline to:OPENROUTER_MODEL=minimax/minimax-m2
Your
.envfile should now look something like this:OPENROUTER_API_KEY=your_api_key_here OPENROUTER_MODEL=minimax/minimax-m2
MiniMax-M2 is a high-efficiency model optimized for coding and agentic workflows. OpenRouter often provides initial free credits, allowing you to test and prototype with models like MiniMax-M2 without immediate cost.
If you encounter any issues or wish to explore other free/low-cost models, you can check the OpenRouter Models page for a full list. Some other potentially free or low-cost options might include:
anthropic/claude-3-haiku(Fastest, cheapest Claude model)openai/gpt-3.5-turbo(Often has a free tier or very low cost)
Remember to always check the pricing and your credit balance on OpenRouter to manage costs effectively.