Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(llm-cost): update

Gergő Móricz5515ca7a5291
diff --git a/apps/api/src/lib/extract/usage/llm-cost.ts b/apps/api/src/lib/extract/usage/llm-cost.ts
index 81e2d2f74..58ab53cde 100644
--- a/apps/api/src/lib/extract/usage/llm-cost.ts
+++ b/apps/api/src/lib/extract/usage/llm-cost.ts
@@ -8,7 +8,7 @@ interface ModelPricing {
input_cost_per_request?: number;
mode: string;
}
-const tokenPerCharacter = 4;
+const tokenPerCharacter = 0.5;
const baseTokenCost = 300;
export function calculateFinalResultCost(data: any): number {