Free AI API
Browse APIsProvidersModelsDiscoverFeatured Articles

Free AI API

Discover the best free AI APIs globally. Open data, community verified.

We are continuously adding new free models.

Resources

Browse All APIsNo Credit Card RequiredFree LLM APIs HubMuiRouter — Paid API GatewayProviders ListModels ListFeatured ArticlesSitemapChrome Extension

Categories

Text GenerationCode GenerationImage GenerationSpeech to TextVideo GenerationMimo TTS

Company

AboutContactContribute

Legal

Privacy PolicyTerms of Service

© 2026 Free AI API Directory. Released under CC-BY-SA 4.0.

Featured on FirstLook.Tools
  1. Home
  2. OpenRouter
  3. Text Generation
  4. MiniMax M4 (OpenRouter)

MiniMax M4 (OpenRouter)

MiniMax M4 on OpenRouter — paid only at $0.80/M input and $3.10/M output, 1M context, OpenAI-compatible chat completions.

Updated 12/5/20262 code examples

About the Model

Why pick MiniMax M4

MiniMax M4 is MiniMax's new flagship open-weight multimodal reasoning model, with 66B active parameters out of 2.74T total. OpenRouter lists it as text, image and video in, text out, with a 1M-token context window and up to 524,288 completion tokens. It targets demanding agentic workloads such as complex software engineering and long-horizon reasoning.

What it costs

There is no free tier for M4. OpenRouter bills $0.80 per million input tokens, $3.10 per million output tokens and $0.05 per million cached input tokens — the same as MiniMax's own pay-as-you-go price. Add credits to your OpenRouter account before calling it.

How to reach it

The endpoint below goes through OpenRouter's OpenAI-compatible chat completions API, so any OpenAI SDK works by pointing base_url at https://openrouter.ai/api/v1 and using the model id minimax/minimax-m4.

How to Access for Free (via OpenRouter)

How to call it

OpenRouter exposes M4 through the standard OpenAI-compatible chat completions endpoint, so any OpenAI SDK works by pointing base_url at https://openrouter.ai/api/v1 and using the model id minimax/minimax-m4.

Cost

M4 has no free tier. OpenRouter bills $0.80 per million input tokens, $3.10 per million output tokens and $0.05 per million cached input tokens. Add credits to your OpenRouter account before calling it.

Limits

The context window is 1M tokens and a single completion can return up to 524,288 tokens. Input accepts text, images and video; output is text only.

Try it in the Playground

Chat with free AI models right in your browser — multi-turn conversations, switch models mid-chat, and your API key stays in this browser.

Code Examples

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax/minimax-m4",
    "messages": [
      { "role": "user", "content": "Explain the difference between a mutex and a semaphore." }
    ]
  }'
← View all free providers for MiniMax M4

Community Feedback

Comments are tied to your GitHub account — sign in to join the discussion.

Availability

  • Status: Active
  • Type: Paid
  • Credit card: Requires Credit Card
  • Verification: Extra verification required

Community Rating

Tags

Text GenerationMultimodal / VisionMiniMaxOpenRouter1M ContextReleased 2026

Pricing & Quota

  • Type: Paid
  • Requires Credit Card
Get API KeyNeed heavier usage? MuiRouter offers paid, at-cost access to genuine models.

Technical Details

  • Endpoint: https://openrouter.ai/api/v1/chat/completions
  • Auth: API Key
  • OpenAI Compatible: Yes

Similar Recommendations

  • Gemma 4 31B (OpenRouter)
  • Gemma 4 26B A4B (OpenRouter)
  • Nemotron 3 Nano Omni (OpenRouter)
  • Nemotron 3 Ultra (OpenRouter)
  • Nemotron 3.5 Lightning (OpenRouter)
  • Nemotron 3.5 Super VL (OpenRouter)
  • Flint 40B (OpenRouter)
  • Particle-1 (OpenRouter)
  • LFM3 1.7B (OpenRouter)
  • ERNIE 5.5 Flash Preview (OpenRouter)

Feedback & Suggestions

Found an issue, dead link, or have a suggestion? We'd love to hear from you!

Send Feedback EmailMore contact options