Skip to content
All topics

Domain

Model selection and management

Choosing models for a task, pinning versions, handling deprecations and routing between models.

0 of 10 articles published. Topics are listed in reading order: each comes after the topics it builds on.

Choosing a model

Matching a model to a task's quality, latency, cost and hosting needs.

  1. Writing down a task's model requirementsComing soon

    Turning a feature into measurable needs: quality bar, latency, context size, languages, modalities, cost per request and data rules.

    Fundamentals · Beginner

  2. Evaluating candidate models on your own taskComing soon

    Building a small task-specific test set and scoring candidates on it, instead of trusting public leaderboards alone.

    Implementation · Advanced

  3. Quality, latency and cost trade-offs between modelsComing soon

    Why the largest model is rarely the right default, and how to find the cheapest model that clears the quality bar.

    Comparison · Intermediate

  4. Open-weight models or hosted APIsComing soon

    What self-hosting open-weight models buys (control, data locality) and what it costs (GPUs, operations, upgrades).

    Comparison · Advanced

Model lifecycle management

Living with models that change, improve and get retired.

  1. Pinning model versionsComing soon

    Why production code should name an exact model version, and what moving aliases do to reproducibility.

    Configuration · Intermediate

  2. Handling model deprecations and retirementsComing soon

    Tracking provider retirement dates, inventorying where each model is used, and planning migrations before the deadline.

    Operations · Advanced

  3. Testing a model upgrade before switchingComing soon

    Running the evaluation suite and a shadow or canary comparison so a model change does not silently lower quality.

    Operations · Production

Model routing

Sending each request to the model that should handle it.

  1. Routing requests between modelsComing soon

    Choosing a model per request by task type, difficulty, tenant plan or budget, and keeping routing rules testable.

    Architecture · Advanced

  2. Model cascades: try small, escalate when neededComing soon

    Answering with a cheap model first and escalating on low confidence or failed checks, and the latency this adds.

    Advanced engineering · Production

  3. Measuring whether routing helpsComing soon

    Comparing routed traffic against a single-model baseline on quality, cost and latency, per route.

    Operations · Production