Operations | Monitoring | ITSM | DevOps | Cloud

AI cost per query: how to calculate and optimize it

AI cost per query is your total AI serving spend divided by the number of queries served over the same period. It combines model API charges (input and output tokens), retrieval and orchestration overhead, and shared infrastructure. Most production text queries cost between $0.0005 and $0.02. It's the base unit of AI unit economics, and the number finance needs before any ROI claim holds up.

Shipped: Azure cost totals that match your invoice

Azure cost exports sometimes fail with a server error and then succeed on the next try. Some reports cover only part of the month. Large tenants get rate-limited when they request a lot of data at once. Each of these things can leave a gap in your Azure history. You normally find the gap when finance compares the Azure total in CloudZero to the Microsoft invoice.

Shipped: AI dimensions, organized around how your team works

AI Signals adds a standard set of AI dimensions to your dimension picker, plus custom dimensions built from your own data. Not every team needs all of them. The ones you don’t use make the ones you want harder to find. Cleaning that up used to require an engineer to run a script every time an account team needed a change. We identified the bottleneck and automated it, so account teams can manage dimensions themselves and engineering stays focused on product work.

Shipped: See which billing connections stopped sending data, and why

Every number in CloudZero comes from a billing connection. When a credential expires or a permission changes, that connection stops sending data, and your reports show less spend than you actually have. If you catch it early, you can fix the connection before month-end close. You also need to know what broke. For Azure and Snowflake connections, CloudZero now tells you which check failed, so you can send the fix to the right person without opening a support ticket.

How much does it cost to train an AI model? Frontier figures, graded [2026]

Training an AI model costs anywhere from a few hundred dollars to several hundred million, depending entirely on what “train” means. Fine-tuning an existing model: tens to thousands of dollars. Pretraining a small model from scratch: tens of thousands to millions. A frontier run in 2026: hundreds of millions, with Epoch AI projecting the largest runs will pass $1 billion by 2027.

Adding friction to your AI spend isn't saving money. It's costing you growth.

Enterprises are putting hard ceilings on AI spend. Accenture now centrally funds $29 a month per person for Claude and charges anything above that to a project budget code. Uber used up its 2026 AI budget in four months and restricted access. A cap stops waste and useful work at the same rate. The alternative is seeing AI cost by team, by project and by outcome, then funding what returns. Companies spent the past year telling employees to use more AI. Now a lot of them are putting a lid on it.

Shipped: Slice AI spend eight ways in AI Explorer

You can already break down cloud spend by team, product, or customer in Explorer. But AI spend has been harder to decompose. Which models is each team running? What activity is driving the cost growth you saw this month? Before AI Explorer, answering those questions meant exporting raw event data and building your own breakdowns, or waiting days for reconciled billing to land in Explorer.

Capping the AI free-for-all? Know what each dollar returns first.

Most companies gave everyone AI access and thought they’d sort out the costs later. Engineering, support, product, marketing, and finance all got licenses to the best models. The early results looked good, and for a while it didn’t matter there wasn’t an explicit business case. Let’s call the first half of 2026 the free-for-all period for many companies. AI adoption spread across the org fast, people and teams loved it, and then the invoices started coming in.

Shipped: Create a Jira ticket from a cost spike, with status synced both ways

When Monitors flags a cost spike, the fix usually belongs to an engineering team, and that team might track their work in Jira. Now you can hand the incident to them from CloudZero in one click. The Jira ticket and the CloudZero incident stay in step. When the engineer resolves the ticket, the incident resolves too. You track the work in one place, and the status you see in CloudZero matches what the team is doing.

Shipped: Views now save your full Explorer state

Many CloudZero users ask the same few questions. What did my team spend this month? How is our AI spend trending over the last 30 days? What does one MCP tool call cost? Now you can save the exact Explorer setup behind each answer as a View and get back to it instantly. It’s not just filters and grouping anymore, but the full picture. You can share a link with a teammate or finance and they see the same View, filtered to the spend their role allows.