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

Function getOpus46CostTier

src/utils/modelCost.ts:94–99  ·  view source on GitHub ↗
(fastMode: boolean)

Source from the content-addressed store, hash-verified

92 * Get the cost tier for Opus 4.6 based on fast mode.
93 */
94export function getOpus46CostTier(fastMode: boolean): ModelCosts {
95 if (isFastModeEnabled() && fastMode) {
96 return COST_TIER_30_150
97 }
98 return COST_TIER_5_25
99}
100
101// @[MODEL LAUNCH]: Add a pricing entry for the new model below.
102// Costs from https://platform.claude.com/docs/en/about-claude/pricing

Callers 4

getModelCostsFunction · 0.85
getOpus46PricingSuffixFunction · 0.85
FastModePickerFunction · 0.85
handleFastModeShortcutFunction · 0.85

Calls 1

isFastModeEnabledFunction · 0.85

Tested by

no test coverage detected