Axtolab AI Spend Monitor

Axtolab AI Spend Monitor

Details
View on WordPress

WordPress 7.0 introduced the AI Client and the Connectors screen: you configure an AI provider API key once, and every plugin on your site can use it. What WordPress does not show you is which plugin is spending your money.

AI Spend Monitor records every call made through the WordPress AI Client and gives you a clear dashboard under Axtolab AI Spend Monitor:

  • Per-plugin AI usage — see exactly which plugins and themes make AI calls, with calls, prompt tokens, and completion tokens for each.
  • Estimated cost per plugin — token counts are converted to an estimated USD cost using bundled list prices for popular OpenAI, Anthropic, and Google models.
  • Editable cost rates — a “Cost rates” tab lets you adjust the per-model input/output prices to match your provider plan or a price change. Saving re-estimates previously recorded calls too, so the whole dashboard reflects your rates. No code required.
  • Daily cost chart — a 30-day view of your estimated AI spend, so a sudden spike is visible the day it happens, not when the invoice arrives.
  • Recent call log — the latest AI calls with source, provider, model, and token counts.
  • CSV export — download the recorded calls for any period for accounting or review: source plugin, provider, model, tokens, and estimated cost per call.
  • Spend notification — optionally get one email per month when estimated sitewide AI spend passes a dollar amount you choose.
  • Zero configuration — activate it and it starts recording. No API keys, no account, no setup.

How it works

The plugin listens to the WordPress AI Client’s lifecycle hooks. When any plugin calls the AI Client, the call’s token usage and model metadata are recorded in a local database table, and the calling plugin is identified automatically. Old records are pruned after 90 days (filterable).

Privacy

All data stays on your site. The plugin records token counts and metadata only — it does not store prompt or response content, and it does not send anything to any external service. There are no remote calls, no tracking, and no account requirement.

For developers

  • aismon_usage_recorded — action fired after each recorded call.
  • aismon_cost_rates — filter the model price table used for estimates.
  • aismon_retention_days — filter the data retention window (default 90 days).
  • aismon_dashboard_after_summary — action to render additional dashboard panels.

External Services

AI Spend Monitor does not contact any external services. All data is recorded and stored locally in your WordPress database — no remote calls, no telemetry, no analytics.

The token-to-USD cost estimates use a pricing table that ships with the plugin (no remote lookup). The table can be overridden via the aismon_cost_rates filter; see the developer notes in the description.

The plugin does not send any data outside your WordPress site.

Privacy

AI Spend Monitor records the following data locally, in a custom database table with the standard WordPress table prefix:

  • The source plugin or theme that made each AI call.
  • The AI provider (e.g. OpenAI, Anthropic, Google) and model identifier (e.g. gpt-4o-mini).
  • Token counts per call: prompt tokens, completion tokens, total tokens.
  • A timestamp for each recorded call.

The plugin does not store any of the following:

  • Prompt or response content.
  • User identifiers, user emails, or user IP addresses.
  • Any other personally-identifying information.
  • Any visitor-facing data — the plugin only sees server-side AI calls made by other plugins or themes.

Recorded data is pruned automatically after 90 days. The retention window is filterable via aismon_retention_days. All recorded data, plugin options, and transients are removed when the plugin is uninstalled (see uninstall.php).

No recorded data is sent to any external service. All processing happens on your own WordPress site.

Details

Plugin code:
axtolab-ai-spend-monitor
Plugin version:
1.0.1
Author:
Outdated:
No
WP version:
7.0 or higher
PHP version:
7.4 or higher
Test up to WP version:
7.0
Total installations:
0
Last updated:
2026-06-16
Rating:
Times rated:
0
ai
cost
monitoring
tokens
usage