MCPcopy
hub / github.com/codeaashu/claude-code / getMaxSonnet46_1MOption

Function getMaxSonnet46_1MOption

src/utils/model/modelOptions.ts:219–227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

217}
218
219export function getMaxSonnet46_1MOption(): ModelOption {
220 const is3P = getAPIProvider() !== 'firstParty'
221 const billingInfo = isClaudeAISubscriber() ? ' · Billed as extra usage' : ''
222 return {
223 value: 'sonnet[1m]',
224 label: 'Sonnet (1M context)',
225 description: `Sonnet 4.6 with 1M context${billingInfo}${is3P ? '' : ` · ${formatModelPricing(COST_TIER_3_15)}`}`,
226 }
227}
228
229export function getMaxOpus46_1MOption(fastMode = false): ModelOption {
230 const billingInfo = isClaudeAISubscriber() ? ' · Billed as extra usage' : ''

Callers 1

getModelOptionsBaseFunction · 0.85

Calls 3

getAPIProviderFunction · 0.85
formatModelPricingFunction · 0.85
isClaudeAISubscriberFunction · 0.50

Tested by

no test coverage detected