Documentation Index
Fetch the complete documentation index at: https://gomodel-docs-providers-restructure.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
GoModel exposes failover through thefallback config block.
When a request fails, GoModel can retry it against alternate models. For
predictable behavior, use manual mode.
Manual Mode
Manual mode is the recommended mode today.config/fallback.json is a JSON object where each model entry contains an
ordered candidate list (array); top-level keys are not ordered:
gpt-4o or provider-qualified selectors like
azure/gpt-4o.
If needed, you can override the mode per model with fallback.overrides.
Auto Mode
auto mode is experimental right now.When It Runs
Failover is attempted only after the primary request returns:5xx429- model unavailable, unsupported, or not found style errors
/v1/chat/completions and /v1/responses
requests, not /v1/embeddings.