# How many LangSmith ingest "events" does one agent call use? (7 Nov 2026, IST)

LangSmith's plan-level hourly limit counts **events**, which its usage-and-billing docs define as "the creation or update of a run" (a run created and then updated in the same hour counts as 2). We wanted to know how many events one ordinary agent call uses, so we traced the same agent-like function as our 28 Oct test (one top-level `agent()` making 3 tool calls and 3 stub "LLM" calls = 7 runs) with the LangSmith Python SDK and sent it to a **local capture server** (`capture_server.py`) instead of LangSmith. No account, dummy key, no model calls, no spend.

Box: Linux, Python 3.13.5, fresh venv, **langsmith 0.14.17** (PyPI 2 Nov 2026). Run 7 Nov 2026 ~11:20 IST, one run per scenario. `run.sh` reproduces it; `count_events.py` counts `post.<run id>` (run create) and `patch.<run id>` (run update) parts in the captured `/runs/multipart` requests.

| Scenario | Agent calls | Each step takes | Requests | Run creates | Run updates | Events | Events per agent call | Request bytes |
|---|---|---|---|---|---|---|---|---|
| fast-1 | 1 | ~0 s | 1 | 7 | 0 | 7 | 7 | 13,436 |
| fast-10 | 10 | ~0 s | 2 | 70 | 2 | 72 | 7.2 | 137,153 |
| slow-1 | 1 | 0.5 s (sleep) | 7 | 7 | 7 | 14 | 14 | 24,739 |
| slow-3 | 3 | 0.5 s (sleep) | 19 | 21 | 21 | 42 | 14 | 74,141 |

What we saw: when a run finished before the SDK's background batch was sent, the SDK sent it once (create with end time), so 1 event per run. When steps took 0.5 s, every run was sent twice (create at start, update at end), so 2 events per run: **14 events for one 7-step agent call**. Real LLM and tool calls usually take longer than 0.5 s, so plan on 2 events per run.

Our arithmetic on LangSmith's published hourly event limits (docs read 7 Nov 2026), at 14 events per agent call: Developer without a payment method 50,000 events/hour = about 3,571 such calls an hour; Developer with a payment method 250,000 = about 17,857; Startup/Plus 500,000 = about 35,714. A 20-step agent (40 events) gets about 12,500 calls an hour on Plus.

## Same agent with Langfuse (langfuse 5.2.0, PyPI 5 Nov 2026)

`lf_events.py` is the same 7-step agent with Langfuse's `@observe`; the SDK sent OTLP protobuf to `/api/public/otel/v1/traces` on the sink (`count_lf.py` decodes it; counts-langfuse.txt):

| Scenario | OTLP requests | Spans | Traces | Request bytes |
|---|---|---|---|---|
| fast-1 | 1 | 7 | 1 | 1,938 |
| fast-10 | 1 | 70 | 10 | 16,898 |
| slow-1 (0.5 s steps) | 1 | 7 | 1 | 1,938 |
| slow-3 (0.5 s steps) | 2 | 21 | 3 | 5,538 |

Langfuse's pricing page counts ingestion throughput in requests per minute (1,000 Hobby, 4,000 Core, 20,000 Pro, read 7 Nov 2026), and spans were sent once, after they ended, in batches. Used on /compare/langfuse-vs-langsmith#ingest-headroom.

Caveats: request bytes are what the SDK put on the wire (multipart, uncompressed in this run because our sink did not advertise compression), not the inputs/outputs/metadata bytes LangSmith counts for its hourly data limit. One machine, one run each, this SDK version and its default batching. We did not hit a real LangSmith limit. Sources: https://docs.langchain.com/langsmith/usage-and-billing (rate limits), https://docs.langchain.com/langsmith/changelog (26 Oct-2 Nov 2026 entry on default ingest limits).

Files: capture_server.py (from the 28 Oct test), ls_events.py, lf_events.py, count_events.py, count_lf.py, run.sh, counts.txt, counts-langfuse.txt, req-*.jsonl and lf-*.jsonl (raw captured requests; stub inputs only, dummy keys).
