CNXT AI Cost Guardrails gives site administrators a local control plane for plugins that use the native WordPress AI Client.
The plugin records content-minimized operational metadata around native AI Client calls, estimates token-billed cost from rates you control, and can prevent later prompts after recorded monthly usage reaches a configured threshold.
All functionality included in this plugin is available without payment, registration, a license key, a quota, or a trial period.
CNXT AI Cost Guardrails stores only the time, inferred calling source, provider ID, model ID, capability, token counts, estimated cost, duration, coarse request context, and policy status.
It does not intentionally read or store prompt or response content, direct user identifiers, IP addresses, request URLs, API keys, or connector credentials. It briefly uses object identities, not message text, to correlate lifecycle events within one PHP request. All plugin data remains in the site’s own WordPress database. The plugin makes no outbound network requests and never starts an AI request.
wp_ai_client_prompt() wrapper. Lower-level SDK calls may bypass the prevention filter.The plugin stores content-minimized operational metadata locally for site administrators and does not contact a third party. Operational timestamps and source/context labels may still be sensitive in some environments, so site owners should choose an appropriate retention period. Site owners should also evaluate their AI providers and the plugins initiating AI requests, because those components may process content under separate terms.
Deactivate the previous version before activating CNXT AI Cost Guardrails. Do not run both versions at the same time. Activation migrates existing local settings and renames the legacy events table for each site as that site loads. Existing limits, emergency-stop state, token rates, and usage history are retained. If legacy storage cannot be migrated safely, native AI Client prompts are paused and an administrator notice is displayed until initialization succeeds.
Custom integrations must use the new cnxt_aicg_ filter prefix and CNXTAICostGuardrails namespace.