Empty model list or model not found
Fetching models returns an empty list, or a request reports model_not_found.
Model availability depends on the key group and current service availability. A display name is not always the exact model ID expected by the API.
Verify the base URL and key first. If fetching models returns 401 or 404, resolve that error before selecting a model.
Check Model Square and the key group for available models, then refresh the client model list.
Copy the exact model ID, including punctuation and version. If grok-4.6 is unavailable in your group, select another available model.