Model Pricing & Budget
Pawz tracks token usage and costs across all AI providers, enforces daily budgets, and can automatically route tasks to cheaper models when appropriate.Per-model pricing
Pawz uses built-in pricing data to estimate costs in real time. Prices are per 1 million tokens.
:::info
Prices are based on each provider’s published rates. Local models (Ollama) have zero cost. For providers not listed (custom, OpenRouter, etc.), costs are estimated based on the closest matching model name.
:::
Cost comparison
To put these numbers in perspective, here’s the approximate cost for a 10,000-token conversation (5K input + 5K output):Cache token accounting
When providers support prompt caching (e.g., Anthropic), Pawz applies reduced rates for cached tokens:
:::tip
Anthropic’s prompt caching can dramatically reduce costs for repetitive tasks. Long system prompts and skill instructions benefit the most from caching since they remain constant across turns.
:::
Daily budget
Pawz can enforce a daily spending limit to prevent runaway costs.Configuration
Set to
0 to disable budget enforcement entirely.
Configure the budget in Settings → Agent Defaults or directly in the engine config:
Budget enforcement
The budget is checked before each API call. Pawz provides progressive warnings as spending increases:
:::warning
When the daily budget is reached, all AI API calls are blocked until the next day (midnight UTC). Ongoing conversations will stop receiving responses. Set a budget that accommodates your expected daily usage.
:::
DailyTokenTracker
Pawz maintains per-model cost tracking through theDailyTokenTracker:
- Tracks input and output tokens separately per model
- Calculates costs using the pricing table above
- Applies cache token discounts automatically
- Resets daily at midnight
complete events with usage stats).
Auto-tier model selection
Theauto_tier feature automatically routes tasks to cheaper or more expensive models based on complexity.
Task complexity classification
Pawz analyzes each message to determine if it’s simple or complex:
The classification uses keyword signals and heuristics to decide. When
auto_tier is enabled in your model routing config, simple messages skip the expensive default model entirely.
Model routing configuration
Resolution order (highest priority first):
- Per-agent override (
agent_models) - Per-specialty override (
specialty_models) cheap_model(ifauto_tierenabled and task is simple)default_model
Tips for cost optimization
:::tip Cost optimization strategies-
Use
auto_tier: Enable automatic model selection so simple queries use cheap models. This alone can cut costs 50%+. - Set a daily budget: Even a generous budget prevents accidental runaway costs from automated tasks or cron jobs.
- Use Ollama for development: Local models are free. Use them for testing agent configurations before switching to paid providers.
- Match model to task: Don’t use Claude Opus for simple questions. Create chat modes (see Foundry) for different tiers.
-
Enable session compaction: Long sessions consume more tokens per turn. Use
/compactor let auto-compaction manage context size. - Leverage prompt caching: Anthropic’s cache reads cost only 10% of normal input tokens. Consistent system prompts and skill instructions benefit most.
-
Use
worker_modelfor orchestration: In multi-agent projects, the boss agent should use a capable model, but workers can use cheaper alternatives. -
Monitor the
completeevents: Each response includes token usage stats (input/output/total tokens and model name) so you can track spending in real time.

