What garak cost of ownership covers when the tool itself is free
Your team has been asked to run garak against LLM models or applications, and the first question is what it will cost beyond the license. garak is free and Apache 2.0 licensed, so there is no license fee to budget. The cost of ownership sits in three places: the model API or GPU time each scan consumes, the engineering effort to configure targets and review results, and the ongoing work of running scans on a schedule and keeping them comparable over time. Each of these is paid for differently. API charges come from your model provider, GPU time comes from your own infrastructure or a cloud account, and engineering effort is internal salary or partner fees under a written scope.
Most organizations start with an in-house pilot, usually one engineer running the command-line tool against one model. Teams tend to bring in a partner when the work grows past that. Common triggers include a new model launch that needs a baseline before release, a customer security questionnaire that asks for evidence of LLM testing, or a move away from manual jailbreak testing toward repeatable scans. Before deciding, check who will own the scan pipeline after the first run, who reviews failures, and whether the target is a model you can call directly or an application behind a gateway, since the second usually takes more setup effort.
When you request a quote, ask for each cost component to be listed separately: target configuration, probe selection, the number of runs per month, the expected API or compute spend per run, and time for result review and remediation tracking. Ask which costs are one-time, such as building the REST endpoint definition, and which recur, such as re-running scans after each model or prompt change. Confirm the expected model API pricing with your provider and the GPU hours with your platform team, because garak itself adds no fee. Also note that garak's default of 5 generations per prompt multiplies model calls, so the probe count you choose will drive most of the recurring spend.
What a garak cost of ownership review includes
A garak cost of ownership review turns a free tool into a budget you can defend. Each component below feeds the next, so the cost baseline reflects which targets you scan, how often, and who runs and reviews the results.
Inventory of targets and generators
The review lists every model, gateway and application garak will test, along with the generator each one needs. Hosted API models, self-hosted models run through llama.cpp, and custom endpoints reached through the REST generator each carry different cost drivers. Confirm which targets are in scope now and which are planned, because each target adds its own run cost.
garak READMERun-cost model per target
For each target and probe set, the model estimates the generations a run makes and the API or GPU time those generations consume. Garak's default of 5 generations per prompt multiplies the prompt count, so probe selection moves the bill more than the tool itself. Ask the partner to show the formula and the inputs so you can rerun it when probes change.
Staffing and operations estimate
This component estimates the people time for configuring targets, running scans, reviewing JSONL reports and routing findings to owners. Review effort often exceeds compute cost, and it recurs with every release and every new target. Ask who owns triage, who approves changes to probe sets, and how many hours per cycle the plan assumes.
Upgrade and maintenance allowance
garak ships frequent releases, so the review budgets time to test new versions and pin the one you use for comparable results. It also accounts for updating YAML endpoint configurations when a target's API changes. Confirm how often the team expects to upgrade and who signs off before a version change reaches the scan schedule.
garak releasesRun schedule with expected generation counts
The review produces a schedule that states which targets run, which probes run, how often, and the expected generation count for each run. This turns the cost model into a plan you can compare against actual API invoices. Check that the schedule avoids unintended load on production endpoints and that it leaves room for reruns after remediation.
Written cost baseline and handover note
The final deliverables are a cost model workbook, the run schedule, and a handover note that records assumptions, owners and the reports each run produces. The baseline lets you measure drift after the first few cycles. Ask for the workbook in a format your finance and security teams can edit, and confirm who keeps the garak.log and JSONL archives.
What drives garak run cost up or down
This table compares the main drivers of garak run cost and effort, why each one moves the bill or the review workload, and how to keep it under control. Read each row as a lever: the cost of a scan is roughly the number of targets multiplied by the probes, generations and environments you choose, plus the people time needed to review the output.
| Driver | Why it moves cost or effort | How to keep it down |
|---|---|---|
| Number of targets | Each model or application is a separate scan, so API calls, compute time and report volume scale with every target added. | Start with the models and endpoints that reach users or sensitive data, then add targets in later phases. |
| Probe families selected | Broad runs execute many probes, each with its own prompts and detectors, which raises API calls and runtime. | Narrow probes to the risk categories in scope, such as prompt injection or data leakage, and document why others were excluded. |
| Generations per prompt | garak makes 5 generations per prompt by default, so this setting multiplies model calls for every probe that runs. | Keep the default for baseline comparisons, and change it only with a recorded reason so runs stay comparable. |
| Hosted API versus local gguf models | Hosted API models bill per request or token, while local gguf models through llama.cpp shift the cost to GPU or CPU hardware and operator time. | Estimate API spend from a small pilot run, and compare it with the hardware and power cost of running a local model. |
| Number of environments | Separate development, staging and production scans each repeat the same probe set, so total runs and reports grow with each environment. | Run the full suite on one representative environment and use smaller probe sets for the others. |
| REST endpoint complexity | Authentication flows, custom headers and response parsing in the YAML configuration take engineering time to build and debug before any scan runs. | Test the configuration against a single prompt first, and reuse one tested YAML file across scheduled runs. |
| Review volume of JSONL reports | Each run writes a JSONL report of every attempt and its evaluation, so reviewer hours grow with the number of failing attempts. | Triage by probe and failure rate, assign owners per category, and track recurring failures instead of re-reviewing each attempt. |
| Model version drift | Scanning a model that changes without notice forces repeated runs and makes results hard to compare over time. | Schedule runs against a fixed model version and record the version in each report so results can be compared. |
Where garak spend actually lands: API, GPU and people
garak itself costs nothing to license, so the budget sits in three pools: model API charges, GPU time for locally hosted models, and the engineering hours spent configuring targets and reviewing results. The first pool is usually the one that surprises teams, because it scales with how much garak sends. Every probe runs one or more prompts, and by default garak makes 5 generations per prompt. A scan against a hosted model therefore multiplies the probe count, the prompts per probe and those 5 generations into a request count that the provider bills per request or per token. Before the first scan, count the probes in the profile you plan to run and multiply through, then compare that figure with the provider's published rates.
GPU time applies when the model under test runs on your own hardware, for example Hugging Face Hub models or gguf models served through llama.cpp. Here the cost is compute you already pay for or rent: instance hours, idle capacity and the time a shared GPU is unavailable to other teams. Longer probe sets and more generations increase runtime, so GPU cost moves with the same settings that drive API cost. Ask whether the target model fits on the hardware you have, how long a full run takes on it, and whether scans can be scheduled outside peak use. Also confirm the pricing terms of each model provider directly, because garak does not set them and rates change.
Engineering time is the pool most often underestimated. Someone must configure generators for each target, which for a custom endpoint means writing and testing a REST generator file, and then review every FAIL result. A probe that fails at a set rate is a signal to investigate, not a confirmed defect, so reviewers must triage false positives, decide which findings matter for the application and track fixes across runs. Plan this as recurring work tied to each scan cycle, and ask any partner quoting the work to state which of these tasks is included, how many targets are covered and who owns triage after handover.
How a garak cost review runs from inventory to handover
The sequence turns an unclear garak scanning budget into a measured cost model, an agreed run cadence and a handover package that the client's own team can operate and re-price.
Confirm scope and target list
DeployOpen and the client agree which models, gateways and applications are in scope, who owns each target, and which environments garak may reach. The output is a written target register with owners, environments and any endpoints that must not receive scan traffic. The step is done when the client signs off the register as part of the written scope, and the timeline is set in that same scope.
Inventory generators and their billing
For each target, DeployOpen records the garak generator it will use: Hugging Face Hub, Replicate, OpenAI API, AWS Bedrock, LiteLLM, llama.cpp (gguf) or the REST generator for custom endpoints. For each one, the record notes who pays for inference, whether billing is per token, per request or per instance hour, and whether the client's account already has quotas or rate limits. The output is a generator inventory that shows where each dollar of scan spend would land. Confirm current pricing with each provider, since it is not supplied here.
Pilot a small probe set
DeployOpen runs a limited probe selection against one or two targets with the default settings, so the team can see real behavior before committing to a full scan plan. Each run writes a JSONL report of every attempt and its evaluation, and a garak.log file that continues across runs. The output is a pilot run record that shows the attempts made and the evaluations returned for each probe. The step closes when the pilot completes and the team has confirmed the run is repeatable.
Measure generation counts from logs
Using the pilot output, DeployOpen counts generations per probe and per target. garak makes 5 generations per prompt by default, so the number of prompts multiplied by that count gives the request volume that drives API or GPU charges. The counts are read from the garak.log and JSONL files rather than estimated from probe names. The output is a measured table of requests per probe per target, which is the main input to the cost model.
Build the cost model
DeployOpen builds a workbook that combines the measured request counts with each provider's billing terms, the compute cost of any self-hosted generator, and the engineering hours for configuration, result review and remediation tracking. Costs are split into one-time setup, such as writing REST generator YAML and authentication handling, and recurring items, such as each scan run and the review of its output. The output is a workbook with editable assumptions, so the client can change prompts per probe or run frequency and see the effect.
Agree the run cadence
The client and DeployOpen decide how often scans run, which probes run at each cadence, and when a version change in garak or in the target model triggers a rerun. Because garak releases are frequent, the cadence also sets how often the pinned version is reviewed. The output is a written cadence with triggers, owners and the expected review path for FAIL results. The cadence is then fed back into the cost model so recurring spend reflects the agreed schedule.
Hand over the workbook and runbook
DeployOpen delivers the cost workbook, the target register, the generator inventory and a runbook that covers how to launch a scan, where the JSONL and garak.log files are stored, how to recount generations after a change, and how to request a fresh quote. The client's team runs one scan themselves to confirm the package works. The step is complete when that handover run succeeds and the client accepts the package under the written scope.
Which parts of garak cost work stay in-house and which go to a partner
Engineering teams usually keep the hands-on work that depends on knowing their own endpoints: installing garak from PyPI, writing generator configuration, choosing which probes run against which targets, and reading the JSONL reports and garak.log file after each run. Partners are more often asked to build the initial REST generator configuration for a custom application, set up repeatable scan jobs, and document the pipeline so the internal team can run it.
- Endpoint configuration: Keeping the YAML description of your gateway or application in-house is safer, because only your team knows the authentication headers and response formats.
- Probe selection: Your security engineers should approve which probes run, since probe choice determines what risk is tested.
- Pipeline build: A partner can script scheduled scans and output handling, which is often a fixed-scope task.
- Result triage: Reviewing FAIL results and deciding what counts as a real weakness needs staff who understand the application.
- Skills needed: Python 3.11 or newer, Linux or macOS administration, REST and authentication knowledge, and familiarity with LLM attack categories.
Check whether your team can maintain the scan pipeline after handover, and confirm the skills gap in writing before scoping.
Finance and procurement teams own the cost model, even though garak itself carries no license fee. Their in-house work covers tracking model API charges, GPU hours where local models are tested, and staff time spent on configuration and review. Because garak is free and Apache 2.0 licensed, the spend appears under API and compute budgets and under internal labor, not as a software purchase line.
- Cost model ownership: Finance should own the spreadsheet or dashboard that tracks API tokens, GPU time and staff hours per scan cycle.
- Quote evaluation: When comparing partner proposals, ask for effort broken down by scoping, configuration, pilot measurement and handover, with the assumptions stated.
- Recurring versus one-time costs: Separate the initial setup from ongoing scan runs, report review and upgrade work, since the recurring share usually drives the total.
- License review: Procurement can confirm the Apache 2.0 terms with legal and record that no vendor license is required for garak itself.
- Skills needed: Cloud billing literacy, the ability to read usage reports from model providers, and enough technical context to question effort estimates.
Ask any partner for the assumptions behind each line item, and confirm which API accounts and billing tags the scans will use before approving a budget.
The AI product owner decides which application or model is worth testing and how the results affect release decisions. This role keeps the scope decisions in-house, because only the product owner knows which features, user groups and data sources matter. Partners are often asked to run pilot scans, measure results against an agreed baseline and prepare the findings for the product team.
- Scope decisions: Choose which applications, models and endpoints are in scope, and document why others are excluded.
- Acceptance criteria: Define what a FAIL means for the product and which failure rates require remediation before release.
- Pilot measurement: A partner can run a pilot and report run-to-run comparisons, which is often a fixed-scope deliverable.
- Remediation planning: The product team owns fixes to prompts, guardrails and application logic that scans reveal.
- Skills needed: Understanding of the product's threat model, familiarity with prompt injection and data leakage risks, and the ability to weigh findings against user impact.
Confirm who will own remediation and retesting before a pilot starts, so findings do not stall once the scan report is delivered.
Recurring garak costs after the first scan cycle
This table lists the cost lines that continue after garak is live, who pays for each, and what drives it up or down. Use it to build a recurring budget and to frame questions for any partner quote, since garak itself is free and the recurring spend sits in model calls, people and host upkeep.
| Cost line | Recurring or one-time | What drives it and what to ask |
|---|---|---|
| Model API or GPU spend per scheduled run | Recurring per run | Number of probes, generations per prompt (5 by default), target model size and provider pricing. Ask for an estimate per run at your chosen probe set and schedule. |
| Engineering time for result review and triage | Recurring per run | Volume of FAIL results in JSONL reports and how many are false positives. Ask who reviews, how often, and what triage steps are included. |
| Keeping garak current and pinned | Recurring per release | garak ships frequent releases (v0.17.1 on 16 October 2026 is the latest supplied release). Pinning keeps results comparable, but upgrades and re-baselining take time. Ask how version changes are tested. |
| Python 3.11+ host maintenance | Recurring | The PyPI package requires Python 3.11 or newer, so OS and interpreter patching on scan hosts must be planned. Ask who owns host patching and dependency updates. |
| Storage and retention of reports and logs | Recurring | JSONL reports of every attempt and the garak.log file grow with each run. Retention periods come from your policy. Ask where logs are stored and who deletes them. |
| Internal skills to run the schedule | Recurring staffing | Someone must maintain YAML target configs, credentials, schedules and dashboards. Confirm which roles your team can cover before any handover. |
| Initial setup and target configuration | One-time | Building the first REST or model configs and baselines is largely a one-time effort. Changes to targets later reopen this work. |
What inflates garak run costs and how to stop it
garak itself is free, so spend comes from the model calls and compute each scan triggers. The six risks below share one root: scans that generate more attempts, against more targets, more often, than the question being asked requires. Each card names the control that keeps a run proportionate and reproducible.
Full probe sets on every target
garak's default probewise harness runs each selected probe with its recommended detectors, and by default makes 5 generations per prompt. Running the full probe set against every model multiplies attempts across the whole matrix before anyone has decided what matters for that system. Set a probe budget per target: name the probe families tied to the risks the system actually carries, such as prompt injection for an agent with tools, and lower the generation count only where your review plan allows it. Ask for a per-target attempt estimate before the first full run.
garak READMEScanning production endpoints
When the target is a billed production API, every probe attempt is a paid call and can also add load to live users. Test against a staging deployment or a dedicated key with a spending cap wherever the provider supports one. Confirm with the provider how the scan's traffic is billed and whether it counts toward rate limits your customers depend on. Keep a separate environment label in each run so cost reports can be split by target.
Uncontrolled reruns
A failed or inconclusive run is often repeated with the same settings, and each repeat pays the full model and compute cost again. Add a rule that a rerun needs a stated reason, such as a changed target, a new probe, or a fixed harness error, and record that reason with the run. Review the previous JSONL report before rerunning so that the same output is not paid for twice. Track the number of runs per target per month as a cost indicator.
Comparing runs across versions
A change in the garak version, its probe set, or the model version behind the target can shift results, so a comparison between runs may reflect the tooling instead of the system. Pin the garak version and the target model identifier for every baseline, and record both in the run metadata. When garak is upgraded, such as to a later release like v0.17.1, rerun the baseline on the new version before treating differences as real. This avoids paying for scans whose results cannot be compared.
garak releasesHand review of unfiltered output
Each probe attempt produces output that someone may need to read, and reviewing every attempt by hand does not scale across targets and runs. Use the evaluator results and the failure rate to decide which probes need human review, and sample passing attempts instead of reading all of them. Set a reviewer time budget per run and assign owners for each finding category. Ask whether the review process is in the quote, since reviewer time is often the largest recurring cost.
Losing reports and logs
Each run writes a JSONL report of every attempt and its evaluation, and garak.log carries debugging context across runs. If these files are deleted, overwritten, or stored without a naming scheme, the run cannot be reproduced or explained to an auditor, and the whole scan must be paid for again. Write a retention rule that names where reports live, how they are labeled by garak version and target, and how long they are kept. Store them with access controls, since the reports contain generated content that may be sensitive.
garak user guideHow a garak run turns into a recurring cost line
The path starts with the scope and target list, which decide which generator a run calls: a hosted API, a local GPU model, or a REST endpoint. garak sends probes through detectors at the configured generation count, and each attempt that costs tokens or GPU time is billed to whoever runs the target. The run writes a JSONL report and a garak.log file, and engineers spend review time on those outputs before remediation. Findings then feed back into the probe budget, so check that each loop is capped before it repeats on a schedule.
Each generator choice adds a billed line, and review time follows every run.
Questions buyers ask about garak cost and effort
What does it cost to license garak?
garak is licensed under Apache 2.0 and the maintainers describe it as a free tool, so there is no license fee to pay for the software itself. The NVIDIA GitHub project hosts the source and the user guide at docs.garak.ai documents its use. Confirm any terms that apply to your use with the maintainers and the NVIDIA GitHub project before you rely on them in a contract or policy. Your real spending lies in the model access used during scans, the engineering time to configure and review them, and the operations that keep them running.
What drives the API or GPU bill for garak scans?
The bill follows from how much you generate and where the model runs. Costs rise with the number of probes you select, the number of generations per prompt (garak defaults to 5), the size of the target model, and how often you repeat runs. A hosted API charges per request or token, so each scan adds to a metered bill. A self-hosted model consumes GPU time whether or not the scan is useful. Ask a partner to show the expected number of attempts per run and the compute or API rate you will pay for it.
How long does a garak cost review take?
The timeline for a cost review is set in the written scope agreed before work starts. It depends on how many models and applications are in scope, how many endpoints need configuration, and how much of your current test history must be reviewed. Ask for the scope, deliverables and dates in writing before you compare offers.
Can our team estimate garak costs without a partner?
Yes, a team with access to its target models can estimate costs directly. Start by counting the probes you plan to run, the generations per prompt, and the number of runs per release or per model change. Multiply that attempt count by your API price or GPU hourly cost. The harder part is effort: configuring targets, reviewing JSONL reports, and separating true failures from false positives. Teams without prior LLM security testing experience often underestimate that review time.
What does the client need to provide for a garak engagement?
A partner needs access to the systems and people that define what is being tested. Typically this includes the list of models and applications in scope, credentials or test accounts for those targets, a non-production or approved test endpoint, rules about acceptable load and data handling, and a named owner who can decide what to fix. Your security and platform teams should also confirm where scan hosts run and where the reports are stored. Your own team carries the ongoing review of results after handover.
Is there a commercial edition of garak?
The supplied information describes garak as a free tool under Apache 2.0, and it does not describe a separate commercial edition. Confirm the available terms, support options and any paid offerings directly with the maintainers and in the NVIDIA GitHub project before you assume one exists. DeployOpen's services are separate from the tool itself and are priced from a written scope, not from a garak edition.
How do we ask a partner for a garak quote?
Send a written description of the scope so the partner can quote against it. Include the models and applications to target, whether they are hosted APIs or self-hosted, the probe categories you care about, how many scan cycles you expect per release, and who will review the results. Ask the partner to itemize effort for scoping, endpoint configuration, scan runs, result review and remediation support, and to separate one-time work from recurring operations. Also ask which compute or API costs you pay directly and which are included.
What your team needs to provide before a garak cost review
Before anyone can estimate what garak will cost you, your team needs to hand over a short set of inputs. The most important is a named owner on the security side and a named owner on the platform side, because the cost model depends on decisions only those two roles can make: which risk categories matter, how often scans run, and who signs off on findings. Without both names, the review stalls at the first question about scope, and every later assumption gets made by default rather than by your organization.
Next, list every model and application in scope, with its hosting location and the billing account that pays for it. This list drives most of the cost. garak's cost sits in model API calls or GPU time, so a hosted OpenAI or Bedrock model is billed per request on an account you already have, while a local gguf model run through llama.cpp consumes your own hardware. Note which endpoints sit behind a gateway or REST service, because that affects how much configuration work the REST generator will need. Ask finance or the platform team to confirm which account pays for each target.
Access comes next. Provide API keys or a test tenant for each provider, and make sure they are scoped to test environments with spending limits and separate logging. Do not point garak at production keys or production endpoints. Scans send large volumes of adversarial prompts, and a poorly scoped key can turn a routine run into an unplanned bill or an unintended load on a live service. Also supply any existing test prompts or prior manual jailbreak results, since reusing them reduces the probe work you would otherwise pay to design. Finally, agree on a target run cadence, such as per release or per week, because the number of runs multiplied by generations per prompt (5 by default) sets the recurring API or compute spend. Confirm the cadence and the decision on risk categories in writing before the review begins.
How DeployOpen scopes, delivers and hands over garak cost work
DeployOpen approaches garak cost of ownership as a written scope covering the model API or GPU spend, the engineering time to configure targets and review JSONL reports, and the recurring scan operations. Engagements are fixed-scope, so the cost drivers are agreed before any work starts.
How we scope
- Inventory the models and applications garak would target, and which are hosted APIs versus self-run models
- Estimate per-run compute and API spend from your chosen probes and the default five generations per prompt
- Document who pays for model tokens, GPU hours, engineering review and ongoing scan operations
How we build
- Configure garak targets, including REST generators for custom endpoints, and record the pinned version used
- Set up a cost-tracking method so each scan run's model calls and compute can be tied back to a budget line
- Test the scan setup against a small agreed probe set before any full-scope run is approved
How we hand over
- Deliver a written cost model listing one-time setup costs separately from recurring scan costs
- Provide run procedures, report review steps and a log of the cost assumptions behind each estimate
- Walk your team through reading JSONL reports and garak.log so review effort is budgeted and owned
How we support
- Offer ongoing support and scan operations as a retainer, with the cost agreed in the written scope
- Re-estimate cost when garak releases, new probes or changed model pricing affect your scan budget
- Keep the cost model current as target models change, so quotes for future runs stay traceable to the original scope

