mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-14 16:15:57 +08:00
fix(llm-cost): update
This commit is contained in:
parent
524b9770cd
commit
5515ca7a52
@ -8,7 +8,7 @@ interface ModelPricing {
|
|||||||
input_cost_per_request?: number;
|
input_cost_per_request?: number;
|
||||||
mode: string;
|
mode: string;
|
||||||
}
|
}
|
||||||
const tokenPerCharacter = 4;
|
const tokenPerCharacter = 0.5;
|
||||||
const baseTokenCost = 300;
|
const baseTokenCost = 300;
|
||||||
|
|
||||||
export function calculateFinalResultCost(data: any): number {
|
export function calculateFinalResultCost(data: any): number {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user