Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: raise transcription daily cost cap for subscribed users to $500

Louis Beaumont2f67a1041b9c
diff --git a/packages/ai-gateway/src/index.ts b/packages/ai-gateway/src/index.ts
index 3cf890179..67e0560a4 100644
--- a/packages/ai-gateway/src/index.ts
+++ b/packages/ai-gateway/src/index.ts
@@ -235,7 +235,7 @@ async function handleRequest(request: Request, env: Env, ctx: ExecutionContext):
// 2x safety margin: free=$10/day, subscribed=$50/day
const dailyCost = await getDailyUserCost(env, authResult.deviceId);
const baseCap = getMaxDailyCostPerUser(env);
- const maxCost = authResult.tier === 'subscribed' ? baseCap * 10 : baseCap * 2;
+ const maxCost = authResult.tier === 'subscribed' ? baseCap * 100 : baseCap * 2;
if (dailyCost >= maxCost) {
return addCorsHeaders(createErrorResponse(429, JSON.stringify({
error: 'daily_cost_limit_exceeded',