Models & cost
You choose the AI model. You hold the key. You see the bill.
PolicyForge has no account and no hosted service in the middle. It connects directly to the AI provider you configure — or to a model on your own machine.
How AI is used
The AI rewrites text it is given. It doesn’t decide anything.
Works from your text
It merges and rewrites the framework text you loaded. It is never asked what a framework says from memory — that is the most expensive kind of mistake this could make.
Leaves decisions to people
Review frequencies, who owns a topic, what is in scope, whether a document is right, whether to publish, and whether you are compliant — each of those stays with a person.
Every call is logged
Which model, how many tokens, what it cost — including failed calls, because you were billed for those too. The log never stores your content, so it can’t leak it.
Connecting a model
Six ways to connect, and when to use each.
| Provider | Runs | Good for | Watch out for |
|---|---|---|---|
| Anthropic anthropic | Hosted | Direct access to Claude. Supports caching and batch pricing, which halves the cost of building a System Security Plan. | Hosted, so licensed frameworks like HITRUST aren’t sent to it unless you declare that your data agreement covers it. |
| Amazon Bedrock bedrock | Hosted | Keeps AI traffic inside an AWS account you already have security controls around. | Still a hosted service for licensing purposes. Optional extra, not in the Homebrew install. |
| Google Vertex vertex | Hosted | Keeps traffic inside Google Cloud, and supports caching. | Optional extra, not in the Homebrew install. |
| Local or compatible openai-compat | Either | Works with Ollama, llama.cpp, OpenRouter and most providers. On your own machine nothing leaves it and each run costs nothing — the default for licensed frameworks. | Quality depends on the model you pick, and a small local model needs its context window set deliberately. |
| LiteLLM litellm | Hosted | One setting reaches almost any AI provider, which makes comparing models easy. | No caching support, so repeated context is paid for in full. |
| Cascade cascade | Either | Pairs a cheap model with a stronger one, and escalates only when needed — the main way to control cost. | Two setups to maintain. The call log shows which model actually answered each time. |
PolicyForge works out where a provider runs from its address. policyforge boundaryshows what it decided and why, so you can check before sending anything.
What it costs
Measured cost of drafting documents.
For each topic, one merged requirements list plus a Policy, Standard and Procedure. Measured on 2026-09-17 with PolicyForge 1.2.1, when each topic had its own Policy, and not re-measured since.
| Model | Topics | AI calls | Tokens in | Tokens out | Cost | Time |
|---|---|---|---|---|---|---|
| GLM 5.3 Flash (budget) | 20 | 80 | 493,151 | 441,696 | $0.28 | 103 min |
| Claude Sonnet 5 | 5 | 25 | 270,695 | 254,612 | $3.09 | 37 min |
| Local model (Ollama) | — | — | — | — | $0.00 | depends on hardware |
Per topic: $0.014 or $0.62
A full 20-topic set on Claude Sonnet comes to roughly $12. That is extrapolated from five measured topics, so treat it as a ballpark, not a quote.
Cost is not quality
These runs were measured for cost only. Nobody graded the resulting documents, so the cheap row is not a recommendation.
What isn’t measured yet
Savings from caching weren’t captured in these runs. For models that “think” before answering, reported costs can be a floor, because hidden reasoning is billed but not always reported.
Using HITRUST, GovRAMP or SOC 2? By default that content only goes to a model on your own machine, so plan on a local model for it, unless your organization has a data agreement with a hosted provider and declares it.See how content is protected.