LiteLLMLiteLLM/ MODELS

GPT OSS 120B vs MiniMax M3.1 Flash

As of November 12, 2026, MiniMax M3.1 Flash costs 400% more per input token than GPT OSS 120B ($0.15 vs $0.03 per 1M) and has a 1M-token context window versus 131K.

Prices from LiteLLM's price fileChecked

GPT OSS 120B vs MiniMax M3.1 Flash side by side

Headline prices in US dollars per 1M tokens: each model's own lab where it sells it, otherwise its cheapest provider. Source: LiteLLM model price file, as of November 12, 2026.
GPT OSS 120BMiniMax M3.1 Flash
Input, per 1M tokens$0.03$0.15
Output, per 1M tokens$0.17$0.60
Cache read, per 1M tokens–$0.015
Cache write, per 1M tokens––
Context window131,000 tokens1,000,000 tokens
Max output131,072 tokens524,288 tokens
Image input–Yes
Tool callingYesYes
Structured output (JSON)YesYes
Prompt cachingYesYes
ReasoningYesYes
Providers on LiteLLM289
Price shown is fromWeights & BiasesMiniMax
Added to LiteLLMAugust 2025October 19, 2026

Cheapest provider for each

When to pick which

Pick GPT OSS 120B for

  • Costs 80% less per input token: $0.03 vs $0.15 per 1M.
  • Available from 28 providers through LiteLLM, vs 9.

Pick MiniMax M3.1 Flash for

  • Larger context window: 1,000,000 vs 131,000 tokens.
  • Returns up to 524,288 tokens per response, vs 131,072.

From differences in the data above only; where the data is equal, no reason is given.

Call GPT OSS 120B or MiniMax M3.1 Flash with LiteLLM

Both use the OpenAI format through LiteLLM, so switching is a model name change. Set each provider's API key in the environment first.

Python SDK
from litellm import completion

messages = [{"role": "user", "content": "Hello!"}]

# GPT OSS 120B
response = completion(model="wandb/openai/gpt-oss-120b", messages=messages)

# MiniMax M3.1 Flash
response = completion(model="minimax/MiniMax-M3.1-Flash", messages=messages)

# GPT OSS 120B, falling back to MiniMax M3.1 Flash if the call fails
response = completion(model="wandb/openai/gpt-oss-120b", messages=messages, fallbacks=["minimax/MiniMax-M3.1-Flash"])

FAQ

Which is cheaper, GPT OSS 120B or MiniMax M3.1 Flash?

GPT OSS 120B is cheaper at 3 input tokens per output token: $0.065 per 1M tokens blended ($0.03 input, $0.17 output), versus $0.2625 ($0.15 and $0.60) for MiniMax M3.1 Flash, as of November 12, 2026.

Which has the larger context window, GPT OSS 120B or MiniMax M3.1 Flash?

MiniMax M3.1 Flash has the larger context window: 1,000,000 tokens, versus 131,000 for GPT OSS 120B.

Can I switch from GPT OSS 120B to MiniMax M3.1 Flash without changing my code?

Yes. Through LiteLLM both use the OpenAI format, so switching means changing the model name from "wandb/openai/gpt-oss-120b" to "minimax/MiniMax-M3.1-Flash", or pointing a LiteLLM gateway model alias at the other model. You can also use one as a fallback for the other.