MCPcopy Create free account
hub / github.com/Noumena-Network/code / getModelPricingString

Function getModelPricingString

src/utils/modelCost.ts:274–279  ·  view source on GitHub ↗
(model: string)

Source from the content-addressed store, hash-verified

272 * Returns undefined if model is not found
273 */
274export function getModelPricingString(model: string): string | undefined {
275 const shortName = getCanonicalName(model)
276 const costs = MODEL_COSTS[shortName]
277 if (!costs) return undefined
278 return formatModelPricing(costs)
279}

Callers

nothing calls this directly

Calls 2

getCanonicalNameFunction · 0.85
formatModelPricingFunction · 0.85

Tested by

no test coverage detected