
Capture team and agent identifiers for each AI agent run and model call, using native usage tracking or structured metadata. Aggregate consumption in a centralized analytics layer to compare spending by team and agent.
Within the JetBrains Air ecosystem, users, groups, actions and consumption require no manual tagging. Air Governance aggregates and displays usage data in its AI analytics section, with Air Teams as one of the data sources. Administrators can monitor consumption by user and group and set credit limits through Air Governance. Those limits apply across AI usage, including Air Teams and AI Assistant in IDEs.
Attribution is measurement, and cost reduction is action, which means attribution comes first because without it, you don't know where to act. Attribution answers who is spending what on which agents and workflows. Cost reduction answers the question of what to change to spend less for the same or better output. Common reduction levers include choosing a cheaper model for lower-complexity tasks, optimizing prompts to reduce token consumption per interaction, or consolidating redundant agent workflows. None of those decisions is well-grounded without attribution data telling you which agents and workflows carry the highest cost and the lowest output-per-credit ratio. Attribution tells you where to cut the bill, but it doesn't cut it for you.
Tooling that can't attach structured metadata to model calls makes attribution significantly harder. You end up inferring team and agent ownership from indirect signals like API keys, user accounts, or log patterns. That approach is fragile and incomplete. If your current tooling lacks native tagging support, treat it as a selection criterion when evaluating alternatives. Check whether your tooling’s native usage tracking captures the attribution dimensions you need before adding custom metadata.
Team leads benefit from weekly visibility into their team's credit consumption, especially during periods of active agent deployment. Engineering managers and FinOps stakeholders typically review cross-team rollups monthly, aligned with budget cycles. The most useful trigger for an unscheduled review is a consumption spike, which a well-configured attribution system should surface as an alert rather than a surprise at the end of the month.
Project-level attribution requires a project tag on every AI interaction that is part of that project's work. This means either tagging at the agent configuration level (if an agent is dedicated to a specific project) or at the request level via metadata that your tooling supports. Some teams use a combination, with a shared agent pool tagged by project at trigger time, using context from the ticketing system (Jira issue keys, for example) to assign project membership. Decide where in your execution chain the project context is known and ensure the tag is written there. Once project tags are flowing consistently, aggregate them in your analytics layer the same way you'd aggregate team or agent tags.
Showback and chargeback serve different purposes. Showback means each team receives a report of their AI credit consumption and the notional cost, without any budget transfer, creating visibility and encouraging accountability without requiring a financial mechanism. Chargeback means the actual cost is transferred to the team's budget, creating a direct financial incentive to optimize. Most engineering organizations start with showback because it's lower friction and still changes behavior. If your organization already runs cloud FinOps with showback or chargeback for infrastructure spend, the same process applies to AI spend, except that AI consumption is tied to agent and workflow behavior rather than to infrastructure provisioning.
Yes, but it requires a centralized aggregation layer that ingests data from each provider's usage API. Each provider reports consumption in its own format and unit, so you'll need a normalization step to convert everything to a common unit before you can compare across providers. Some AI governance platforms handle this aggregation natively. If you're building it yourself, start by pulling per-provider usage data on a daily cadence and mapping it to your tag schema before attempting cross-provider rollups.
Explore JetBrains AI solutions that help you build, use, and scale AI agents across the software development lifecycle.
Run terminal agents through one JetBrains account, with access, models, and usage governed centrally.
Plan, code, debug, and automate tasks with a coding agent that works across your terminal, IDE, GitHub, and GitLab.
Orchestrate AI agents and verify their output directly in JetBrains IDEs, with full control over how changes are reviewed.
Automate software delivery workflows, coordinate agentic work across teams, identify bottlenecks affecting delivery.
Govern AI usage, models, policies, and costs across your organization, including JetBrains and third-party tools.
Give agents shared organizational memory and context that carries across tools, workflows, and execution environments.
An open system of AI products for developers, teams, and organizations – from coding with agents to automating workflows and governing AI at scale.