Integrations
Working code and setup for every tool and provider Veqen reads: work and coding agents per person, provider billing per key, and SDKs for your product. Nothing here reads prompts, code or responses.
Work and coding agents
Each person's usage and cost, with a read-only admin key. Kiro, Amazon Q Developer, Amp, Gemini Code Assist, JetBrains AI, Tabnine, GitLab Duo, Sourcegraph Cody, Replit Agent come in from their exports, and agents that run on your own provider keys, OpenCode, Aider, Cline, Continue, Kilo Code, Roo Code, Zed, Goose, Crush, are read from those keys.
| Tool | What Veqen reads | The key to create, and the plan it needs |
|---|---|---|
| Claude Code | Each person's Claude Code sessions, tokens and cost | Reads with your Anthropic admin key, so connect Anthropic first. People on Claude subscriptions come in through Claude Code's OpenTelemetry. |
| Claude Enterprise | Each seat's Claude cost a day, by product: chat, Cowork, Claude Code, Claude in Chrome and the rest | Create a key with read:analytics at claude.ai › Organization settings › API. Add read:spend_limits and write:spend_limits to push limits into Claude and answer people's requests for more from Veqen. On a Claude Team plan, send Cowork's OpenTelemetry to Veqen instead (Admin settings › Cowork). |
| ChatGPT Enterprise | Each person's ChatGPT, Work and Codex credits and cost a day | Create an admin key at admin.openai.com › Credentials › Admin keys for the workspace, with Custom permissions: Enterprise analytics API set to Read. Add usage limits read and write to push limits into ChatGPT and answer people's requests for more from Veqen. |
| Microsoft 365 Copilot | Every Copilot license and when its holder last used it | Register an app in Entra ID with the Reports.Read.All application permission and admin consent, and add a client secret. In the Microsoft 365 admin center › Settings › Org settings › Reports, turn off hidden names, so each license is named. |
| Gemini in Google Workspace | Each person's Gemini use a day across Gmail, Docs, Sheets, Meet and the rest | Create a service account and paste its JSON key. In the Admin console › Security › API controls › Domain-wide delegation, give its client id the scope https://www.googleapis.com/auth/admin.reports.audit.readonly, and name a super admin for it to act as. |
| Codex | Each person's OpenAI tokens and cost in the projects their coding agents use | Reads with your OpenAI admin key, so connect OpenAI first. Name only the projects your people's Codex and other agent keys are in, so production traffic stays out. |
| Cursor | Each person's Cursor usage and what Cursor charged for it | Create an admin API key at cursor.com › Dashboard › Settings › Advanced (Cursor Enterprise). |
| GitHub Copilot | Each person's AI credits, and every seat with its last activity | Use a token of an organization owner with the manage_billing:copilot and read:org scopes. |
| Windsurf | Each person's prompt credits a day | Create a service key with the Teams Read-only role in Windsurf's team settings (Windsurf Enterprise). |
| Devin | Each member's ACUs a day | In Devin › Settings › Devin API, create a service user with ViewOrgConsumption and ViewOrgMembership (the Admin role includes both) and copy the organization id. For enterprise-wide usage, leave the id blank and use ViewAccountConsumption and ViewAccountMembership. Pushing limits requires Devin Enterprise and ManageAcuLimits. |
| Factory | Each person's billable tokens a day | Use an API key of an organization manager or owner. |
| Augment Code | Each person's credits a day | Create an enterprise API token with analytics access. |
| Warp | Each person's credits a day, local and in the cloud | Use a team admin's personal API key, and turn on Enterprise Usage Reporting in Warp's admin settings. |
| Ona | Each person's credits this month | Use a personal access token with billing:read_usage. |
Provider billing and keys
What each provider billed, refreshed every six hours on paid plans and daily on Free, and each key's usage by the hour where the provider reports it, for fraud protection. Where it reports running totals or only the key list, the rules about the keys themselves still apply: unused for 30 days, owned by someone who left, or open to any API. Shut-off uses a separate credential, added only if you want it.
| Provider | What Veqen reads | How often | Per-key usage | Shut-off | The key to create |
|---|---|---|---|---|---|
| OpenAI | What OpenAI billed you, day by day and model by model | The bill every six hours, each key every fifteen minutes daily on Free | By the hour | Deletes only | Create an admin key at platform.openai.com › Settings › Organization › Admin keys with only Usage API read access. |
| Anthropic | What Anthropic billed you, day by day and model by model | The bill every six hours, each key every fifteen minutes daily on Free | By the hour | Yes | In Claude Console › Keys & access, create a key with Organization scope and cost-report access. Workspace-scoped keys can't read costs; admin keys also work. |
| AWS Bedrock | What AWS billed you for Bedrock, by model, and by tag if you use them | The bill every six hours, each key every fifteen minutes daily on Free | Key list | Yes | Create an IAM user (or role key) whose policy allows only ce:GetCostAndUsage, ce:GetDimensionValues and, for per-key protection, iam:ListServiceSpecificCredentials. To split by application inference profile, activate its tag as a cost-allocation tag in Billing. |
| Google Cloud | What Google Cloud billed you for Gemini and Vertex AI, by model | The bill every six hours, each key every fifteen minutes daily on Free | Key list | Yes | Turn on the Cloud Billing export to BigQuery (standard usage cost). Create a service account with BigQuery Data Viewer on the export's dataset, BigQuery Job User on its own project and, for per-key protection, API Keys Viewer on that project, and paste its JSON key. |
| Azure | What Azure billed you for Azure OpenAI and AI Foundry, by model | Every six hours daily on Free | Billing only | In its console | Register an app in Entra ID, add a client secret, and give it Cost Management Reader on the subscription (or billing account) the Azure OpenAI resources bill to. |
| OpenRouter | What you spent through OpenRouter, by model | The bill every six hours, each key every fifteen minutes daily on Free | Running totals | Yes | Create a management key at openrouter.ai › Settings › Management keys. Activity covers the last 30 days. |
| Fireworks AI | Your Fireworks keys, their owners, and spend per key and hour | The bill every six hours, each key every fifteen minutes daily on Free | By the hour | In its console | Use an API key belonging to an admin of the account (fireworks.ai › Settings › API keys). |
| DeepInfra | Your DeepInfra tokens and each one's spend this month | The bill every six hours, each key every fifteen minutes daily on Free | Running totals | Yes | Use an API token of the account (deepinfra.com › Dashboard › API keys). |
| fal | Your fal keys, who made them, and spend per key and hour | The bill every six hours, each key every fifteen minutes daily on Free | By the hour | Deletes only | Create a key with the BILLING preset at fal.ai › Keys (FULL also works). |
| ElevenLabs | Your ElevenLabs service-account keys and each one's characters this period | The bill every six hours, each key every fifteen minutes daily on Free | Running totals | Yes | Use a workspace admin's API key, and the user id of the service account whose keys your apps use. |
| Baseten | Your Baseten keys, their owners, and tokens per key and hour | The bill every six hours, each key every fifteen minutes daily on Free | By the hour | Deletes only | Use an API key of an organization admin (app.baseten.co › Settings › API keys). |
| Vercel AI Gateway | Your AI Gateway keys | The bill every six hours, each key every fifteen minutes daily on Free | Key list | Deletes only | Create an access token at vercel.com › Account settings › Tokens, scoped to the team. |
| LiteLLM proxy | Your proxy's virtual keys and each one's spend | The bill every six hours, each key every fifteen minutes daily on Free | Running totals | Yes | The proxy has to be reachable from the internet over HTTPS. Use its master key, which Veqen only uses to read. |
| Deepgram | Your Deepgram project's keys and who made them | The bill every six hours, each key every fifteen minutes daily on Free | Key list | Deletes only | Use a key with the owner or admin role on the project (console.deepgram.com › API keys). |
| xAI | Your xAI team's keys | The bill every six hours, each key every fifteen minutes daily on Free | Key list | Deletes only | Create a management key at console.x.ai › Settings › Management keys. |
Frameworks
- LangChainPrice every LangChain and LangGraph model call and split the cost by customer, feature and agent run, with one callback handler.
- LlamaIndexPrice every LLM call LlamaIndex makes, from query engines to agents, and split the cost by customer and feature with one event handler.
- LiteLLMPrice every LiteLLM call, in the SDK or the proxy, across the 100+ providers LiteLLM routes to, and attribute it to customers and teams.
- Vercel AI SDKPrice every Vercel AI SDK call on any provider with one middleware, streaming included, and attribute it to customers and features.
- OpenAI Agents SDKPrice every model response in an OpenAI Agents SDK run, including tool loops and handoffs, and see each agent run's total cost.
- HaystackRecord the cost of each Haystack chat generation with a pipeline component, attributed to a customer and feature.
Providers, clouds and hosts, through the SDK
- OpenAIPrice every OpenAI call exactly, from chat and the Responses API to images, audio and embeddings, and reconcile it to OpenAI's bill.
- AnthropicPrice every Claude API call exactly, with prompt caching, Batch and Priority Tier, and reconcile it to Anthropic's cost report.
- Google Gemini and Vertex AIPrice every Gemini call through the Gemini API or Vertex AI, and reconcile it to your Google Cloud billing export in BigQuery.
- AWS BedrockPrice Claude, Llama, Nova and every other Bedrock model call, attribute it to customers, and reconcile it to Cost Explorer by inference profile.
- Azure OpenAI and AI FoundryPrice Azure OpenAI and Azure AI Foundry calls, count them toward your Azure bill, and reconcile with Cost Management.
- OpenRouterPrice calls through OpenRouter at each model's list price, attribute them to customers, and reconcile with OpenRouter's spend.
- Together AIPrice every Together AI call at Together AI's own rates through the OpenAI client, attribute it to customers and features, and check it against the invoice.
- GroqPrice every Groq call at Groq's own rates through the OpenAI client, attribute it to customers and features, and check it against the invoice.
- Fireworks AIPrice every Fireworks AI call at Fireworks AI's own rates through the OpenAI client, attribute it to customers and features, and check it against the invoice.
- Self-hosted modelsPut a price on models you run yourself with vLLM, Ollama or TGI, attribute every call, and check the price against your GPU bill.
Card and banking platforms your agents spend on
- Stripe IssuingWatch the Stripe Issuing cards you give AI agents. Every authorization is matched to what the agent said it was doing, spend no action explains is caught within minutes, and the card can be frozen from the alert.
- RampWatch the Ramp funds your agent cards spend from. Every transaction, declines included, is matched to what the agent said it was doing, and a fund can be suspended from the alert.
- BrexWatch the Brex cards you give AI agents. Every posted transaction is matched to what the agent said it was doing, and the card can be locked from the alert.
- MercuryWatch Mercury cards, including Mercury's own agent cards, and the card spend, ACH and wire payments that leave the account your agents pay from, matched to what each agent said it was doing.
Something else? OpenTelemetry spans that follow the GenAI conventions work with no SDK: see OpenTelemetry. Anything at all can be sent with record() from the Python or JavaScript SDK.