AI Valve
Control, meter, and permission-gate AI usage from plugins that connect through the WordPress 7 AI connector.
Use with caution
AI Valve works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.
- Tested with the latest WordPress (7.1)
- Small user base (<10 active installs)
- Very few reviews so far
- Needs PHP 8.3 or newer
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where AI Valve stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| AI | >100 |
| connector | >100 |
| cost-control | >100 |
| governance | #35 |
| tokens | >100 |
About AI Valve
From the official readme · v1.3.0Description
AI Valve gives site administrators visibility and control over how plugins use the built-in WordPress AI connector.
Features
- Per-plugin access control — Allow or deny individual plugins from making AI requests.
- Abilities API guard — Optionally apply the same policy to WordPress Abilities API calls (WordPress 7.1+), keyed by ability namespace.
- Token budgets — Set daily and monthly token limits per plugin and globally.
- Context restrictions — Control which execution contexts (admin, frontend, cron, REST, AJAX, CLI) may trigger AI calls.
- Usage dashboard — See token consumption at a glance with summary cards, progress bars, and per-plugin breakdowns.
- Request logging — Every AI request is logged with provider, model, capability, tokens, and caller attribution.
- Budget alerts — Admin notices and optional email when usage approaches or exceeds limits.
Requirements
- WordPress 7.0 or later
- PHP 8.3 or later
- A configured AI provider in Settings → Connectors
Developer Hooks
AI Valve exposes filters and actions so you can extend its behaviour without editing the plugin. Full signatures, parameters, and examples are in the developer hooks documentation.
aivalve_plugin_policy(filter) — Override the allow/deny decision for any plugin.aivalve_request_denied(action) — React when an AI request is blocked.aivalve_request_completed(action) — React when an AI request succeeds (token counts available).aivalve_ability_invoked(action) — React when an Abilities API call is invoked (WP 7.1+).aivalve_ability_denied(action) — React when an Abilities API call is blocked (WP 7.1+).
Renamed in 1.3.0 from the soderlind_aivalve_ prefix; the old names still fire as deprecated aliases and will be removed in a future major version.
Installation
- Install AI Valve from the WordPress plugin directory, or upload
soderlind-aivalve.zipvia Plugins → Add New → Upload Plugin. - Activate the plugin.
- Go to Settings → AI Valve to configure.
Frequently asked questions
What are tokens?
Tokens are the units AI models use to measure input and output. Roughly 1 token ≈ ¾ of a word. Both the text you send (prompt tokens) and the text the AI returns (completion tokens) count toward your usage.
What does “limit = 0” mean?
A limit of 0 means unlimited — no cap is enforced. Set a positive number to restrict token usage.
How does AI Valve identify which plugin made an AI request?
It walks the PHP call stack (debug_backtrace()) and matches file paths against the plugins directory to determine the originating plugin slug.
Will this work with future WordPress updates?
Yes. AI Valve relies only on the stable public hooks (wp_ai_client_prevent_prompt, wp_ai_client_before_generate_result, wp_ai_client_after_generate_result) provided by the WordPress AI connector API.
Are there developer hooks?
Yes. See the developer hooks documentation for available filters and actions.
What is the Abilities API guard?
On WordPress 7.1+, AI Valve can optionally enforce the same allow/deny/budget policy on the WordPress Abilities API. Enable Guard Abilities API in Settings; denied ability calls are logged and shown with an “Ability” badge in the Logs tab. The ability namespace is used as the policy subject, so per-plugin rules apply to abilities too. See the developer hooks documentation for the related hooks.
Does AI Valve work on multisite?
Yes. Each subsite has its own log table, settings, and budgets.
What happens when a plugin is blocked?
The plugin receives a WP_Error with code prompt_prevented instead of an AI response. The denied request is logged with the reason. See how-blocking-works.md for the full explanation.
How do I block all plugins and only allow specific ones?
Go to Settings → AI Valve → Settings. Set the Default policy to Deny. Switch to the Dashboard tab. In the Per-plugin access table, set the plugins you want to allow to Allow. Only explicitly allowed plugins will be able to make AI requests; everything else is denied by default.
Changelog
Admin UI rebuilt with React for faster, client-side rendering.
1.3.0
- Changed: Developer hooks renamed to the
aivalve_prefix (e.g.aivalve_plugin_policy). The oldsoderlind_aivalve_names still fire as deprecated aliases and will be removed in a future major version.
1.2.0
- Added optional WordPress Abilities API guard (WP 7.1+): per-namespace policy enforcement on ability execution, denial logging with an “Ability” badge, and new developer hooks.
1.1.6
- Fixed: WordPress.org review issues by correcting repository URLs and restoring the
ai-valvetext domain.
1.1.5
- Changed: Plugin-facing slugs, REST namespace, package metadata, docs, and admin UI prefixes from
ai-valvetosoderlind-aivalve. - Fixed: Plugin text domain now uses
soderlind-aivalveconsistently across PHP, JavaScript, and generated assets.
1.1.4
- Fixed: WordPress.org plugin review prefix compliance by renaming plugin-owned namespaces, constants, hooks, options, cron events, database keys, and admin script globals to the unique
soderlind_aivalveprefix. - Fixed: Migration and cleanup paths for existing
aivalve/ai_valveinstalls while keeping active identifiers uniquely prefixed. - Changed: Readme tags for improved clarity and relevance.
1.1.3
- Changed: Updated WordPress.org icons and banner.
- Fixed: Improved compatibility with custom plugin directory layouts and unique plugin-owned identifiers.
- Fixed: Resolved npm dependency security advisories.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best AI Valve alternatives
All AI plugins →FAQ
AI Valve: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org · checked Oct 5, 2026
Is AI Valve free?
Yes. AI Valve is free to download and use from the official WordPress.org plugin directory.
Is AI Valve safe to use in 2026?
AI Valve works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.
How many websites use AI Valve?
AI Valve is active on <10 WordPress websites and has been downloaded 354 times since it launched in May 2026. It was downloaded 62 times in the last 30 days.
Does AI Valve work with WordPress 7.1?
Yes. The developer has tested AI Valve up to WordPress 7.1.2, the latest release. It requires WordPress 7.0 or newer.
What PHP version does AI Valve need?
AI Valve requires PHP 8.3 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was AI Valve last updated?
The latest version, 1.3.0, was released on August 6, 2026 (2 months ago).
Who makes AI Valve?
AI Valve is developed and maintained by Per Søderlind.
What are the best alternatives to AI Valve?
The most popular alternatives to AI Valve are Elementor Website Builder (10M+ installs), All in One SEO (2M+ installs) and AI Agent by SiteGround (1M+ installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org — no credit card

