InferenceIndex

Private beta · Early access

Platform

Fallback models

A fallback model handles what a Compiled Agent Model doesn't. Each account has one, chosen in the dashboard.

Private beta. InferenceIndex is changing fast. Models, endpoints, pricing and these docs may change without notice, so check back before you build on a detail.

Your fallback model is what keeps quality where it is today. When a request names a job's skill, the Compiled Agent Model runs that job, and your fallback model writes the text the job needs. Everything else goes to your fallback model, usually the frontier model your agent uses now.

Model inferenceindex-0.1 with your one fallback model chosen beside it in the dashboard

When a request falls back

  • The request names no skill, such as a one-off question. It goes to your fallback model as it is, and the reply comes back as it is.
  • A step needs new wording, such as an email body or the closing reply.
  • The run is stuck, or reaches its call limit. Your fallback model takes over the rest of the run with your tools.

A request that falls back gets the result you would get today, at about what you pay today. The lifecycle in How it works shows where this fits.

Choose it in the dashboard

  1. Open https://app.inferenceindex.com.
  2. Sign in.
  3. Choose your fallback model in the dashboard.

Your fallback model is chosen in the dashboard, not in the request body. The model name in your request stays inferenceindex-0.1. Any model OpenRouter lists can be chosen. Until you choose one, the API's own default runs, shown as openrouter/auto.

You can also set it from code. GET /v1/account/llm returns what you chose and what runs now. PUT /v1/account/llm with {"model": "…"} sets it, and "" or openrouter/auto puts the default back. A model OpenRouter doesn't list is refused with 400 unknown_model.

Every response names the model that wrote its text in inferenceindex.llm_model.

What you still send

The request stays the quickstart call. The base URL is https://inferenceindex-skills-25534459979.us-east4.run.app/v1, the model is inferenceindex-0.1, and the key goes in as a bearer token from the dashboard. You don't need a second code path for fallback.