MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / creditsToFakeCost

Function creditsToFakeCost

web/src/llm-api/moonshot.ts:828–830  ·  view source on GitHub ↗
(credits: number)

Source from the content-addressed store, hash-verified

826}
827
828function creditsToFakeCost(credits: number): number {
829 return credits / ((1 + PROFIT_MARGIN) * 100)
830}

Callers 2

handleMoonshotNonStreamFunction · 0.70
handleLineFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected