Models

Conceptual

Model selection, routing and the reasoning-effort contract.

Pimsy routes each step to an appropriate model rather than running the whole task on one. Callers express intent — quality, latency, cost — rather than naming weights.

Routing profiles#

ProfileOptimizesTypical use
fastLatencyInteractive assistance, short transforms
balancedQuality per costDefault for most tasks
deepQualityAnalysis, architecture, ambiguous diagnosis
economyCostHigh-volume batch classification

Within a task, individual steps may route differently: extraction can run fast while the synthesis step runs deep. The trace records the routing decision for every step.

ts
await pimsy.tasks.create({
  objective: class="tok-str">"Classify class="tok-num">40,class="tok-num">000 support tickets, then write an executive summary of the themes.",
  models: {
    profile: class="tok-str">"economy",
    overrides: { synthesis: class="tok-str">"deep" }   // the summary gets the better model
  }
});

Last updated 2026-09-15