Cloud Ctrl
Overview
Getting Setup
Using
Recommendations
Overview
Getting Setup
Using
Recommendations
  • Quick Start
  • Getting Started
  • Concepts and Terminology
    • Overview
    • Tag Hierarchy
    • Shared Data
    • Custom Data
    • Actions
    • System Tags
    • Forecast Methodology
  • Getting data into Cloud Ctrl

    • Overview
    • Microsoft Azure
      • Azure Overview
      • Azure App Registration
      • Cost Management Exports Overview
      • Standard Export Setup (EA, MCA, PAYG)
      • CSP Export Setup (CME recommended, CDR fallback)
      • Enhanced Azure Access
      • Troubleshooting
    • Amazon Web Services
    • Google Cloud
    • Oracle Cloud
    • Alibaba Cloud
    • Cloudflare
    • AI Connectors
      • AI Connectors Overview
      • OpenAI
      • Anthropic
      • GitHub Copilot
      • Cursor
      • xAI
      • OpenRouter
    • Tag Mapping
    • Custom Usage
    • Settings
  • Using Cloud Ctrl
    • Costs and Usage
    • Emissions and Energy
    • Tracking
    • Budgets
    • Reporting
    • Dimensions
    • Governance & Compliance
      • Overview
      • Watchdog
      • Essential Eight
      • Essential Eight: Azure Setup
    • Customer Management
  • Recommendations
    • Azure
    • Amazon
  • Kubernetes Cost Insights
  • Platform Integration and Security

    • API Overview
    • MCP Server (AI Integration)
    • Platform Security & Data Protection
    • Access Management

Cloudflare

The Cloudflare connector imports billable usage from the Cloudflare Billable Usage API — Cloudflare's FOCUS-aligned cost and usage feed covering services such as Workers, R2, CDN and zones.

The connector reads:

FeedWhat it provides
Billable Usage (/accounts/{id}/billable-usage)FOCUS-aligned cost and usage rows: service, service family, zone, consumed quantity/unit, pricing quantity and contracted cost in the account's billing currency
SubscriptionsThe Cloudflare subscriptions on the account, for plan-level context
Billing historyClosed invoice totals, used to reconcile imported costs against actual Cloudflare invoices

Get an API token

The connector authenticates with a Cloudflare API token with Billing Read permission:

  1. Sign in to the Cloudflare dashboard.
  2. Go to My Profile → API Tokens (dash.cloudflare.com/profile/api-tokens) and click Create Token.
  3. Use the “Read billing info” template — it grants the Account → Billing → Read permission. Scope the token to the account. (To cover several accounts, scope the token to all of them.)
  4. Copy the token — it is only shown once.

Tips

The token is stored securely in Key Vault and never exposed to the browser.

Add a Credential

  1. Open Settings → Cloud Connections → Cloudflare
  2. Click + Add Credential
  3. Enter a display name and paste the API token
  4. Click Submit

Add a Cloud Account

  1. From Settings → Cloud Connections → Cloudflare, click + Add Cloud Account
  2. Select the credential you just added
  3. Enter the Account ID (optional — if left blank, Cloud Ctrl discovers it automatically from the token)
  4. Choose how many days of history to pull on first activation (default 90 days)
  5. Click Submit

How imports work

  • On first import the connector backfills up to 90 days of historical data.
  • Subsequent imports run daily to avoid gaps.
  • The first import can take up to 24 hours to complete.

Limitations

The Billable Usage API is a service-level feed, not a resource-level one. Be aware of what it can and cannot tell you:

  • Usage is aggregated by service, not by resource. Cloudflare reports billable usage per service and day (for example, Workers or R2 for a given zone) — there is no breakdown per Worker script, per R2 bucket or per individual resource. In Cloud Ctrl the product and meter come from Cloudflare's service name, the service family becomes the service, and where a usage row relates to a zone the zone is recorded as the region and resource name — giving per-zone visibility within the account, but no finer.
  • Subscription and plan fees are not in the usage feed. The Billable Usage API captures usage-based charges only — plan fees (Pro, Business, Workers Paid, etc.) are not included. Cloud Ctrl reconciles the imported total against your actual Cloudflare invoices and adds a balancing line split across your active subscription plans, so your spend total matches what Cloudflare billed you. The gap line is not attributed to individual products because Cloudflare does not expose invoice line items.
  • Cloudflare billing periods run from the 22nd to the 21st. Cloud Ctrl imports by calendar month (merging the two billing periods that cover it), so a calendar-month view here will not line up exactly with a Cloudflare invoice. Match your date range to the billing period when reconciling against an invoice.

Notes

  • Rows are costed in the account's billing currency (BillingCurrency), typically USD; Cloud Ctrl converts them to your display currency.
  • Imported usage flows into the standard spend views — filter by product/service to explore it.
Prev
Alibaba Cloud
Next
AI Connectors