惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
L
LangChain Blog
Jina AI
Jina AI
WordPress大学
WordPress大学
人人都是产品经理
人人都是产品经理
S
Secure Thoughts
T
The Exploit Database - CXSecurity.com
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 聂微东
小众软件
小众软件
Apple Machine Learning Research
Apple Machine Learning Research
C
Cyber Attacks, Cyber Crime and Cyber Security
Project Zero
Project Zero
T
Threat Research - Cisco Blogs
量子位
G
GRAHAM CLULEY
腾讯CDC
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
C
CERT Recently Published Vulnerability Notes
The Hacker News
The Hacker News
C
Cisco Blogs
Scott Helme
Scott Helme
Spread Privacy
Spread Privacy
宝玉的分享
宝玉的分享
V
V2EX
博客园 - 三生石上(FineUI控件)
T
Tor Project blog
P
Proofpoint News Feed
雷峰网
雷峰网
D
Darknet – Hacking Tools, Hacker News & Cyber Security
V
Vulnerabilities – Threatpost
PCI Perspectives
PCI Perspectives
博客园_首页
L
LINUX DO - 最新话题
IT之家
IT之家
有赞技术团队
有赞技术团队
博客园 - Franky
Hacker News: Ask HN
Hacker News: Ask HN
Last Week in AI
Last Week in AI
The Cloudflare Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
美团技术团队
博客园 - 【当耐特】
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Security Archives - TechRepublic
Security Archives - TechRepublic
L
LINUX DO - 热门话题
AWS News Blog
AWS News Blog
S
Security Affairs
T
Tailwind CSS Blog

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis Monitor Aruba Central in Datadog How we centralize and remediate risks with Datadog Case Management Accelerate incident response with Datadog and ServiceNow Monitor your application and network load balancer logs Understanding Karpenter architecture for Kubernetes autoscaling Tools for collecting metrics and logs from Karpenter Monitor Karpenter with Datadog What your product data is actually saying Key metrics for monitoring Karpenter Securing Datadog’s platform in the AI age: The role of observability data Four ways engineering teams use the Datadog MCP Server to power AI agents Approaching your observability migration with the right mindset Meet the new Bits AI SRE: Deeper reasoning, twice as fast Key learnings from the 2026 State of DevSecOps study Use plain English to query your multi-cloud infrastructure in Resource Catalog Simplifying troubleshooting across the user journey with Datadog Synthetic Monitoring Protect your OCI resources with Datadog Cloud Security This Month in Datadog - February 2026 Amazon EC2 security: How misconfigured and public AMIs expand your cloud attack surface Enable end-to-end visibility into your Java apps with a single command Measure and improve mobile app startup performance with Datadog RUM Evaluating our AI Guard application to improve quality and control cost Identify untested code across every level of your codebase Make use of guardrail metrics and stop babysitting your releases Monitor Versa Networks SD-WAN performance in Datadog Improve performance and reliability with APM Recommendations Remediate transitive vulnerabilities faster with Datadog Software Composition Analysis Generate audit-ready vulnerability and compliance reports with Datadog Sheets Monitor Fortinet FortiManager performance in Datadog Improve test coverage across codebases with Datadog Code Coverage Move fast, don’t break things: Consistent testing standards at scale Enrich logs with ServiceNow CMDB context before routing to any SIEM or logging tool Monitor Lustre with Datadog Make faster, better product decisions with Datadog Product Analytics Surface and remediate runtime posture issues with Workload Protection Findings Protect agentic AI applications with Datadog AI Guard How to optimize JavaScript code with CSS Trace Google Pub/Sub workloads in Cloud Run with Datadog Detect human names in logs with ML in Sensitive Data Scanner How we cut our NLQ agent debugging time from hours to minutes with LLM Observability Debug PostgreSQL query latency faster with EXPLAIN ANALYZE in Datadog Database Monitoring Datadog acquires Propolis Unify and correlate frontend and backend data with retention filters Scale compliance across global frameworks with Datadog Cloud Security Monitor Arista VeloCloud SD-WAN performance with Datadog Building reliable dashboard agents with Datadog LLM Observability Simplify log collection and aggregation for MSSPs with Datadog Observability Pipelines Mitigation for Node.js denial-of-service vulnerability affecting Datadog APM Automate flaky test fixes with the Bits AI Dev Agent and Test Optimization How we built an AI SRE agent that investigates like a team of engineers Datadog integrations 2025 recap: Observability for AI, security, and hybrid cloud Design effective executive dashboards with Datadog Implement dbt data quality checks with dbt-expectations Bring faster visibility into AWS Lambda functions with remote instrumentation Troubleshoot faster with the GitLab Source Code integration in Datadog How Cambia Health Solutions saved $30,000 monthly with Cloud Cost Management and the Datadog Resource Catalog Normalize any logs for Cloud SIEM with Datadog's OCSF processor Optimizing Datadog at scale: Cost-efficient observability at Zendesk Detect, diagnose, and resolve network issues easily with CNM Network Health Connect engineering errors to user impact in early-stage products Cilium configuration for Kubernetes operations at scale Designing feedback loops for progressive delivery Ship features faster and safer with Datadog Feature Flags Choosing the right OpenTelemetry Collector distribution Route your monitor alerts with Datadog monitor notification rules Automate Cloud SIEM investigations with Bits AI Security Analyst Cloud threat detection: How to identify risky activity across control and data planes Collecting Kafka performance metrics Monitoring Kafka with Datadog Monitoring Kafka performance metrics
Monitor your OpenAI LLM spend with cost insights from Datadog
2024-12-02 · via Datadog | The Monitor blog
Thomas Sobolik

