
Datadog AI Costs Adds Cursor Spend and 15-Minute Anomaly Alerts
Enterprise Developer PlatformsA looping agent hammering an Anthropic model is the example Datadog uses to show its new cost anomaly detection, which it says catches AI spend spikes “within approximately 15 minutes of their starting point,” according to Datadog’s announcement. For platform and FinOps teams, the bigger change is coverage: coding tools like Cursor now land in the same cost view as model APIs, so the AI bill stops arriving in pieces.
What Happened
Datadog Cloud Cost Management’s AI Costs feature added six providers: Cursor, Microsoft Foundry, Databricks Mosaic AI, Snowflake AI, Amazon SageMaker and ChatGPT Enterprise. They join OpenAI, Anthropic, Amazon Bedrock, Google Gemini, Vertex AI and GitHub Copilot. Spend is tagged with normalized fields including provider_name, model and user, alongside provider-specific tags, so one query can compare a model across vendors.
Datadog also announced AI Budgets and CCM Outcomes, both in Preview. Budgets can span sources such as Anthropic and Amazon Bedrock and roll up across teams. Outcomes joins attributed AI costs with business metrics, such as cost per ticket resolved or cost per pull request merged. AI Cost Recommendations flag savings like enabling prompt caching or cutting heavy use of top-tier models, each with an estimated monthly saving and effort level.
Why It Matters
The hardest part of AI cost management is attribution, and Datadog targets the most common blind spot: the AI gateway. When workloads share credentials, provider bills may show only the gateway’s API key or project. AI Costs can allocate gateway spending to users, teams or services. For teams that report gateway token usage through LiteLLM or Datadog Agent Observability, it allocates OpenAI and Anthropic spending based on that usage, spreading provider-billed costs proportionally across the chosen dimensions, per the AI gateway allocation docs.
Speed matters because agents can burn money faster than a monthly bill can show. Datadog uses real-time telemetry to estimate AI costs, building model cost estimates from token usage reported by AI gateways, provider usage APIs and LLM traces rather than from the invoice. Alerts can route to email, Slack or Microsoft Teams.
What This Means for Builders
Adding Cursor and GitHub Copilot to the same view as API spend matters for developer-platform teams. Coding-assistant seats and agent token usage have usually lived in different budgets, owned by different people. Putting them under one set of tags is a step toward the cost-per-merged-pull-request view that CCM Outcomes promises, though that feature is still in Preview. It builds on the agent-level token visibility we covered in Datadog Agent Observability’s cost savings opportunities.
The caveats are real. This is a vendor announcement, Datadog gives no pricing in the post, and the attribution is only as good as the gateway telemetry behind it. Teams that call providers directly with shared keys and no gateway get much less from the allocation feature.
The So What
If you own AI spend across several providers, route model traffic through a gateway that reports per-user token usage, tag it with user and team, and turn on anomaly alerts before setting budgets, so a looping agent pages someone within minutes instead of showing up on next month’s invoice.
Source: Datadog
Content created with AI assistance and reviewed for accuracy.
Join the conversation
Stack Insiders is our free community for readers who want to go deeper — share resources, ask questions, and connect with others across every vertical we cover.
Join Stack Insiders →