MiniMax M3 and M2.7 are free on AI Gateway via GMI Cloud through Sunday, September 6.
Use minimax/minimax-m3-free or minimax/minimax-m2.7-free to route requests to GMI Cloud. These model IDs will return an error after the free period ends.
import { streamText } from 'ai' ;
const result = streamText ( {
model : 'minimax/minimax-m3-free' ,
prompt : 'Summarize the incident report.' ,
} ) ;
Stream a response from MiniMax M3 through the free GMI Cloud route.
To keep requests working after the free period, use the standard model ID without the -free suffix and place GMI Cloud first in the provider order:
const result = streamText ( {
model : 'minimax/minimax-m3' ,
prompt : 'Summarize the incident report.' ,
providerOptions : {
gateway : {
order : [ 'gmicloud' ] ,
} ,
} ,
} ) ;
Prefer GMI Cloud for MiniMax M3 while allowing provider fallback.
AI Gateway tries GMI Cloud first and can fall back to another provider if GMI Cloud can't serve the request.…