Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(signals): raise llm gateway cost limits for signals (#65532)

Joshua Snydercce297cf04c2
diff --git a/services/llm-gateway/src/llm_gateway/config.py b/services/llm-gateway/src/llm_gateway/config.py
index a55e1e659404..ae8e12d42487 100644
--- a/services/llm-gateway/src/llm_gateway/config.py
+++ b/services/llm-gateway/src/llm_gateway/config.py
@@ -30,7 +30,7 @@ DEFAULT_PRODUCT_COST_LIMITS: dict[str, "ProductCostLimit"] = {
"posthog_code": ProductCostLimit(limit_usd=5000.0, window_seconds=3600),
"background_agents": ProductCostLimit(limit_usd=1000.0, window_seconds=3600),
"django": ProductCostLimit(limit_usd=5000.0, window_seconds=86400),
- "signals": ProductCostLimit(limit_usd=5000.0, window_seconds=86400),
+ "signals": ProductCostLimit(limit_usd=25000.0, window_seconds=86400),
"posthog_ai": ProductCostLimit(limit_usd=5000.0, window_seconds=86400),
}
@@ -54,9 +54,9 @@ DEFAULT_USER_COST_LIMITS: dict[str, "UserCostLimit"] = {
sustained_window_seconds=2592000,
),
"signals": UserCostLimit(
- burst_limit_usd=500.0,
+ burst_limit_usd=2500.0,
burst_window_seconds=604800,
- sustained_limit_usd=1000.0,
+ sustained_limit_usd=10000.0,
sustained_window_seconds=2592000,
),
}