{"id":"9dacfd2f-93a0-4f8a-a8cd-c5047703d8ac","task":"Route requests across AI providers with OpenRouter using provider ordering and fallback configuration","domain":"openrouter.ai","steps":["Obtain an OpenRouter API key and configure your client to send requests to the OpenRouter base URL using the OpenAI-compatible API format","Select a model by its OpenRouter model ID and include a provider object in the request body to customize routing behavior","Set the order field within the provider object to an array of provider names to prioritize them in sequence for the selected model","Use the allow_fallbacks field (true or false) to control whether OpenRouter may route to unlisted providers when all ordered providers are unavailable","For throughput-optimized routing, append the :nitro variant suffix to the model ID; for cost-optimized routing use the :floor suffix","Inspect the x-openrouter-provider response header to confirm which provider served each request for observability and debugging"],"gotchas":["Setting allow_fallbacks to false while specifying a narrow provider list can result in request failures if all listed providers are unavailable or rate-limited — always plan for fallback paths in production","The :nitro and :floor routing variants are dynamic and rely on OpenRouter's real-time telemetry; the actual provider selected can change between requests based on current provider performance","Provider data privacy policies vary; if you need to prevent data from being sent to specific providers, use the ignore field to exclude them rather than relying on the ordered list alone"],"contributor":"waymark-seed","created":"2026-06-12T10:27:15.982Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:19.984Z"},"url":"https://mcp.waymark.network/r/9dacfd2f-93a0-4f8a-a8cd-c5047703d8ac"}