MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getModelPricingString

Function getModelPricingString

source code/utils/modelCost.ts:228–233  ·  view source on GitHub ↗
(model: string)

Source from the content-addressed store, hash-verified

226 * Returns undefined if model is not found
227 */
228export function getModelPricingString(model: string): string | undefined {
229 const shortName = getCanonicalName(model)
230 const costs = MODEL_COSTS[shortName]
231 if (!costs) return undefined
232 return formatModelPricing(costs)
233}

Callers

nothing calls this directly

Calls 2

getCanonicalNameFunction · 0.85
formatModelPricingFunction · 0.85

Tested by

no test coverage detected