/** * Built-in USD rates for Agim LLM SKUs and CLI agents. * * Stored as USD per 1k tokens (divide list prices that are quoted per 1M * by 1000). Admins can override in Settings → Pricing; these values are * the factory defaults, not a live scrape of vendor pages. * * DeepSeek V4 numbers match the official off-peak card * (https://api-docs.deepseek.com/quick_start/pricing). Vision-exp bills * at the same rate as flash. Other vendors and CLI agents use typical * published list prices for the family so a billable user is never * blocked with "no model price". */ export interface TokenPrice { costPer1kIn: number; costPer1kOut: number; } /** Convert a per-1M-token list price into the per-1k unit we store. */ export declare function usdPer1mToPer1k(usdPer1m: number): number; export declare function usdPer1kToPer1m(usdPer1k: number): number; /** Agim Agent / openai-compat model ids (exact match on `llmBackends.model`). */ export declare const LLM_PRICE_PRESETS: Record; /** * CLI adapters billed as a family (the subprocess does not always * expose a stable model id). One row per `AgentBase.name`. */ export declare const CLI_AGENT_PRICE_PRESETS: Record; /** Unknown CLI adapter — still billable so spawn is not blocked. */ export declare const CLI_AGENT_FALLBACK_PRICE: TokenPrice; //# sourceMappingURL=model-price-presets.d.ts.map