What this model error usually means
OpenAI: GPT-5 Mini returning 400 / context length exceeded means you should first confirm whether model ID openai/gpt-5-mini is visible for this OpenAI key, then separate permission, context, capability, rate limit, or route issues.
- Model: openai/gpt-5-mini
- Provider: OpenAI
- Status code: 400