Overview
Usage is where you review saved AI activity and manage AI Puffer credits. In WordPress admin, go to AI Puffer > Usage. The screen has two tabs: Logs and Billing. Logs are for reviewing saved requests and conversations. Billing is for pricing rules, ledger activity, user balances, and WooCommerce credit packages.AI Puffer credits are internal plugin credits. They do not replace OpenAI, Google, Claude, Replicate, or other provider billing. Provider API usage is still billed by the provider account you connect.
Logs
Search, inspect, export, delete, and retain saved activity.
Pricing
Define how model usage is converted into AI Puffer credits.
Activity
Review credits added, debited balances, and usage entries.
Balances
Edit user balances and reset periodic usage.
WooCommerce Integration
Sell credit packages and publish a customer dashboard.
Troubleshooting
Check common setup and billing issues.

| Term | Meaning |
|---|---|
| Credit | An internal AI Puffer unit stored on a logged-in user’s account. |
| Balance | The user’s available prepaid credits. |
| Quota | A periodic usage limit for guests, users, or roles. |
| Pricing rule | A rule that turns model usage into credits. |
| Ledger | A record of purchases, admin balance changes, and usage. |
Logs
Open AI Puffer > Usage > Logs. Logs show saved activity from AI Puffer modules. Use them to review conversations, inspect request metadata, check vector search results, export records, and control retention.Conversation Logs
Conversation logs store the saved message history for chatbot and other AI requests. Use filters to find the records you need, then open a row to inspect the full exchange.| Control | Use it for |
|---|---|
| Search logs | Search saved log content. |
| Chatbot | Show all bots, one bot, or logs with no bot. |
| Module | Filter by module. |
| Date range | Show the last 7, 30, or 90 days. |
| Export logs | Download matching logs as a CSV file. |
| Delete logs | Delete logs matching the active filters. |

Vector Scores
When a chatbot, Content Writer request, or other AI request uses vector context, the assistant message can show a Score badge. The score shows how closely the retrieved content matched the user’s request. Click the badge to see the vector provider, source, score, and content preview.| Score | Meaning |
|---|---|
| 85%+ | Strong match. |
| 70-84% | Usually useful. |
| 50-69% | Weak match. Review the source text. |
| Below 50% | Poor match. The answer may be using unrelated context. |

Export and Delete
To export logs:- Open AI Puffer > Usage > Logs.
- Apply filters if needed.
- Open the actions menu.
- Click Export logs.
- Open AI Puffer > Usage > Logs.
- Apply filters if you only want to delete part of the log history.
- Open the actions menu.
- Click Delete logs.
- Confirm the action.
Log Retention
Log retention automatically removes old logs. To configure it:- Open AI Puffer > Usage > Logs.
- Click Set retention.
- Enable Auto-delete logs.
- Choose Delete logs older than.
- Save the setting.

Billing
Open AI Puffer > Usage > Billing. Billing connects three things:- Pricing rules decide how much a request costs in AI Puffer credits.
- Balances store prepaid credits for logged-in users.
- Quotas limit usage for guests, users, or roles when a balance is not enough.
Pricing
Open AI Puffer > Usage > Billing > Pricing. Pricing rules tell AI Puffer how many credits a model operation should cost.How Pricing Works
Credits are internal AI Puffer units. You decide how many credits each request should cost. Use Flat when every request should cost the same amount. Use Per 1K Tokens when longer chat or form requests should cost more. Use Per Image or Per Video for media tools. For chat and AI forms, tokens are the pieces of text sent to and returned from the AI provider. Input tokens are the user message, instructions, and context sent to the model. Output tokens are the AI response. Example token rule:| Field | Value |
|---|---|
| Input rate | 1 credit per 1K input tokens |
| Output rate | 2 credits per 1K output tokens |
| Usage | Calculation | Cost |
|---|---|---|
| Input | 800 / 1000 x 1 | 0.8 credits |
| Output | 300 / 1000 x 2 | 0.6 credits |
| Total | 0.8 + 0.6 | 1.4 credits |
| Field | Value |
|---|---|
| Billing method | Flat |
| Unit rate | 5 credits |
- Click New Pricing.
- Select Usage type.
- Select Provider & Model.
- Select Billing method.
- Enter the rate.
- Click Save Rule.


