OpenProgram Docs

Fast tier

RouteOn the wireSupport comes from
OpenAI Responses and Completionsbody service_tierrow fast, then models.dev speed_modes
anthropic, Opus 4.6, 4.7, 4.8extra_body={"speed":"fast"} and anthropic-beta: fast-mode-2026-02-01, appended without clobbering other betasModel.fast, default table
xai, grok-4.6, https://api.x.ai/v1service_tierprovider and endpoint scoped declaration
all other wiresnothing leaves the processnone

Anthropic's 429 "Usage credits are required for fast mode" is an account problem and is shown as is. Not listed does not mean a provider lacks a fast tier. UI contract: Composer speed control.

Capability

providers/settings/fast.py fast_capability, shared by the agent-settings projection and dispatch; supports_fast is its boolean form.

  1. Row fast: false: unsupported
  2. Row fast: true: supported
  3. xAI declarations above
  4. models.dev speed_modes with priority or fast: supported
  5. Otherwise unknown

Model.fast: a row's fast wins; enabled_models.default_fast fills rows with none.

Storage

config.json, then registry, then supports_fast and dispatch.

LayerLocationPersistence
Spec rowconfig.jsonFetch adds, updates and retires; honors disables
Model.fast_build_model_from_rowmemory
models.devcatalog/sources/models_dev.pyremote, 1 h memory cache

Turn

MomentBehaviour
Connect, session, branch or model switch, each turn ack and settleloadAgentSettings() reads GET /api/agent_settings; chat.fast is recomputed; the composer re-renders, no reload
PreferencePer conversation branch; dispatch revalidates provider/model support. Standard overrides agent defaults
Sendservice_tier: "priority" only when enabled and supported; otherwise default
Dispatchresolve_service_tier revalidates the actual model
EvidenceUsage keeps requested and actual tier; per-call evidence saved with the message, shown in the usage footer after reload. Missing metadata is unconfirmed. xAI reported cost beats catalogue cost; no speed ratio is inferred.
Files and change guide
FileHolds
models/providers/types.pyModel.fast
providers/catalog/enabled_models.pydefault_fast, config-row backfill
adapters/anthropic/anthropic.pyClaude wire
listing/fetchers/__init__.pyPasses fast and thinking; enrich cannot overwrite
interfaces/server/routes/execution/runtime.pychat.fast
apps/web/components/chat/composer/index.tsxControl, send gate

Detection logic: fast_capability. Claude: default_fast. Other providers: works once models.dev knows it.

Thinking effort

Last updated · 2026-11-30