/** * Cost tracking. * * MiniMax doesn't expose an OpenRouter-style `/generation` endpoint for * authoritative cost lookup, so we compute cost locally from token * counts using the user-configured price per 1M tokens. Pricing is * intentionally user-overridable so the same package works as MiniMax * revises their rates. */ import type { CostSummary, Usage } from "./types.js"; export declare function computeCost(usage: Usage, priceInputPer1M: number, priceOutputPer1M: number): CostSummary; export declare function aggregateUsage(usages: Usage[]): Usage; export declare function aggregateCost(summaries: CostSummary[]): CostSummary; //# sourceMappingURL=cost.d.ts.map