LLM observability

See what your app's model calls cost, how slow they are and which business flow they serve, from the OpenTelemetry data you may already send.

A model call inside a checkout or a support flow is a step like any other. Flowhawk measures it next to the rest of the request: its model, tokens, cost and latency, by flow and step.

What you get

  • The AI page: calls, tokens, cost and latency by model, flow and step, leading with what changed against the period before (calls failing, cost up and the steps behind it, a new model in use).
  • Agent runs: requests where a model called tools or was called several times, opened step by step with each model call, tool call and hand-off, its time, tokens and cost. A run leads with what stands out, such as a tool called three times with the same input.
  • Prompts and completions are not kept unless you turn that on for a flow.

Send model calls

Any of these works. You don't need a Flowhawk SDK call:

  • OpenTelemetry gen_ai spans, from any instrumentation that follows the semantic conventions.
  • OpenLLMetry, which instruments OpenAI, Anthropic, Bedrock, LangChain, LlamaIndex and more in Python and TypeScript.
  • The Vercel AI SDK, with experimental_telemetry: { isEnabled: true } on its calls and OpenTelemetry registered (Next.js).
  • The Flowhawk SDKs' helper: traceLlm in Node.js, trace_llm in Python and Rust, TraceLLM in Go.

First create an ingest key: in the app, open Settings > API keys and pick Services. In the examples below, KEY stands for that key. Keep it out of your repository, like any other secret.

Then export OTLP to https://ingest.flowhawk.dev with the header Authorization: Bearer KEY, as for any other trace (Sending data).

Common questions

Where do the costs come from?

From the model and token counts on each span and a price list per model. A model with no known price is named on the AI page instead of being counted as free.

Is this the same as Flowhawk's own agent?

No. This page is about the model calls in your product. Flowhawk's on-call agent, which investigates your incidents, is described in The agent.