AddThisFeature

Model Selection

Let each AI task run on the model that suits its quality, speed, and cost needs.

moderate Developer Experience

What it adds

A per-task model choice, drawn from the models the app already has configured, with capability filtering and safe defaults.

What your agent is told to do

5
  1. 1

    Enumerate the models the app already has access to and record what each one can actually do: context capacity, whether it can return the structured output the task requires, whether it supports the tools the task calls, and its relative cost and speed.

  2. 2

    Offer only the models that satisfy the task's requirements. A task that needs structured output must not list a model that cannot reliably produce it, because the failure appears later as malformed responses rather than as an unavailable option.

  3. 3

    Store the choice against the specific task, not as one global setting. A single default forces a summarisation task and a classification task onto the same tier when they have opposite needs.

  4. 4

    Present the choice in plain terms — faster, higher quality, lower cost, and where the data is processed — rather than exposing provider naming and parameter detail to users who did not ask for it. Advanced settings can stay behind a disclosure for the people who need them.

  5. 5

    Do not let a removed or deprecated model become a silent failure. Fall back to a compatible configured model, record that the substitution happened, and surface it to an administrator.

Edge cases it handles

8
  • The list must be filtered by what the task actually needs, so a model that cannot honour the required output shape or call the required tools is never offered for that task.
  • Provider-specific parameters and naming should stay hidden from ordinary users behind a plain description of speed, quality, and cost, while remaining reachable for administrators.
  • Choices belong to individual tasks. One global default applied everywhere is either too expensive for the cheap work or too weak for the hard work.
  • A model that is removed, deprecated, or newly unavailable must resolve to a compatible substitute with a recorded, visible notice, rather than throwing an error at the next run.
  • Where models differ materially in cost or in where data is processed, state that at the point of selection. Discovering it on an invoice or in a compliance review is too late.
  • Changing the model for a task must not silently change results already produced. Existing outputs keep their original attribution.
  • A selection that would exceed a configured spend ceiling must be blocked or flagged at selection time, not at run time.
  • If no configured model satisfies the task, say so explicitly rather than defaulting to one that will fail partway through.

Definition of done

8
  • Each AI task stores its own model choice rather than inheriting a single global default.
  • Only models capable of the task's output shape and tool requirements are offered for it.
  • Cost and data-processing differences are stated at the point of selection.
  • A deprecated or removed model resolves to a compatible substitute, with the substitution recorded and surfaced.
  • Provider-specific detail is hidden from ordinary users and reachable by administrators.
  • Changing a task's model leaves previously produced outputs and their attribution untouched.
  • The feature matches the existing design system.
  • No existing functionality is broken.

Related features

How it works

  1. 1

    Copy the link

    Grab the Markdown instruction URL for this feature.

  2. 2

    Give it to your AI

    Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.

  3. 3

    It inspects, then implements

    Your agent reads your existing app first, then adds the feature to fit it.

Works with your stack

These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.

Need it tighter than that? Customize the feature and tell it exactly what you're running.