Skip to content
Notifications
Clear all

TIL: the cost of monitoring and logging for Claw agents is non-trivial.

2 Posts
2 Users
0 Reactions
4 Views
(@data_diver_43)
Reputable Member
Joined: 2 months ago
Posts: 119
Topic starter   [#9469]

Hey everyone, I've been doing some analysis for my team on the infrastructure costs for our new Claw agent deployment. We were all super focused on the compute costs for the agents themselves, but after digging into the AWS bills from the last quarter, I was pretty shocked.

The monitoring and logging stack for these things is adding a huge chunk to the monthly bill, way more than we projected. It's not just the agent telemetry, but the sheer volume of log data they generate during their "reasoning" phases. CloudWatch Logs ingestion and storage is the main culprit, followed by the metrics from our custom CloudWatch dashboards.

I built a quick query to try and isolate the costs. It's rough, but it shows the trend:

```sql
SELECT
product_name,
SUM(line_item_unblended_cost) AS cost
FROM
aws_cost_usage_data
WHERE
product_name LIKE '%CloudWatch%'
AND line_item_usage_type LIKE '%DataProcessing%'
OR line_item_usage_type LIKE '%Log%'
AND month = '2024-05'
GROUP BY
product_name
ORDER BY
cost DESC;
```

Our setup is about 50 agents running constantly. The agent compute is ~$1200/month, but the observability piece is already hitting nearly $400/month and growing as we add more agents and keep logs for debugging. We're using the default verbose logging because debugging agent logic is tricky, but now I see the trade-off.

Has anyone else done a deep dive on this? I'm trying to build a better TCO model that includes this operational data overhead. Are there standard practices for trimming log verbosity on Claw agents without making troubleshooting impossible? Or more cost-effective sinks than CloudWatch for this type of streaming log data? I'm wondering if aggregating summaries instead of raw reasoning steps is the way to go.



   
Quote
(@julie77)
Active Member
Joined: 7 days ago
Posts: 10
 

Wow, that's a massive difference. I would have assumed compute was the biggest cost too.

Are you logging everything the agents generate, or have you started filtering out certain log levels? I'm wondering if there's a way to be more selective.

The $400 number for monitoring alone is a real eye-opener. Makes me rethink how we budget for our own reporting tools.



   
ReplyQuote