Costs & Pricing
What it costs to run the Agentic CLI tools that execute these workflows -- not a fee for the plugins themselves.
These Are Tool Costs, Not Plugin Fees
The dx-aem-flow plugins are free. This page explains what the AI tools that run them cost.
What you are actually paying for
The dx-aem-flow plugins (dx-core, dx-aem, dx-hub, dx-automation) are pure Markdown
skills, agents, and helper shell scripts. They have no runtime, no subscription, and no per-token
cost — they are open-source workflow definitions.
To execute those workflows you run an Agentic CLI tool such as Claude Code, Copilot CLI, Cursor, Codex, or similar. Those tools call large language models on your behalf, and that is what generates the cost.
The numbers on this page reflect:
- Subscription plans for the host CLI (e.g. Claude Max for Claude Code)
- Per-token API pricing from the model provider (e.g. Anthropic) when running headless automation
- Typical token consumption patterns we observe when these plugins drive a full story
They do not reflect:
- Any fee paid to this project, its maintainers, or the plugins themselves
- Costs specific to your organisation’s ADO / Jira / AEM infrastructure
If you switch host CLI or model provider, the cost structure changes accordingly — the workflows stay the same.
Two Pricing Models
Fixed monthly subscriptions for interactive use, per-token billing for automation.
Standard Developer
$100/month
Claude Max 5x
- Requirements analysis
- Planning and research
- Code reviews
- Bug triage
- Documentation
Power Developer
$200/month
Claude Max 20x
- Everything in Standard
- Full implementation pipelines
- Multiple stories per day
- Figma integration
- Heavy code generation
Automation
Per-run (API tokens)
Pay as you go
- Headless agents on ADO/Jira
- PR review and answer
- DoR / DoD checks
- Bug fix automation
- QA and doc generation
API Model Pricing
Token costs vary by model. Automation uses API billing.
| Model | Input | Output | Cache Read | Used For |
|---|---|---|---|---|
| Opus 4.6 | $5/MTok | $25/MTok | $0.50/MTok | Planning, code review |
| Sonnet 4.6 | $3/MTok | $15/MTok | $0.30/MTok | Execution, PR review |
| Haiku 4.5 | $1/MTok | $5/MTok | $0.10/MTok | File lookup, doc search |
API vs Subscription: Know the Cost Difference
Direct API usage can cost up to 10x more than a monthly subscription for the same work.
API Usage Is Significantly More Expensive
Running AI coding tools through direct API billing (pay-per-token) is roughly 8-10x more expensive than using the same models through a monthly subscription plan (e.g., Claude Max, GitHub Copilot, Cursor Pro). This applies to Claude Code and likely other AI coding providers as well.
Example — Claude Code (Opus 4.6): A typical heavy development day might consume 5-10M input tokens and 200-500K output tokens. On the API, that’s $30-75/day. A $200/month Max 20x subscription covers the same usage for roughly $7-10/day equivalent.
Recommendation:
- Interactive development — always use a subscription plan (Standard $100/mo or Power $200/mo)
- Automation agents — API billing is unavoidable (headless, no subscription option), so use model tiering and cost controls aggressively
- Don’t default to API keys for developer workflows when a subscription is available
Why It Costs What It Does
Context Is Expensive
High-quality code generation requires many cycles. A typical story involves ≈35 subagent invocations, and each invocation loads the full context: MCP tool schemas, project rules, codebase analysis, and prior spec files. Input tokens account for 99%+ of total usage — the AI reads far more than it writes. This is by design: thorough understanding of the codebase produces better, more consistent code.
Cost Controls
Multiple layers of protection prevent runaway spending.
Monthly Token Budget
Hard cap on monthly token spend with automatic shutdown when the limit is reached. No surprise bills.
Per-Agent Daily Limits
Each agent type has its own daily rate limit tuned to expected workload. Prevents any single agent from consuming the full budget.
Three-State Degradation
As spending approaches the cap: Normal (full operation) then Suggest-only (recommendations, no execution) then Halted (all agents stopped).
Optimization In Progress
Active work on prompt caching, context pruning, and smarter tool loading to reduce per-invocation costs without sacrificing quality.
Pin Models and Effort on Pipeline Hosts
Stop a new default model or a higher effort level from changing pipeline cost without anyone noticing.
Skills name a tier (model: opus), not a version, and the alias moves when a new
model ships. On a laptop that is what you want. On the agent pool that runs dx-automation
24/7 it means cost and behaviour can change overnight. Claude Code reads a
managed settings file that no project or user setting can override. On a Linux
agent it lives at /etc/claude-code/managed-settings.json (macOS:
/Library/Application Support/ClaudeCode/, Windows: C:\Program Files\ClaudeCode\).
The pipeline launcher loads user and project settings, and managed settings always apply on top.
Where the file comes from. The shipped pipelines use vmImage: ubuntu-latest,
a fresh Microsoft-hosted VM per job, so there is no machine to put the file on once. Either bake it
into a self-hosted agent pool, or write it in a step before the agent step:
- bash: |
set -euo pipefail
# Fail the job instead of writing a broken file (an undefined variable stays as the literal text).
printf '%s' "$MANAGED_SETTINGS" | python3 -m json.tool >/dev/null
sudo mkdir -p /etc/claude-code
printf '%s\n' "$MANAGED_SETTINGS" | sudo tee /etc/claude-code/managed-settings.json >/dev/null
displayName: Pin models (managed settings)
env:
MANAGED_SETTINGS: $(managedSettingsJson)Define managedSettingsJson as a pipeline (or variable-group) variable holding the JSON below
on one line. If it is missing, ADO passes the literal $(managedSettingsJson) and the
JSON check stops the job.
Recommended content:
{
"availableModels": ["claude-opus-5-5", "claude-sonnet-5-5", "claude-haiku-5-5"],
"availableModelsMatch": "exact",
"deniedModels": [],
"allowedProviders": ["anthropic"]
}availableModels + availableModelsMatch
Allowlist of the model IDs the pool may use. With “exact” (v2.1.283+), an entry such as
claude-opus-5-5 no longer lets in a later release that extends the ID. A new model needs
a one-line change here, which is the point. A skill or agent with model: opus whose alias
now points at an unlisted model steps down to the newest listed model in that family, so the run
continues on a model you approved. The Default option uses only a listed model; if none can be used,
Claude Code does not start. Haiku background models and helper requests that pick their own model are
not restricted by this list (deniedModels covers them). Bump the list when you upgrade.
deniedModels
Block a family alias (“opus”) or a version in every spelling, even when the allowlist
would allow it (v2.1.283+). Use it to keep a known-bad or too-expensive model off the pool.
allowedProviders
Managed settings only (v2.1.285+). The providers this machine may call: anthropic,
bedrock, vertex, foundry, and others. List the one your
contract covers so a stray environment variable cannot route a run to another provider.
maxEffortLevel
Caps effort on every provider (v2.1.267+). Anything higher (frontmatter, —effort, a
model default) is clamped. Set per model under modelSettings.<model>.maxEffortLevel.
Opt-in, not a KAI default: a cap of high turns the
effort: xhigh escalation tier into high, and that tier has not yet been
measured against high. If you want the cap, add it as a separate line:
"maxEffortLevel": "high"