SunsetDiff

Replacement for meta-llama/llama-4-maverick-17b-128e-instruct: what changes when you switch

The official replacement is openai/gpt-oss-120b. meta-llama/llama-4-maverick-17b-128e-instruct shut down on 2026-03-09 per Groq's deprecation page (checked 2026-10-26). Price, context window, and max output were left blank because the official pages we checked did not publish them.

meta-llama/llama-4-maverick-17b-128e-instruct model page · Groq

Official replacement. Full diff page

meta-llama/llama-4-maverick-17b-128e-instruct to openai/gpt-oss-120b

Some values not published Checked 2026-10-26.

Price per 1M tokens

Price comparison. Example monthly cost for 10M input tokens and 2M output tokens. Labeled example, not a bill.
FieldOldNewChange
Input Not published $0.15 Not published
Output Not published $0.6 Not published
Cached input Not published Not published Not published
Example monthly cost Not published $2.7 Example only

Context and max output

Token limits
LimitOldNewChange
Context window Not published 131,072 Not published
Max output Not published 65,536 Not published

Capabilities that differ

No differing capability values are published for both models.

Endpoint changes

  • The Groq API reference says chat completions are POST https://api.groq.com/openai/v1/chat/completions. The sample only changes the model field. Source

Code

python before
from groq import Groq
client = Groq()
chat_completion = client.chat.completions.create(
    messages=[{"role": "user", "content": "Hello"}],
    model="meta-llama/llama-4-maverick-17b-128e-instruct",
)
python after
from groq import Groq
client = Groq()
chat_completion = client.chat.completions.create(
    messages=[{"role": "user", "content": "Hello"}],
    model="openai/gpt-oss-120b",
)
typescript before
import Groq from "groq-sdk";
const groq = new Groq();
const completion = await groq.chat.completions.create({
  messages: [{ role: "user", content: "Hello" }],
  model: "meta-llama/llama-4-maverick-17b-128e-instruct",
});
typescript after
import Groq from "groq-sdk";
const groq = new Groq();
const completion = await groq.chat.completions.create({
  messages: [{ role: "user", content: "Hello" }],
  model: "openai/gpt-oss-120b",
});
curl before
curl https://api.groq.com/openai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"meta-llama/llama-4-maverick-17b-128e-instruct","messages":[{"role":"user","content":"Hello"}]}'
curl after
curl https://api.groq.com/openai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-oss-120b","messages":[{"role":"user","content":"Hello"}]}'

Checklist

  1. Read the shutdown date for meta-llama/llama-4-maverick-17b-128e-instruct on the linked official page.
  2. Point your requests at openai/gpt-oss-120b.
  3. Re-check price, context, and parameters on the provider pages linked here.
  4. Ship the change before the published shutdown date.

Related models

Questions

What is the replacement for meta-llama/llama-4-maverick-17b-128e-instruct?

The official replacement is openai/gpt-oss-120b. meta-llama/llama-4-maverick-17b-128e-instruct shut down on 2026-03-09 per Groq's deprecation page (checked 2026-10-26). Price, context window, and max output were left blank because the official pages we checked did not publish them.

Is openai/gpt-oss-120b cheaper than meta-llama/llama-4-maverick-17b-128e-instruct?

A full price comparison is not published. One or both prices are missing from the official pages we checked.

Does openai/gpt-oss-120b have a bigger context window than meta-llama/llama-4-maverick-17b-128e-instruct?

Context window sizes are not both published on the official pages we checked.

Sources

Deprecation alerts

We email you before models shut down. Unsubscribe anytime.

Deprecation alert signup
Providers (optional)