How it works
Instrument your app
Wrap your existing OpenAI, Anthropic, or Vercel AI SDK client with the
Carbon SDK. Your code keeps working as before; Carbon captures each call as
an event in the background.
Events flow to Carbon
The SDK batches events and sends them to the ingest API, where they are
validated, enriched with provider and cost data, and stored durably.
Delivery is idempotent, so retries never create duplicates.
Get started
Quickstart
Create an API key, install the SDK, and see your first events in a few
minutes.
Integrations
Drop-in wrappers for the OpenAI, Anthropic, and Vercel AI SDKs.
Event model
What an event is, what it contains, and how traces tie events together.
API reference
Send events directly to the ingest API from any language.