## TL;DR

'Invalid parameter: model mixtral-8x7b-32768 is not available' means the model was deprecated. Known swaps: mixtral-8x7b-32768 to llama-3.1-8b-instant or llama-3.3-70b-versatile, gemma2-9b-it to llama-3.1-8b-instant, llama-3.1-70b-versatile to llama-3.3-70b-versatile.

## Fix

1. 'Invalid parameter: model mixtral-8x7b-32768 is not available' means the model was deprecated.
   Expected: You get the expected result; the problem is gone.

## When to use

- You are setting up or using this Groq 400 'model is not available' feature.
- The symptom matches: the model ID is deprecated.

## When NOT to use

- Unrelated Groq 400 'model is not available' issues (different feature, different failure).
- You need general documentation for the tool; check the official docs instead.

## Compatibility

Reported against Groq 400 'model is not available' (mentions 3.1, 3.3).

## Variant phrasings

### the model ID is deprecated

## Why it happens

Groq retires model IDs aggressively. A 400 naming the model means the ID is dead, not your code.

## Edge cases

- If your error message differs even slightly, this is probably a different issue; search the exact text.
- Behavior can change between releases; the linked source reflects the versions above.
- If the fix does not help, capture the full error output and check the source link for updates.