OpenProgram Docs

Fast tier

RouteOn the wireSupport comes from
openai-codexbody service_tier: "priority"the account catalogue's service_tiers
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
xai-subscription, grok-4.6service_tierdeclared; other models unknown
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. openai-codex: Model.fast from the account catalogue
  3. Row fast: true: supported
  4. xAI declarations above
  5. models.dev speed_modes with priority or fast: supported
  6. Otherwise unknown

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

Codex source

GET https://chatgpt.com/backend-api/codex/models?client_version=<ver>, with the subscription bearer and chatgpt-account-id.

FieldGives
service_tiers with id:"priority"Fast tier
supported_reasoning_levelsThinking picker
context_windowThe real subscription value

Requests and dispatch use originator: codex_cli_rs and version: the backend greylists ids such as gpt-5.6-luna by client, so another originator sees the model and then gets 404. models.dev tracks the API platform, not this front door.

Storage

Official endpoint, then normalise, then last-known-good cache and config.json, then registry, then supports_fast and dispatch.

LayerLocationPersistence
Official endpoint, CLI cacheopenai_codex/list_models.pylive first; ~/.codex/models_cache.json is a stale display fallback
Subscription cataloguecatalog/subscription_catalog.pyatomic last-known-good; after login and periodically
Spec rowconfig.jsonofficial refresh adds, updates and retires; honors disables
Model.fast_build_model_from_rowmemory
models.devcatalog/sources/models_dev.pyremote, 1 h memory cache

CLI cache rows carry an error, so they never add or delete configured models.

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/openai_codex/{openai_codex,catalog}.pyPassthrough, client identity
adapters/anthropic/anthropic.pyClaude wire
adapters/openai_codex/list_models.pyOfficial fetch
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

Codex models need only a Fetch. Detection logic: fast_capability. Claude: default_fast. Other providers: works once models.dev knows it.

Thinking effort

Last updated · 2026-11-25