| Module | Usage type |
|---|---|
| Chatbot | Chat |
| AI Forms | Form Submit |
| Image Generator | Generate, Edit, Video |
| Billing method | Applies to | Rate field |
|---|---|---|
| Per 1K Tokens | Chat and AI Forms | Input rate and output rate. |
| Per Image | Image generation and image editing | Unit rate per image. |
| Per Video | Video generation | Unit rate per video. |
| Flat | Any supported usage type | One fixed unit rate per request. |
If a matching pricing rule exists, AI Puffer uses that rule to estimate and record credit usage. If no rule matches, it falls back to the raw recorded usage units.
Activity
Open AI Puffer > Usage > Billing > Activity. Activity shows the ledger for the selected time range. Available ranges:| Card | Meaning |
|---|---|
| Credits Added | Credits added through purchases or admin adjustments. |
| Balance Debited | Credits deducted from user balances. |
| Quota-Only Usage | Usage that did not deduct a balance. |
| Ledger Entries | Total ledger records in the selected range. |

Balances
Open AI Puffer > Usage > Billing > Balances. Balances is for logged-in WordPress users. Use it to search users, edit credit balances, review periodic usage, reset usage, and view purchase history. The table includes:| Column | Meaning |
|---|---|
| User | Display name and email. |
| Credit Balance | Editable prepaid credit balance. |
| Usage | Recorded periodic usage and active scopes. |
| Latest Reset | Most recent usage reset time. |
| Actions | Details, Reset all, and History when available. |
- Search for the user.
- Edit Credit Balance.
- Press Enter or click outside the field.
- Click Details for a user.
- Click Reset usage for one scope, or Reset all for all scopes.
- Confirm the reset.


WooCommerce Integration
Open AI Puffer > Usage > Billing > WooCommerce. Use this tab to publish a customer dashboard and connect WooCommerce products to AI Puffer credits.WooCommerce credit delivery requires a WordPress user account. Guest checkout orders without a linked user cannot receive credits automatically.
- Create a WordPress page, such as Credits & Usage.
- Add this shortcode:
- Publish the page.
- Open AI Puffer > Usage > Billing > WooCommerce.
- Set Customer dashboard URL to that page.
- Set Default buy credits URL if you want dashboard buttons and quota messages to send users to a specific page.

| Attribute | Default | Use it for |
|---|---|---|
chatbot | true | Show or hide chatbot quota usage. |
aiforms | true | Show or hide AI Forms quota usage. |
imagegenerator | true | Show or hide Images quota usage. |
title | Credits & Usage | Dashboard title. |
intro | View your credits, purchases, and quotas. | Intro text. |
buycredits | true | Show or hide the buy credits button. |
buycreditslabel | Buy credits | Buy credits button label. |
buycreditsurl | Empty | Override the buy credits URL. |
purchasehistory | true | Show or hide recent purchase history. |
- Open WooCommerce > Products.
- Create or edit a product.
- Find the AI Puffer: Credit Package box.
- Enable Sell this product as an AI Puffer credit package.
- Enter Credits Granted Per Quantity.
- Set the normal WooCommerce product price.
- Publish or update the product.

Troubleshooting
Pricing model is missing
Pricing model is missing
- Open AI Providers.
- Confirm the provider API settings are saved.
- Sync models for that provider.
- Return to Usage > Billing > Pricing and create the rule again.
Credits were not granted after purchase
Credits were not granted after purchase
Check these items:
| Check | Expected value |
|---|---|
| WooCommerce order status | Completed. |
| Order user | Linked to a WordPress user account. |
| Product setting | Marked as an AI Puffer credit package. |
| Credit amount | Greater than 0. |
Customer dashboard does not show usage
Customer dashboard does not show usage
- Confirm the visitor is logged in.
- Confirm the page contains
[aipkit_token_usage]. - Check role access if role access is enabled.
- Confirm the related module has recorded usage for that user.
- Confirm the shortcode attribute for that module is not set to
false.
User sees a quota message after buying credits
User sees a quota message after buying credits
Check these items:
- Confirm the WooCommerce order is completed.
- Confirm the user’s credit balance increased in Usage > Billing > Balances.
- Confirm the user is logged in.
- Confirm the module has a matching pricing rule.
- Confirm the request cost does not exceed the user’s remaining balance plus available quota.
Logs are growing too large
Logs are growing too large
- Open Usage > Logs.
- Click Set retention.
- Enable Auto-delete logs.
- Choose a shorter retention period.
- Delete old logs manually if needed.
Balance changes are not visible in Activity
Balance changes are not visible in Activity
- Open Usage > Billing > Activity.
- Select a date range that includes the change.
- Check whether the balance was changed from Usage > Billing > Balances or through a completed WooCommerce order.