Thomas Sobolik

Natasha Goel

Natasha Goel

Barry Eom

Barry Eom

Managing LLM provider costs has become a chief concern for organizations building and deploying custom applications that consume services like OpenAI. These applications often rely on multiple backend LLM calls to handle a single initial prompt, leading to rapid token consumption—and consequently, rising costs. But shortening prompts or chunking documents to reduce token consumption can be difficult and introduce performance trade-offs, including an increased risk of hallucinations.

To maintain visibility into AI costs over time and find optimizations, AI engineers and FinOps personnel need ways to monitor AI cost both in terms of token consumption and dollars spent. Datadog Cloud Cost Management (CCM) and LLM Observability work together to provide granular insights into your LLM applications’ token usage and cost, helping you track the total cost of ownership of your generative AI services.

CCM now lets you break down your real—not estimated—OpenAI spend from the project or organization level to individual models and their token consumption. And with LLM Observability, you can access a cost breakdown for every application in your environment, down to each individual LLM call in every prompt trace—all within a consolidated view of operational performance, model quality and safety, and application traces.

In this post, we’ll explore how Cloud Cost Management and LLM Observability can help you understand the cost impact of your OpenAI services.

Get a unified view of your OpenAI spend

Datadog offers three different OpenAI integrations that provide cost insights, all of which can be monitored within the out-of-the-box OpenAI Cost Overview dashboard:

  • Out-of-the-box metrics via the OpenAI API integration
  • Native Cloud Cost Management integration
  • Native LLM Observability integration

The OpenAI integration’s free API component provides organization-level visibility into usage patterns, operational metrics, token consumption, and cost breakdowns across models and operations. This gives you a 10,000-foot view of your account’s metrics, including input and output token consumption, as well as detailed costs per model, operation, and token.

View OpenAI costs in Datadog with the out-of-the-box dashboard

The out-of-the-box dashboard available with this integration also provides high-level metrics from Cloud Cost Management and LLM Observability—we’ll go into more detail about each of these next.

Get detailed, context-aware OpenAI cost insights

Cloud Cost Management stores all the pricing information for OpenAI models to provide accurate, up-to-date information about your spend. The Explorer view provides a detailed view of real daily costs for each of your active models and enables you to filter spend data by organization, project, model, service name, and other tags.

View granular cost data for OpenAI resources using Cloud Cost Management's Explorer view

The aforementioned tags, as well as others, are available to use out of the box with native OpenAI support in CCM. By adding Tag Pipelines, you can add your own custom tags to support your specific configuration. For example, you might set up a Tag Pipeline to add the team tag, based on project ownership, to make it easier to identify which teams are spending the most on OpenAI. And by creating monitors for your CCM metrics and filters, you can set up timely alerts to inform your platform engineers and FinOps staff when budgetary overages occur.

CCM’s granular cost metrics are also particularly useful when added to engineers’ service health and performance dashboards. By putting OpenAI cost data in front of your engineers with dashboard widgets, you can encourage them to keep track of their AI spending and find ways to optimize.

Monitor OpenAI spend at the application level alongside health and performance data

With LLM Observability, users can investigate the root cause of issues, monitor operational performance, and evaluate the quality, privacy, and safety of LLM applications. LLM Observability shows cost data at various levels of granularity across its UI—from the entire application down to each trace and its constituent spans. The Applications view lets you inspect application-level cost metrics, breaking down costs by model, surfacing the most expensive span types, and graphing total costs over time. When you spot an expensive span kind or model that you want to investigate, you can immediately pivot to a filtered list of relevant spans using an embedded link.

Get an overview of your model costs within LLM Observability

You can see the input and output token count and cost figures for each trace in the Traces view, alongside other key metrics like duration and any triggered quality or safety checks. This enables you to quickly filter traces in the explorer to surface high-cost ones.

Inspect prompt traces to characterize the cost of your LLM applications

Each trace within LLM Observability contains spans providing a detailed breakdown of agent, tool, task, retrieval, and LLM call steps in the handling of the prompt. OpenAI request spans contain token count and cost figures, so you can break down the impact of each OpenAI call within a trace and find the culprits of unusually costly requests. This includes both user-entered prompts and system prompts formed on the backend for supplemental LLM calls. For example, the following screenshot shows cost data for an OpenAI request span submitting a system prompt to a chatbot.

Break down the cost of individual spans in your prompt traces

By enabling you to troubleshoot high costs, errors, latency, security exposures, and model quality/safety issues all in the same workflow, LLM Observability offers an intuitive workflow for auditing the health, performance, cost, and security of your LLM applications. For more information about LLM Observability, see our blog post.

Monitor your OpenAI spend with Datadog

LLM provider spend is rapidly growing for many organizations that maintain AI-powered services. Through CCM, LLM Observability, and a comprehensive OpenAI integration, Datadog provides a myriad of ways for you to monitor your spend and prevent unexpected breaches of your budget.

For more information about CCM and LLM Observability, see the documentation for each of these features. If you haven’t already, install the OpenAI integration to start tracking your OpenAI services. If you’re brand new to Datadog, sign up for a free trial to get started.