// Excerpts, byte for byte, of droid 0.240.0 (@factory/cli-darwin-arm64@0.240.0,
// bin/droid): its fast-mode registry entries (each up to matchPatterns),
// the request code that sends an Anthropic fast model at speed fast with
// its beta, and the OpenAI request config its GPT fast models carry.
// The body's model is the entry's own id (model:_e, the picked id).
"claude-opus-4-6-fast":{id:"claude-opus-4-6-fast",newUntil:new Date("2000-01-01T00:00:00Z"),name:"Opus 4.6 Fast Mode",shortName:"Opus 4.6 Fast Mode",baseVariant:"claude-opus-4-6",provider:"anthropic",apiProviders:["anthropic"],apiProviderConfig:{snowflake:{modelId:"claude-opus-4-6"}},reasoningEffort:{supported:["off","low","medium","high","max"],default:"high"},tier:"premium",pdf:!0,contextLimits:b,thinking:(o)=>ne(o,{supportsDisabledThinking:!0}),anthropicFastMode:!0,deprecation:{date:"2026-06-29",hard:{fallbackModelId:"claude-opus-4-6"}},disabledForPilots:!0,cost:{tokenMultiplier:12},
"claude-opus-4-7-fast":{id:"claude-opus-4-7-fast",newUntil:new Date("2000-01-01T00:00:00Z"),name:"Opus 4.7 Fast Mode",shortName:"Opus 4.7 Fast Mode",baseVariant:"claude-opus-4-7",provider:"anthropic",apiProviders:["anthropic"],reasoningEffort:{supported:["off","low","medium","high","xhigh","max"],default:"high"},tier:"premium",pdf:!0,systemPromptReminders:ae,contextLimits:te({thinkingConsumesContext:!1,maxInputTokens:867000,maxOutputTokens:128000}),thinking:(o)=>ne(o,{display:"summarized",supportsDisabledThinking:!0}),anthropicFastMode:!0,deprecation:{date:"2026-07-24",hard:{fallbackModelId:"claude-opus-4-7"}},disabledForPilots:!0,cost:{tokenMultiplier:12},regionOverrides:{us:S},
"claude-opus-4-8-fast":{id:"claude-opus-4-8-fast",newUntil:new Date("2000-01-01T00:00:00Z"),name:"Opus 4.8 Fast Mode",shortName:"Opus 4.8 Fast Mode",baseVariant:"claude-opus-4-8",provider:"anthropic",apiProviders:["anthropic"],reasoningEffort:{supported:["off","low","medium","high","xhigh","max"],default:"high"},tier:"premium",pdf:!0,systemPromptReminders:ae,contextLimits:b,thinking:(o)=>U(o,!0),anthropicFastMode:!0,supportsMidConversationToolChanges:!0,disabledForPilots:!1,cost:{tokenMultiplier:4},
"claude-opus-5-fast":{id:"claude-opus-5-fast",name:"Opus 5 Fast Mode",shortName:"Opus 5 Fast Mode",baseVariant:"claude-opus-5",provider:"anthropic",apiProviders:["anthropic"],reasoningEffort:{supported:["off","low","medium","high","xhigh","max"],default:"high"},tier:"premium",pdf:!0,systemPromptReminders:["no-comments","plain-prose"],contextLimits:b,thinking:(o)=>U(o,!0),anthropicFastMode:!0,supportsMidConversationToolChanges:!0,disabledForPilots:!1,cost:{tokenMultiplier:4},
"claude-opus-5-5-fast":{id:"claude-opus-5-5-fast",name:"Opus 5.5 Fast Mode",shortName:"Opus 5.5 Fast Mode",baseVariant:"claude-opus-5-5",provider:"anthropic",apiProviders:["anthropic"],reasoningEffort:{supported:["low","medium","high","xhigh","max"],default:"medium"},tier:"premium",pdf:!0,systemPromptReminders:["no-comments","plain-prose"],contextLimits:ce,thinking:io,compactThroughLatestSignedThinking:!0,anthropicFastMode:!0,supportsMidConversationToolChanges:!0,disabledForPilots:!1,cost:{tokenMultiplier:3.2,cacheReadTokenMultiplier:0.05,outputTokenMultiplier:5},
"gpt-5.3-codex-fast":{id:"gpt-5.3-codex-fast",newUntil:new Date("2000-01-01T00:00:00Z"),name:"GPT-5.3-Codex Fast Mode",shortName:"GPT-5.3-Codex Fast",baseVariant:"gpt-5.3-codex",provider:"openai",apiProviders:["openai"],reasoningEffort:{supported:["low","medium","high","xhigh"],default:"medium"},tier:"standard",pdf:!0,compatibilityGroup:"gpt5-family",supportsVerbosity:!0,contextLimits:le,apiRequest:Ee,disabledForPilots:!1,cost:{tokenMultiplier:1.4,outputTokenMultiplier:8,promotions:[T]},regionOverrides:{us:S},
"gpt-5.4-fast":{id:"gpt-5.4-fast",newUntil:new Date("2000-01-01T00:00:00Z"),name:"GPT-5.4 Fast Mode",shortName:"GPT-5.4 Fast Mode",baseVariant:"gpt-5.4",provider:"openai",apiProviders:["openai","azure_openai"],routingConfig:g.GPT54,reasoningEffort:{supported:["low","medium","high","xhigh"],default:"medium"},tier:"standard",pdf:!0,compatibilityGroup:"gpt5-family",supportsVerbosity:!0,supportsMidConversationToolChanges:!0,contextLimits:M,apiRequest:Ee,disabledForPilots:!1,cost:{tokenMultiplier:2,outputTokenMultiplier:6,promotions:[T]},
"gpt-5.4-mini-fast":{id:"gpt-5.4-mini-fast",newUntil:new Date("2000-01-01T00:00:00Z"),name:"GPT-5.4 Mini Fast Mode",shortName:"GPT-5.4 Mini Fast Mode",baseVariant:"gpt-5.4-mini",provider:"openai",apiProviders:["openai","azure_openai"],routingConfig:g.GPT54_MINI,reasoningEffort:{supported:["low","medium","high","xhigh"],default:"high"},tier:"standard",pdf:!0,compatibilityGroup:"gpt5-family",supportsVerbosity:!0,supportsMidConversationToolChanges:!0,contextLimits:le,apiRequest:Ee,disabledForPilots:!1,cost:{tokenMultiplier:0.6,outputTokenMultiplier:6,promotions:[T]},
"gpt-5.5-fast":{id:"gpt-5.5-fast",newUntil:new Date("2000-01-01T00:00:00Z"),name:"GPT-5.5 Fast Mode",shortName:"GPT-5.5 Fast Mode",baseVariant:"gpt-5.5",provider:"openai",apiProviders:["openai","azure_openai"],routingConfig:g.GPT55,reasoningEffort:{supported:["low","medium","high","xhigh"],default:"medium"},tier:"premium",pdf:!0,compatibilityGroup:"gpt5-family",supportsVerbosity:!0,supportsMidConversationToolChanges:!0,contextLimits:M,apiRequest:Ee,disabledForPilots:!1,cost:{tokenMultiplier:5,outputTokenMultiplier:6,promotions:[T]},
"gpt-5.6-sol-fast":{id:"gpt-5.6-sol-fast",name:"GPT-5.6 Sol Fast Mode",shortName:"GPT-5.6 Sol Fast Mode",baseVariant:"gpt-5.6-sol",provider:"openai",apiProviders:["openai","azure_openai"],routingConfig:g.GPT56_SOL,reasoningEffort:{supported:["none","low","medium","high","xhigh","max"],default:"medium"},tier:"premium",pdf:!0,compatibilityGroup:"gpt5-family",supportsVerbosity:!0,supportsMidConversationToolChanges:!0,unreleased:!0,contextLimits:M,apiRequest:Ee,disabledForPilots:!1,cost:{tokenMultiplier:4,outputTokenMultiplier:5,promotions:[T,Pt]},
"glm-5.2-fast":{id:"glm-5.2-fast",name:"GLM-5.2 Fast",shortName:"GLM-5.2 Fast",baseVariant:"glm-5.2",provider:"factory",apiModelProvider:"generic-chat-completion-api",apiProviders:["baseten"],apiProviderConfig:{baseten:{...Se,modelId:"zai-org/GLM-5.2-Fast"}},routingConfig:g.GLM_5_2_FAST,reasoningEffort:{supported:["off","high","max"],default:"high"},chatCompletionRequest:V(),tier:"standard",billingPool:"core",featureFlag:J.Glm52Fast,images:!1,pdf:!1,contextLimits:P(524288,131072),disabledForPilots:!1,cost:{tokenMultiplier:0.84,outputTokenMultiplier:3.2},usesUSBasedInference:!0,newUntil:new Date("2026-07-07T00:00:00Z"),
"auto-fast":{id:"auto-fast",newUntil:new Date("2000-01-01T00:00:00Z"),kind:"router",name:mQ,shortName:mQ,baseVariant:"auto",provider:"factory",apiProviders:h,reasoningEffort:{supported:["none"],default:"none"},tier:"standard",featureFlag:J.FactoryRouterFast,pdf:!1,contextLimits:R({maxInputTokens:1e6,maxOutputTokens:64000}),disabledForPilots:!1,cost:{tokenMultiplier:1}}});function Ct(o){return Object.hasOwn(Fe,o)}var Lt="*",Hi=/^\d{8}$/;function Ot(o){return o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function wi(o){let t=o.split(/[.-]/);if(t.length>1&&Hi.test(t.at(-1)??""))t.pop();return t.map(Number)}function Ki(o,t){for(let a=0;a<Math.max(o.length,t.length);a++){let s=(t[a]??-1)-(o[a]??-1);if(s!==0)return s}return 0}function Bi(o){let[t,a,...s]=o.split(Lt);if(t===void 0||a===void 0||s.length>0)return[];let l=new RegExp(`^${Ot(t)}(\\d+(?:[.-]\\d+)*)${Ot(a)}$`),p=[];for(let _ of Object.values(On)){if(_.availableInCLI===!1)continue;if(_.unreleased||_.kind==="router")continue;let{id:c}=_,m=_.deprecation?.hard;if(m&&!m.featureFlag)continue;let I=l.exec(c)?.[1];if(I!==void 0)p.push({id:c,version:wi(I)})}return p.sort((_,c)=>Ki(_.version,c.version)).map((_)=>_.id)}function ht(o){return!o.startsWith("custom:")&&o.includes(Lt)}function Co(o){return Ct(o)||ht(o)}function qi(o){if(Ct(o))return Fe[o];if(ht(o))return Bi(o);return}function tu(o,t){return qi(o)?.find(t)}function wt(o){if(Co(o)
if(t?.anthropicFastMode){if(_.speed="fast",!f.betaFlags.includes("fast-mode-2026-02-01"))f.betaFlags=[...f.betaFlags,"fast-mode-2026-02-01"]}
Ee=C({parallelToolCalls:!0,extendedCache:!0,safetyId:!0,verbosity:"low",serviceTier:"priority"})
