Skip to content

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

fix(extract/fire-1): thinking tokens pricing

Gergő Móricz1a02ef56e6f9
diff --git a/apps/api/src/lib/extract/usage/llm-cost.ts b/apps/api/src/lib/extract/usage/llm-cost.ts
index acac70be0..46dde72f5 100644
--- a/apps/api/src/lib/extract/usage/llm-cost.ts
+++ b/apps/api/src/lib/extract/usage/llm-cost.ts
@@ -13,7 +13,7 @@ const tokenPerCharacter = 0.5;
const baseTokenCost = 300;
export function calculateThinkingCost(costTracking: CostTracking): number {
- return Math.ceil(costTracking.toJSON().totalCost * 267000);
+ return Math.ceil(costTracking.toJSON().totalCost * 20000);
}
export function calculateFinalResultCost(data: any): number {