/**
 * TokenCostModel
 *
 * Pricing table for all supported LLM providers and models.
 * Prices are in USD per 1,000,000 tokens (consistent unit).
 *
 * Sources:
 *  - Gemini 3.1: https://ai.google.dev/pricing (March 2026)
 *  - Gemini 2.x: https://ai.google.dev/pricing
 *  - GitHub Models: $0.00001/token flat (all models, as of March 2026)
 *  - OpenRouter: varies by model — use gemini-2.5-flash defaults as fallback
 */
export interface ModelPricing {
    /** USD per 1M input tokens (prompts ≤ 200k tokens) */
    inputPricePerMToken: number;
    /** USD per 1M input tokens (prompts > 200k tokens) — same as inputPrice if no tier */
    inputPricePerMTokenLarge?: number;
    /** USD per 1M output tokens (prompts ≤ 200k tokens) */
    outputPricePerMToken: number;
    /** USD per 1M output tokens (prompts > 200k tokens) — same as outputPrice if no tier */
    outputPricePerMTokenLarge?: number;
}
export declare const MODEL_PRICING: Record<string, ModelPricing>;
/**
 * Calculate cost in USD for a single LLM call.
 *
 * @param modelName  The model string returned by the client (used as lookup key)
 * @param inputTokens  Number of prompt/input tokens
 * @param outputTokens  Number of completion/output tokens
 * @returns cost in USD
 */
export declare function calculateCostUSD(modelName: string, inputTokens: number, outputTokens: number): number;
/**
 * Format a USD cost for display, e.g. "$0.000743" or "<$0.00001"
 */
export declare function formatCostUSD(costUSD: number): string;
//# sourceMappingURL=TokenCostModel.d.ts.map