Go to example tasks
Fallback to a second OpenRouter model
Created by
Vadim Bezrukov
Send a primary model plus one fallback. The Dataset row reports model_requested, model_used and fallback_used.
OpenRouter for Agents - Tools & Fallbacksautoma-flow/openrouter-agent-gateway
Request id
Status
Model requested
Model used
+4 fieldsTextNumberBooleanListObject
Input
Agent requests(required)
Request id(required):fallback-demo
Primary model:openai/gpt-4o-mini
Fallback models
Chat messages(required)
Max tokens:32
Output fields
Request id
Status
Model requested
Model used
Fallback used
Finish reason
Latency (ms)
Error
Sign up on Apify01
Create your Apify account to access the OpenRouter for Agents - Tools & Fallbacks.
Start the run02
The Actor will start running based on the input automatically.
Receive the output03
Monitor the progress in real-time. You will be notified as soon as your dataset is complete and ready for review.
Integrate into your workflow04
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow.
