Veqen docs

See who spent every AI dollar across work and coding agents, your product and your providers, catch stolen keys and spend nobody on your team made, and turn it into budgets, margin, chargeback and journal entries.

Veqen is cost monitoring and protection for AI, in two products that share one account:

  • Work and coding agents: each person's and team's cost across every work and coding agent, priced at your contracts, with limits inside the tools that take them, misuse alerts, idle seats, invoice checks and chargeback. See Work and coding agents.
  • Product inference: cost and margin per customer, feature and model, with protection for the keys your product runs on: spend nobody on your team made caught and shut off, and overcharges claimed. See Protection and the free audit.

Product inference has two halves:

  • Open-source SDKs and a CLI (pip install veqen, npm install @veqen/sdk). They wrap your OpenAI, Anthropic, Google and OpenAI-compatible clients, price every call exactly as it happens (text, embeddings, images, video, speech, transcription), and attribute it to the customer, feature, user, project or agent run you tag. They work offline, with no account.
  • The cloud ledger. Add an API key and those calls land in a shared ledger with a dashboard: spikes caught the same day, the reasons spend moved, savings and forecasts, budgets enforced across every server, your own negotiated and self-hosted prices, reconciliation against the bills of OpenAI, Anthropic, AWS, Google Cloud, Azure and OpenRouter, margin per customer from Stripe, and a monthly close for finance. Nearly everything in the dashboard is also in the REST API, and much of it over MCP, so you can use Veqen from your own scripts, CI or AI assistant without opening it.

It's for any company that runs a lot of inference: in its product, in research, in internal tools, or anywhere else a model gets called.

Start here

If you want to… Read
See what everyone's work and coding agents cost Work and coding agents
Find out what your keys did last month, free The free audit
Catch a stolen key and shut it off Protection
See your costs in five minutes Quickstart
Estimate a workload before you build it The simulator, or POST /v1/simulate
Understand how pricing and tags work How Veqen works
Use an existing OpenTelemetry setup instead of the SDK OpenTelemetry
Use LangChain, LlamaIndex, the Vercel AI SDK, Bedrock or another framework or host Integrations
Stop a customer or feature from running up the bill Budgets
Hear about a spike the day it starts, and why spend moved Anomalies, savings and forecasts
See what one agent run or conversation cost Agent runs
Check the numbers against the invoice Bill check
Book AI spend by department and entity, in your currency Month-end close
Price your discount or your own GPUs Your prices
Track spend by team, project or pipeline Tags
Ask a question about your spend on the dashboard AI analyst
Ask Claude or Cursor about your spend, or have it set budgets and record bills MCP server
Use Veqen from your own scripts, CI or tools, without the dashboard API reference
Lock down keys, require SSO, or review security API keys, SSO, Security

What Veqen records

For each model call: the provider, the model, input, output, cached, cache-write and audio token counts, units for models billed per image, second, character, query or page, the batch and service tier, the price in USD with the price-book version used, your tags (the run among them), latency and status. Never prompts or responses. The API has no field for them.

Get help

Email support@veqen-app.com. Every docs page is also available as Markdown (add .md to the URL), and https://veqen-app.com/llms-full.txt has all of them in one file for your AI assistant.