# telemetry.dev > LLM observability for AI agents and applications, built on OpenTelemetry. Trace instrumented model calls, tool steps, and retrievals. Inspect reported token usage, cost, latency, and errors. Connect through first-party TypeScript or Python SDKs, provider and framework integrations, or an existing OTLP/HTTP exporter. Use this index to find machine-readable pages. Add `.md` to a public page's path for its Markdown form, such as `https://telemetry.dev/docs/integrations/openai.md` or `https://telemetry.dev/docs/quickstart.md`. For the documentation homepage, use [docs/index.md](https://telemetry.dev/docs/index.md). Product pages outside `/docs` also answer `Accept: text/markdown`; documentation pages under `/docs` return HTML for that header, so use the `.md` URL there. ## How agents should use telemetry.dev - For research, follow the `.md` links below. Each markdown page links onward with `.md` URLs. - For setup instructions, SDK APIs, and the ingest contract, start from the [documentation index](https://telemetry.dev/docs/llms.txt). The whole documentation set is in [docs/llms-full.txt](https://telemetry.dev/docs/llms-full.txt). - For all public product pages in one request, fetch [llms-full.txt](https://telemetry.dev/llms-full.txt). - For the telemetry.dev API, read the [OTLP ingest reference](https://telemetry.dev/docs/reference/otlp.md), the [API key guide](https://telemetry.dev/docs/platform/api-keys.md), and the [OpenAPI description](https://telemetry.dev/openapi.json) before sending data. - Paths under `/o/`, `/login`, `/signup`, and `/dashboard` are the interactive app and need a browser session. ## Product capabilities - **AI trace inspection:** View an instrumented request or agent run as a span hierarchy. Inspect model inputs and outputs, tool arguments and results, retrievals, errors, timing, and per-span attributes when the source instrumentation emits them. - **Search and filtering:** Search traces or individual spans and filter by status, environment, framework, user, or conversation. - **Usage dashboards:** Track requests, cost, p95 latency, input and output tokens, error rate, and OpenTelemetry metric series over 7-, 30-, or 90-day windows. Break down usage by model, provider, environment, user, or framework. - **Token and cost accounting:** Record input, output, cache-read, cache-write, and reasoning tokens when reported by the provider or instrumentation. telemetry.dev calculates cost at ingest from reported token usage and its model-pricing catalog. Cache-read and cache-write tokens use separate rates when available. Reasoning tokens are not charged separately. An explicit span cost takes precedence. Without matching model pricing or token usage, computed cost is unavailable. - **Streaming measurements:** Record end-to-end latency and time to first token when the integration exposes streaming timing. - **Correlated signals:** Store OTLP traces, logs, and metrics in the same project. Logs can carry trace and span context, and user IDs, conversation IDs, environments, and custom metadata can be propagated across a run. - **OpenTelemetry normalization:** Understand standard `gen_ai.*` semantic-convention attributes and normalize supported provider and framework telemetry into consistent model, provider, token, cost, and operation fields. - **Privacy controls:** Capture is on by default, and you can disable it per environment before storage. The switch drops recognized prompt, response, and tool-payload fields. It does not stop transmission to ingest or remove arbitrary content from logs, errors, or custom attributes. Built-in and project-specific redaction patterns apply, but pattern matching cannot catch all sensitive data. To prevent transmission, remove sensitive content in your instrumentation before export. Capture settings cover telemetry only, not experiment outputs, dataset items, or saved prompt versions. - **Evals:** The Evals tab of a project keeps datasets, runs experiments on them, and scores traces with LLM judges, code checks, rules, and reviewers. Eval runs of the AI SDK and TanStack AI arrive as traces with their cost and errors. - **Portable ingest:** Accept standard OTLP/HTTP as binary protobuf or OTLP/JSON from any language, OpenTelemetry SDK, or collector. Applications can use telemetry.dev SDKs, attach a telemetry.dev span processor to an existing OpenTelemetry provider, or configure an existing exporter. ## Integration coverage Each integration of the [integration directory](https://telemetry.dev/docs/integrations.md), with the languages or the form that it takes. ### Model providers You call a provider SDK, such as openai or @anthropic-ai/sdk. - [OpenAI](https://telemetry.dev/docs/integrations/openai.md): TypeScript · Python - [Anthropic](https://telemetry.dev/docs/integrations/anthropic.md): TypeScript · Python - [Claude SDK](https://telemetry.dev/docs/integrations/claude-sdk.md): TypeScript · Python - [Claude Platform](https://telemetry.dev/docs/integrations/claude-platform.md): No code - [Google Gen AI](https://telemetry.dev/docs/integrations/google-genai.md): TypeScript · Python - [Amazon Bedrock](https://telemetry.dev/docs/integrations/bedrock.md): TypeScript · Python - [OpenRouter](https://telemetry.dev/docs/integrations/openrouter.md): TypeScript · Python - [LiteLLM](https://telemetry.dev/docs/integrations/litellm.md): Python ### Frameworks A framework runs your model calls and tools. - [Vercel AI SDK](https://telemetry.dev/docs/integrations/vercel-ai-sdk.md): TypeScript - [TanStack AI](https://telemetry.dev/docs/integrations/tanstack-ai.md): TypeScript - [LangChain and LangGraph](https://telemetry.dev/docs/integrations/langchain-langgraph.md): TypeScript · Python - [CrewAI](https://telemetry.dev/docs/integrations/crewai.md): Python - [Pydantic AI](https://telemetry.dev/docs/integrations/pydantic-ai.md): Python - [Eve](https://telemetry.dev/docs/integrations/eve.md): TypeScript - [Model Context Protocol](https://telemetry.dev/docs/integrations/mcp.md): TypeScript ### Coding agents Trace the agent you code with on your machine. - [Claude Code](https://telemetry.dev/docs/integrations/claude-code.md): Settings file - [Cursor](https://telemetry.dev/docs/integrations/cursor.md): Hooks - [opencode](https://telemetry.dev/docs/integrations/opencode.md): Plugin - [OpenClaw](https://telemetry.dev/docs/integrations/openclaw.md): Plugin - [Hermes Agent](https://telemetry.dev/docs/integrations/hermes-agent.md): Community plugin - [Oh My Pi](https://telemetry.dev/docs/integrations/omp.md): Package - [Pi](https://telemetry.dev/docs/integrations/pi.md): Package ### SDKs and OpenTelemetry Record spans yourself, or send from an OpenTelemetry exporter you already have. - [TypeScript SDK](https://telemetry.dev/docs/sdk/typescript.md): Node, Edge, Workers - [Python SDK](https://telemetry.dev/docs/sdk/python.md): Sync and async - [OpenTelemetry](https://telemetry.dev/docs/sdk/opentelemetry.md): Any language The TypeScript SDK (`@telemetry-dev/sdk`) runs on Node >= 20.19 and supported edge runtimes, and the Python SDK (`telemetry-dev`) on Python >= 3.10. `@telemetry-dev/otel` provides a span processor and OTLP/protobuf trace exporter for applications that already configure their own OpenTelemetry provider. Any system that exports OTLP/HTTP as protobuf or JSON can send traces, logs, and metrics without a telemetry.dev SDK. The [Claude SDK](https://telemetry.dev/docs/integrations/claude-sdk.md) sends its native spans through `@telemetry-dev/otel` or an OTLP exporter. The [Claude Platform](https://telemetry.dev/docs/integrations/claude-platform.md) sends its server spans to telemetry.dev as a Claude Console OpenTelemetry destination. When the two sources send a request's spans to the same project, telemetry.dev counts the token usage of that request one time. It matches the SDK span and the API span by request ID or response ID, so the API span does not have to be a child of the SDK span. Integration behavior varies by source. The individual guides document supported methods, streaming behavior, content capture, token fields, tool spans, and known limitations. ## Ingest and authentication - Base endpoint: `https://api.telemetry.dev` (`https://ingest.telemetry.dev`, its earlier name, stays supported) - Traces: `POST /v1/traces` - Logs: `POST /v1/logs` - Metrics: `POST /v1/metrics` - Prompts: `GET /v1/prompts?name=` with an optional `label` or `version` (the SDKs call it from `getPrompt` and `get_prompt`) - Datasets: `GET /v1/datasets/{name}` gives the items of a dataset version, a page at a time - Experiments that run in your code: `POST /v1/experiments`, then `POST /v1/experiments/{id}/items` with the outputs and `POST /v1/experiments/{id}/complete`; `GET /v1/experiments/{id}` gives the result - Scores: `POST /v1/scores` records a score on a trace, a span, or a session, such as the feedback of a user - Health: `GET /health` - Authentication: `Authorization: Bearer ` - API keys use the `td_live_...` prefix and can be scoped to one environment or all environments in a project. - A key sends telemetry only when its Access has Send telemetry (the `telemetry:write` scope). Without it, ingest answers 403 with the message `This API key cannot send telemetry. Create a key with Send telemetry access.` - A key fetches prompts only when its Access has Read prompts (the `prompts:read` scope). Without it, `GET /v1/prompts` answers 403 with the error code `insufficient_scope`. - A key reads datasets, runs experiments, and sends scores only when its Access has Run experiments (the `datasets:read`, `experiments:write`, and `scores:write` scopes). Without it, the dataset, experiment, and score routes answer 403 with the error code `insufficient_scope`. - Full request and error contract: https://telemetry.dev/openapi.json A basic setup uses a project API key and a telemetry.dev integration or an OTLP/HTTP exporter. The [integration directory](https://telemetry.dev/docs/integrations.md) links to provider, framework, coding-agent, SDK, and OpenTelemetry instructions. Run an instrumented request, then flush the exporter before your process exits. Open the trace in your project to inspect its spans and reported usage. ## Hosting and product scope - telemetry.dev is a hosted service; self-hosted storage is not currently offered. - It is designed for applications that call models or run AI agents, rather than as a general-purpose replacement for all application performance monitoring. - The detail available in a trace depends on what the selected SDK, framework, provider, or OpenTelemetry instrumentation emits and on the project's content-capture settings. - OpenTelemetry is the transport and data foundation, so an existing OTel setup can be retained and exporters can be repointed without changing application-level instrumentation. ## Plans - **Free:** $0 per month. 30k ingestion units / month, 14-day retention, 1 project, 2 seats. - **Pro:** $25 per month. 500k ingestion units / month, 30-day retention, 5 projects, 5 seats. - **Team:** $50 per month. 2M ingestion units / month, 90-day retention, Unlimited projects, Unlimited seats, Priority support. Prices are per workspace, per month. The Free plan needs no credit card. Each span, log record, metric data point, or Evals write uses one ingestion unit. An Evals write is an experiment, an item run, or a score that you send through the API. An item run uses one more unit for each full 64 KiB of its output. Logs derived from span events and metric updates applied to existing spans do not add units. Free includes 30,000 ingestion units per month, with 20% headroom. We reject an ingestion request if accepting it would bring your workspace's monthly total above 36,000 units. Usage resets at 00:00 UTC on the first day of each calendar month, independently of the billing date. Pro and Team ingestion continues above the included amounts, with no automatic overage charges. If usage consistently exceeds the allowance, we'll contact the customer to discuss a suitable plan. Current pricing and quota details are at https://telemetry.dev/pricing.md. ## Documentation - [Documentation index](https://telemetry.dev/docs/llms.txt): Every documentation page with a summary. Each page has a `.md` form, and [docs/llms-full.txt](https://telemetry.dev/docs/llms-full.txt) holds the whole set. - [Quickstart](https://telemetry.dev/docs/quickstart.md): Send a first trace with TypeScript or Python in five minutes. - [Integration index](https://telemetry.dev/docs/integrations.md): Every supported SDK, framework, provider, coding agent, and OpenTelemetry setup guide. - [TypeScript SDK](https://telemetry.dev/docs/sdk/typescript.md), [Python SDK](https://telemetry.dev/docs/sdk/python.md), and [OpenTelemetry](https://telemetry.dev/docs/sdk/opentelemetry.md): SDK references and how to connect an existing provider. - [OTLP ingest API](https://telemetry.dev/docs/reference/otlp.md), [span attributes](https://telemetry.dev/docs/reference/span-attributes.md), and [cost calculation](https://telemetry.dev/docs/reference/cost.md): The ingest contract, recognized attributes, and how token usage becomes cost. - [Full site content](https://telemetry.dev/llms-full.txt): All public product and legal pages in one file. ## API and developer resources - [OpenAPI specification](https://telemetry.dev/openapi.json): Machine-readable OpenAPI 3.1 description of the telemetry.dev API. - [TypeScript SDK on npm](https://www.npmjs.com/package/@telemetry-dev/sdk) - [OpenTelemetry span processor on npm](https://www.npmjs.com/package/@telemetry-dev/otel) - [Python SDK on PyPI](https://pypi.org/project/telemetry-dev/) - [Machine-readable pricing](https://telemetry.dev/pricing.md): Plans, limits, and quotas. - [Sitemap](https://telemetry.dev/sitemap.xml) - [Support](mailto:support@telemetry.dev) ## Site pages - [LLM Observability & Telemetry for AI Agents](https://telemetry.dev/index.md): Trace LLM calls and AI agents with OpenTelemetry. Inspect token usage, cost, latency, and errors with TypeScript, Python, or an existing OTLP integration. - [AI and LLM observability pricing](https://telemetry.dev/pricing.md): LLM observability pricing: Free includes 30k ingestion units and 14-day retention. Pro is $25/month with 500k units. Team is $50/month with 2 million units. - [Contact](https://telemetry.dev/contact.md): Reach the telemetry.dev team: support@telemetry.dev for product questions, integration help, billing, and security reports. - [LLM observability features](https://telemetry.dev/features.md): Tracing, cost tracking, MCP analytics, alerts, prompt management, and eval tracing for AI agents and LLM applications. - [LLM cost tracking and AI cost observability](https://telemetry.dev/features/cost.md): telemetry.dev prices each model call at ingest from its token usage. See LLM cost by model, provider, user, trace, and session, with budget alerts. - [MCP analytics: trace MCP clients and servers](https://telemetry.dev/features/mcp.md): Each MCP request becomes a span with its method, tool, session, and protocol version, so MCP traffic sits in the trace next to your model calls. - [Alerts for AI cost and errors](https://telemetry.dev/features/alerts.md): Email alerts for AI cost, budgets, agent loops, and model or tool errors, checked every 5 minutes against the history of your project. - [Prompt management with versions and rollouts](https://telemetry.dev/features/prompts.md): Keep prompts in telemetry.dev with versions and labels. Move a label to ship a new version to your code without a deploy. - [Eval tracing for the AI SDK and TanStack AI](https://telemetry.dev/features/evals.md): An eval run is a trace: the evaluate span, the model calls under it, and their tokens, cost, and errors. - [Alternatives](https://telemetry.dev/alternatives.md): How telemetry.dev compares with LangSmith and Langfuse - [Langfuse alternative for traces, logs, and metrics](https://telemetry.dev/alternatives/langfuse.md): telemetry.dev and Langfuse compared on price, usage units, data access, OpenTelemetry support, and self-hosting, with facts checked on October 15, 2026. - [LangSmith alternative built on OpenTelemetry](https://telemetry.dev/alternatives/langsmith.md): telemetry.dev and LangSmith compared on price, seats, trace retention, OpenTelemetry support, and evaluation, with facts checked on October 15, 2026. - [Blog](https://telemetry.dev/blog.md): Guides from the telemetry.dev team on tracing and debugging AI agents in production. - [Data Processing Agreement](https://telemetry.dev/dpa.md): How telemetry.dev processes personal data in customer telemetry, including redaction, retention, security, transfers, and audit rights. - [Privacy Policy](https://telemetry.dev/privacy.md): How telemetry.dev collects, uses, and retains account data, including cookies, billing details, and your privacy rights. - [Sub-processors](https://telemetry.dev/subprocessors.md): The companies that handle customer telemetry, account data, and enquiries for telemetry.dev, their roles, and their data locations. - [Terms of Service](https://telemetry.dev/terms.md): Terms for telemetry.dev accounts, plans, payments, data, APIs, and SDKs, including service limits, cancellation, and liability. ## Blog posts - [LLM Cost Monitoring: Account for Cached Tokens](https://telemetry.dev/blog/llm-cost-monitoring-account-for-cached-tokens.md): How to handle cached tokens in LLM cost monitoring: OpenAI and Gemini count cache hits inside input, Anthropic reports them separately. Normalize before pricing. - [LLM Cost Monitoring: Avoid Double Counting Gateway Spans](https://telemetry.dev/blog/llm-cost-monitoring-avoid-double-counting-gateway-spans.md): Span-summed token totals higher than your invoice? Pick one accounting layer, count billable attempts instead of spans, and run an offline check on your gateway traces. - [Streaming LLM Observability: Trace Completion and Aborts](https://telemetry.dev/blog/streaming-llm-observability-trace-completion-and-aborts.md): Instrument a streamed LLM response with plain OpenTelemetry: first meaningful output, last output, and completed, cancelled or failed end states. - [LLM Tracing: Separate Retrieval From Generation](https://telemetry.dev/blog/llm-tracing-separate-retrieval-from-generation.md): LLM tracing retrieval guide: instrument a RAG request as three sibling spans in Python so you can tell vector store time from reranker and model-call time. - [LLM Trace Sampling: Diagnose Missing Runs](https://telemetry.dev/blog/llm-trace-sampling-diagnose-missing-runs.md): Agent runs or child spans missing from your traces? Learn how LLM trace sampling, parent-based decisions, tail sampling and exporters each drop data, and how to find which. - [Generative AI Monitoring: Trace Queued Agent Jobs](https://telemetry.dev/blog/generative-ai-monitoring-trace-queued-agent-jobs.md): Generative AI monitoring breaks at the queue. Learn to carry trace context from enqueue to worker, measure queue wait, and choose parent vs span links for retries. - [LLM Tracing: Fix Async Parent and Child Span Links](https://telemetry.dev/blog/llm-tracing-fix-async-parent-and-child-span-links.md): LLM tracing breaks in async code when spans are created but never made active. Fix orphaned, flat and cross-request spans in JavaScript and Python, then assert it. - [OpenTelemetry LLM Observability: Verify Exported Spans](https://telemetry.dev/blog/opentelemetry-llm-observability-verify-exported-spans.md): Prove your OpenTelemetry LLM observability setup works: send one synthetic model call and tool step through a Collector debug exporter, then confirm backend ingestion. - [AI Agent Monitoring: Measure Run Success and Latency](https://telemetry.dev/blog/ai-agent-monitoring-measure-run-success-and-latency.md): AI agent monitoring starts with run-level success rate and p50/p95 duration. Define success in your app, pick denominators, then drill into traces to find the slow step. - [AI API Middleware: Trace App and Provider Boundaries](https://telemetry.dev/blog/ai-api-middleware-trace-app-and-provider-boundaries.md): AI API middleware explained for small TypeScript and Python teams: how it differs from an AI gateway and an observability backend, and how to trace each boundary. - [Agent Telemetry: Trace Retries and Tool Failures](https://telemetry.dev/blog/agent-telemetry-trace-retries-and-tool-failures.md): Agent telemetry for production AI agents: an OpenTelemetry span hierarchy that separates a failed attempt from a failed run, with a retry wrapper example. - [AI Cost Observability: Trace Spend to Agent Runs](https://telemetry.dev/blog/ai-cost-observability-trace-spend-to-agent-runs.md): AI cost observability for small teams: join reported token usage to traced calls and agent runs, and keep tokens, estimated cost and invoice as separate numbers. - [LiteLLM Tracing: Correlate App and Gateway Requests](https://telemetry.dev/blog/litellm-tracing-correlate-app-and-gateway-requests.md): LiteLLM tracing guide: propagate W3C traceparent so your app and LiteLLM proxy spans share one trace, then verify with trace IDs and parent span links. - [OpenTelemetry GenAI Prompt Capture: Inspect Before Export](https://telemetry.dev/blog/opentelemetry-genai-prompt-capture-inspect-before-export.md): OpenTelemetry GenAI prompt capture should be verified locally. Send synthetic prompts through a console exporter, read what lands on spans, and filter before export. - [Claude Code Token Usage: Diagnose Missing Metrics](https://telemetry.dev/blog/claude-code-token-usage-diagnose-missing-metrics.md): Claude Code token usage chart empty or flat? Work through five ordered checks to tell a broken telemetry pipeline from a real zero or a bad query. - [Bedrock Streaming Token Usage: Handle Incomplete Streams](https://telemetry.dev/blog/bedrock-streaming-token-usage-handle-incomplete-streams.md): Bedrock streaming token usage arrives in the final ConverseStream metadata event. Learn what a cancelled or dropped stream loses and how to record it honestly. - [OpenTelemetry Collector Environment Variables for Auth](https://telemetry.dev/blog/opentelemetry-collector-environment-variables-for-auth.md): How to use ${env:VAR} in OpenTelemetry Collector environment variables to pass an API token to an OTLP/HTTP backend, plus 401/403 debugging without leaking secrets. - [How to Trace Vercel AI SDK Calls with OpenTelemetry](https://telemetry.dev/blog/guides/how-to-trace-vercel-ai-sdk-calls-with-opentelemetry.md): Vercel AI SDK tracing from zero: register an OpenTelemetry provider, export OTLP/HTTP to telemetry.dev, and read model, tool, token and error spans. - [How to debug slow AI agents with OpenTelemetry](https://telemetry.dev/blog/posts/debug-slow-ai-agents.md): Debug slow AI agents with an OpenTelemetry trace. Tell model latency, tool timeouts, and retrieval delays apart, and find the step to fix first.