# Metergraph developer documentation > Instrument your LLM costs, attribute them to the functions and routes > that spend them, and act on what the captured evidence shows. Generated from the published pages by site/build_docs.py. Do not edit. ## Pages - [Add routes](https://www.metergraph.dev/docs/agents/add-routes/): A prompt that names routes across an already-instrumented codebase. - [Audit coverage](https://www.metergraph.dev/docs/agents/audit-coverage/): A prompt that finds LLM calls the SDK is not capturing. - [Evaluate models with your coding agent](https://www.metergraph.dev/docs/agents/evaluate-with-your-agent/): Choose a workload, define checks, run an analysis, read the report and refine, with your coding agent and the Metergraph app. What works today and what is coming. - [Instrument a repository](https://www.metergraph.dev/docs/agents/instrument-a-repo/): A prompt that adds Metergraph to an existing codebase. - [Choosing a deployment](https://www.metergraph.dev/docs/concepts/choosing-a-deployment/): Four ways to run Metergraph, what each one can and cannot do, and an honest list of the features that are absent when you run it yourself. - [Content and privacy](https://www.metergraph.dev/docs/concepts/content-and-privacy/): Content capture, redaction, storage, access controls and retention across Metergraph deployments. - [How analysis works](https://www.metergraph.dev/docs/concepts/how-analysis-works/): See how Metergraph turns production traffic into evidence-backed opportunities to reduce LLM spend without sacrificing quality. - [How Metergraph works](https://www.metergraph.dev/docs/concepts/how-it-works/): The path one model call takes from your process to the dashboard, why capture is asynchronous and fail-open, and where the dollar figure comes from. - [The identity model](https://www.metergraph.dev/docs/concepts/identity-model/): Function, route, trace, user, session and metadata: the six labels every captured call carries, what question each one answers, and how they compose. - [Glossary](https://www.metergraph.dev/docs/glossary/): Terms of art used across these docs and in the dashboard. - [Connect a coding agent](https://www.metergraph.dev/docs/guides/agent-access/): Give Codex or Claude Desktop one setup prompt, then ask your agent about Metergraph. - [Build a dataset](https://www.metergraph.dev/docs/guides/build-a-dataset/): Sample captured traffic into a dataset and export it for evaluation or fine-tuning. - [Set up Claude Code, Codex or Cursor](https://www.metergraph.dev/docs/guides/coding-agent-clients/): Install the Metergraph skill and ingest key with the CLI, then connect the MCP server by browser sign-in or with a coding-agent key. - [Keep content private](https://www.metergraph.dev/docs/guides/keep-content-private/): Narrow what is captured, redact in-process, or turn content capture off entirely. - [Judge model swaps with your Langfuse evals](https://www.metergraph.dev/docs/guides/langfuse-evals/): Import a Langfuse LLM judge and dataset, check the judge against its own Langfuse scores, and use it to decide whether a cheaper model is good enough. - [Write results back to Langfuse](https://www.metergraph.dev/docs/guides/langfuse-writeback/): Opt in to see Metergraph's candidate-model verdicts as scores on your Langfuse generations, with a separate key you can revoke at any time. - [Manage your workspace](https://www.metergraph.dev/docs/guides/manage-your-workspace/): Members, roles, invitations, keys, environments and the monthly allowance. - [Use the MCP server](https://www.metergraph.dev/docs/guides/mcp-server/): Give a coding agent read access to your routes and traces. - [Automate changes with MetergraphBot](https://www.metergraph.dev/docs/guides/metergraph-bot/): Let Metergraph prepare a pull request for a recommendation you approve. - [Record real outcomes](https://www.metergraph.dev/docs/guides/record-outcomes/): Attach task success to a session so cost per completed task can be computed. - [Set up alerts](https://www.metergraph.dev/docs/guides/set-up-alerts/): The six detectors that watch every route, and what to do when one fires. - [Troubleshoot agent setup](https://www.metergraph.dev/docs/guides/troubleshoot-agent-setup/): What each metergraph CLI exit code means, and how to fix failed sign-in, stale credentials, unavailable capabilities and incomplete evidence. - [Write your own client](https://www.metergraph.dev/docs/guides/write-your-own-client/): Send rows to the ingest API directly, without the SDK. - [Import from Braintrust](https://www.metergraph.dev/docs/import/braintrust/): Connect Braintrust on the Imports page and keep Metergraph level with it on a schedule. - [Import from Langfuse](https://www.metergraph.dev/docs/import/langfuse/): Bring Langfuse traces into Metergraph: the hosted connector, the relay for private networks, or dual export. - [Import from LangSmith](https://www.metergraph.dev/docs/import/langsmith/): Connect LangSmith on the Imports page and keep Metergraph level with it on a schedule. - [Import from the OpenAI dashboard](https://www.metergraph.dev/docs/import/openai/): Bring OpenAI usage exports in for models you have not instrumented yet. - [Importing existing traffic](https://www.metergraph.dev/docs/import/overview/): Connect Langfuse, LangSmith, Braintrust, Phoenix or Portkey on the Imports page and keep Metergraph level with it on a schedule. - [Import from Phoenix](https://www.metergraph.dev/docs/import/phoenix/): Connect Phoenix on the Imports page and keep Metergraph level with it on a schedule. - [Import from Portkey](https://www.metergraph.dev/docs/import/portkey/): Connect Portkey on the Imports page and keep Metergraph level with it on a schedule. - [Overview](https://www.metergraph.dev/docs/): A continuously learning system that cuts LLM costs and improves quality in your AI agent workflows. - [Anthropic](https://www.metergraph.dev/docs/instrument/anthropic/): Wrap the Anthropic client, including async, streaming and tool use. - [Google Gemini](https://www.metergraph.dev/docs/instrument/gemini/): Wrap the Google Gemini client. - [Install the SDK](https://www.metergraph.dev/docs/instrument/install/): Install the package, set a token, and confirm capture is on. - [OpenAI](https://www.metergraph.dev/docs/instrument/openai/): Wrap the OpenAI client, including async, streaming, tools and the Batch API. - [OpenRouter](https://www.metergraph.dev/docs/instrument/openrouter/): Capture calls made through OpenRouter. - [OTLP spans](https://www.metergraph.dev/docs/instrument/otlp/): Send OpenTelemetry GenAI spans instead of using the SDK. - [Serverless and short-lived jobs](https://www.metergraph.dev/docs/instrument/serverless/): Make sure rows are delivered before the process ends. - [Attribution across threads](https://www.metergraph.dev/docs/instrument/threads/): Keep a trace intact across thread pools, queues and background workers. - [Vercel AI Gateway](https://www.metergraph.dev/docs/instrument/vercel-ai-gateway/): Capture calls that route through the Vercel AI Gateway. - [Vercel AI SDK](https://www.metergraph.dev/docs/instrument/vercel-ai-sdk/): Attach Metergraph as middleware on the Vercel AI SDK. - [Captured fields](https://www.metergraph.dev/docs/reference/captured-fields/): Every field on a captured call: type, nullability, source, and which destinations store it. - [Configuration](https://www.metergraph.dev/docs/reference/configuration/): Every environment variable and init() argument, with types, defaults and clamping. - [User content deletion API](https://www.metergraph.dev/docs/reference/content-deletion-api/): Delete captured content associated with a user ID and track the request status. - [Explore Metergraph](https://www.metergraph.dev/docs/reference/dashboard/): Follow one team from a $12,700 monthly LLM bill to a tested, cheaper setup, and learn to read each Metergraph screen along the way. - [Dashboard reference](https://www.metergraph.dev/docs/reference/dashboard-reference/): What each Metergraph page holds beyond the tour: trace filters, spread samples and group comparisons, pricing, keys, Batch API, and settings. - [Errors](https://www.metergraph.dev/docs/reference/errors/): Every HTTP status code, SDK warning and refusal message, with the fix for each. - [Ingest API](https://www.metergraph.dev/docs/reference/ingest-api/): Endpoints, request and response shapes, auth scopes, cache headers, and every status code. - [Limits and allowances](https://www.metergraph.dev/docs/reference/limits/): Request limits, the monthly call allowance, retention, and what each deployment profile can do. - [Model catalog and pricing](https://www.metergraph.dev/docs/reference/model-catalog/): How a call is priced, which rates apply, what unpriced means, and how to diagnose a total that looks too low. - [Free LLM response pricing API](https://www.metergraph.dev/docs/reference/pricing-api/): Send the original provider response and get the cost of an LLM request. Prompt and response content is ignored and never stored. The API is free. - [Query API](https://www.metergraph.dev/docs/reference/query-api/): Ask your own questions of your calls and spans with structured queries, from a coding agent, the CLI or HTTP. - [Python SDK](https://www.metergraph.dev/docs/reference/sdk-python/): Every symbol in the Python package: signatures, defaults, returns and raise behavior. - [TypeScript SDK](https://www.metergraph.dev/docs/reference/sdk-typescript/): Every symbol in the TypeScript package: signatures, defaults, returns and throw behavior. - [Metergraph releases](https://www.metergraph.dev/docs/releases/): Every published Metergraph release you can download, verify and run on a machine you control. - [Metergraph v0.2.183 for your own machine](https://www.metergraph.dev/docs/releases/v0.2.183/): Download, verify and run Metergraph v0.2.183 under Docker Compose on a machine you control. - [Metergraph v0.2.184 for your own machine](https://www.metergraph.dev/docs/releases/v0.2.184/): Download, verify and run Metergraph v0.2.184 under Docker Compose on a machine you control. - [Metergraph v0.2.187 for your own machine](https://www.metergraph.dev/docs/releases/v0.2.187/): Download, verify and run Metergraph v0.2.187 under Docker Compose on a machine you control. - [Metergraph v0.2.188 for your own machine](https://www.metergraph.dev/docs/releases/v0.2.188/): Download, verify and run Metergraph v0.2.188 under Docker Compose on a machine you control. - [Metergraph v0.2.189 for your own machine](https://www.metergraph.dev/docs/releases/v0.2.189/): Download, verify and run Metergraph v0.2.189 under Docker Compose on a machine you control. - [Metergraph v0.2.190 for your own machine](https://www.metergraph.dev/docs/releases/v0.2.190/): Download, verify and run Metergraph v0.2.190 under Docker Compose on a machine you control. - [Metergraph v0.2.191 for your own machine](https://www.metergraph.dev/docs/releases/v0.2.191/): Download, verify and run Metergraph v0.2.191 under Docker Compose on a machine you control. - [Metergraph v0.2.192 for your own machine](https://www.metergraph.dev/docs/releases/v0.2.192/): Download, verify and run Metergraph v0.2.192 under Docker Compose on a machine you control. - [Your own AWS account](https://www.metergraph.dev/docs/self-host/aws/): Run Metergraph inside your own VPC. - [Run it yourself](https://www.metergraph.dev/docs/self-host/): Compare the three ways to run Metergraph inside a boundary you control. - [Run it locally](https://www.metergraph.dev/docs/self-host/local/): Bring the whole stack up on one machine. - [Operations](https://www.metergraph.dev/docs/self-host/operations/): Day-two commands: tenants, keys, invitations, backup and purge. - [Verifying a release](https://www.metergraph.dev/docs/self-host/verifying-a-release/): Check the signature on a release bundle before running it. - [Run your first analysis](https://www.metergraph.dev/docs/start/first-analysis/): Choose the traffic and changes Metergraph should test, then review the opportunities and evidence it finds. - [Send your first trace](https://www.metergraph.dev/docs/start/first-trace/): Use your coding agent to set up Metergraph, instrument your application and confirm its first trace. - [Name a route](https://www.metergraph.dev/docs/start/name-a-route/): Give production traffic a developer-defined workload name for monitoring, alerts, and opportunity analysis.