Two ivory paper strips pass under one steel roller, one with groups of black tally marks and the other with a continuous burgundy stripe.
All posts

MiniMax M4 API: discounted routes and AIVAX Coder access

Call MiniMax M4 through AIVAX with discounted per-token routes, or use the subscription model ID to draw from your AIVAX Coder quota.

A backend that calls MiniMax M4 for a few jobs and a coding agent that uses it throughout the month can send requests to the same AIVAX API. Which model ID you pass determines how those requests are billed. The December 5 AIVAX changelog lists @minimax/m4 for metered API access and @aivax-subscription/minimax-m4 for subscription usage. MiniMax introduced M4 on December 3 as a multimodal reasoning model for workloads including coding and long-running agent tasks.

The API discount depends on the route

The standard rate for @minimax/m4 matches MiniMax’s direct API pricing: $0.80 per million uncached input tokens, $0.05 per million cache-read tokens, and $3.10 per million output tokens. The AIVAX model catalog lists Grand Vicuna at $0.40, $0.025, and $1.55 for those same categories, 50% below the standard rates. Grand Anak’s Ivory Route lists $0.24, $0.015, and $0.93, 70% below standard. These are listed token rates; check the live catalog before choosing a route.

Both discounted routes are special providers. The Balanced preset does not pick them automatically. To select the Ivory Route explicitly, use @minimax/m4#grand-anak-ivory. Special providers do not offer zero data retention, and their availability and capabilities can differ by route. The guide to discounted providers explains how to make that choice and check the route your requests actually used.

The Coder model ID draws from a monthly quota

On AIVAX Coder Lite or Plus, select @aivax-subscription/minimax-m4 in your coding client. The subscription entry has a documented 500K-token context and shares the monthly quota with the other subscription models. If that quota runs out, the subscription request returns HTTP 429 rather than automatically charging your balance. Subscription models are not zero-data-retention routes: providers may retain prompts indefinitely.

In Avi, sign in to AIVAX and select the subscription entry in the model picker. In Codex, Claude Code or OpenCode, follow the integration guide for your client, then set the model to @aivax-subscription/minimax-m4. If you already have AIVAX configured, confirm the model ID before starting a session and update any client-side context limit to match the subscription entry.

The launch also moved @model-router/minimax:latest from M3.1 Flash to M4. If you use that alias today, review its new pricing and behavior before sending the same workload through it. Requests that need to stay on Flash should use its explicit model ID, @minimax/m3.1-flash.

Catalog rates checked December 5, 2026. Figures are in USD per million tokens and describe token rates, not the total cost of a coding session.