---
title: "Undominated · Batch discount audit: review, setup & limitations · Undominated.ai"
canonical: https://undominated.ai/skills/undominated-batch-discount-audit/
description: "Audit batch API SLA windows, advertised vs realized discounts, queue starvation risk, and cancellation policies."
---

# Undominated · Batch discount audit: review, setup & limitations · Undominated.ai

> Audit batch API SLA windows, advertised vs realized discounts, queue starvation risk, and cancellation policies.

[← Explore all skills](/skills/)

EVIDENCE AND EVALUATION / Undominated.ai

# Undominated · Batch discount audit

Audit batch API SLA windows, advertised vs realized discounts, queue starvation risk, and cancellation policies.

 [See setup guidance ↓](#setup)[Original source ↗](https://undominated.ai/resources/skills/undominated-batch-discount-audit/definition.md)

SOURCE REVIEW

 Reviewed 2026-10-14
 Evidence 3 linked sources
 Publisher Undominated.ai
 Licence [MIT ↗](https://undominated.ai/resources/skills/undominated-batch-discount-audit/LICENSE.txt)
 Revision 8cd40afa5e89
 [Read what was—and wasn’t—checked ↓](#review)

“Audit batch API SLA windows, advertised vs realized discounts, queue starvation risk, and cancellation policies.”

 [Undominated.ai · upstream description ↗](https://undominated.ai/resources/skills/undominated-batch-discount-audit/definition.md) Our analysis follows below.

01 / THE REASONING

## Why this made the selection.

 - Pairs a bounded workflow with an offline Python checker and explicitly synthetic example inputs.
- Created for recurring evidence and comparison failures: missing facts remain unknown and every conclusion keeps its scope.
- It names a concrete failure mode: Does the provider allow graceful cancellation without billing unfinished requests?

### A good fit for

 - Verify realized batch discount percentages and turnaround SLA compliance against standard synchronous API baselines.
- Audit batch API SLA windows, advertised vs realized discounts, queue starvation risk.

### Weigh up before choosing

 - Checks pricing rate cards and declared turnaround windows; does not submit live asynchronous batch jobs.
- Fixture checks establish the documented local behaviour, not performance on an unrestricted set of real tasks.
- Public GitHub source availability is not yet verified; the complete download contains the reviewed source.
- A new npm install path is not yet verified. Use the complete source download.
- discount below threshold or SLA window too long).

02 / THE REVIEW RECORD

## What we actually inspected.

Source review has boundaries. A clear record is more useful than a “safe” badge.

### Material inspected

 - skills/undominated-batch-discount-audit/SKILL.md
- skills/undominated-batch-discount-audit/scripts/check.py
- skills/undominated-batch-discount-audit/examples/synthetic.json

### Our findings

 - First-party resource authored by Undominated.ai; this is our own verification record, not an independent endorsement.
- The download preserves the complete source and supporting files. Its manifest hashes identify the exact bytes.
- One input rule the file states is: `slaWindowHours`: positive integer (e.g. 24).
- One condition that blocks a pass is: SLA turnaround window ({sla_hours}h) exceeds maxTurnaroundHours ({max_h}h).

### Not established by this review

 - Model compliance with these instructions on arbitrary tasks
- Native integration in every agent host
- Public GitHub source identity
- Remote installation through the standard Skills CLI
- The new npm resource CLI installation

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

## Add a skill to your workflow.

[Upstream setup instructions ↗](https://undominated.ai/resources/skills/undominated-batch-discount-audit/definition.md)
 - Download the complete bundle from https://undominated.ai/resources/skills/undominated-batch-discount-audit/bundle.zip and extract it into a new directory.
- Place the extracted directory at .agents/skills/undominated-batch-discount-audit/ or your host's documented skills directory. Preserve SKILL.md, scripts, examples and licence files together.
- Run the documented synthetic example from the skill directory with Python 3.10 or later before using your own evidence.

### Before you start

 - An Agent Skills compatible host
- Python 3.10 or later for the optional checker

### Compatibility

Agent Skills compatible hosts · Python 3.10+

### Implementation

Python · Markdown

### Local, explicit inputs

 - read:user-selected-local-file

### Cost model

MIT source at no charge. Your agent host or model provider may charge for use; the included offline checks require no paid API.

THE COMPLETE REVIEWED DEFINITION

## Read it before you reuse it.

Original source bytes, with attribution. Review the host-specific setup notes above.

 Copy definition ↗ [Download complete resource + licence ↗](/resources/skills/undominated-batch-discount-audit/bundle.zip)[Raw Markdown ↗](/resources/skills/undominated-batch-discount-audit/definition.md)
 # Batch Discount Audit

Audit batch API SLA windows, advertised vs realized discounts, queue starvation risk, and cancellation policies before routing production pipelines to batch inference endpoints.

## Workflow

1. Compare standard (synchronous) per-token rates vs batch per-token rates for input and output.
2. Verify stated discount percentage:
 $$\text{Discount} = 1 - \frac{\text{Rate}_{\text{batch}}}{\text{Rate}_{\text{sync}}}$$
3. Audit turnaround SLA: verify completion window hours (e.g. 24 hours).
4. Evaluate queue starvation / timeout risk:
 - Does the provider allow graceful cancellation without billing unfinished requests?
 - Is partial delivery supported for completed requests in the batch?
5. Output structured audit verification receipt.

## Synthetic Input Format

JSON object with:
- `schemaVersion`: 1
- `provider`: string
- `model`: string
- `slaWindowHours`: positive integer (e.g. 24)
- `cancellationPolicy`: `"free_cancellation_unprocessed"` | `"billed_on_submission"`
- `rates`:
 - `standardPromptPerMillion`: non-negative decimal string
 - `standardOutputPerMillion`: non-negative decimal string
 - `batchPromptPerMillion`: non-negative decimal string
 - `batchOutputPerMillion`: non-negative decimal string
- `workload`:
 - `promptTokens`: non-negative integer
 - `outputTokens`: non-negative integer
- `assertions`:
 - `minDiscountRatio`: optional decimal string (e.g. "0.4500" for 45% minimum discount)
 - `maxTurnaroundHours`: optional integer

## Exit Codes

- `0`: Valid input and all assertions passed.
- `1`: Assertion failed (e.g. discount below threshold or SLA window too long).
- `2`: Malformed input or safety violation.

## Verification

```sh
python3 scripts/check.py examples/synthetic.json
```

The download contains SKILL.md . Extract the whole bundle; the supporting files are required. Inspect the included MANIFEST.json for file hashes.

By **Undominated.ai**. [Exact upstream source ↗](https://undominated.ai/resources/skills/undominated-batch-discount-audit/definition.md) · [Licence](/resources/skills/undominated-batch-discount-audit/LICENSE.txt) · [Attribution](/resources/skills/undominated-batch-discount-audit/ATTRIBUTION.txt)

SHA-256 8cd40afa5e8996701eb743240cfbed6fdd97255a3034935dfbba651599ed8436

 Read the applicable licence MIT License

Copyright (c) 2026 Undominated.ai

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

04 / FOLLOW THE EVIDENCE

## The source trail.

Our notes are separate from the original resource. Check upstream before adopting a new version.

 - [Original Undominated definition ↗](https://undominated.ai/resources/skills/undominated-batch-discount-audit/definition.md) Checked 2026-10-07 https://undominated.ai/resources/skills/undominated-batch-discount-audit/definition.md Supports: Workflow and input requirements, Stated limitations
- [MIT licence ↗](https://undominated.ai/resources/skills/undominated-batch-discount-audit/LICENSE.txt) Checked 2026-10-07 https://undominated.ai/resources/skills/undominated-batch-discount-audit/LICENSE.txt Supports: Redistribution terms and attribution
- [Complete source bundle ↗](https://undominated.ai/resources/skills/undominated-batch-discount-audit/bundle.zip) Checked 2026-10-07 https://undominated.ai/resources/skills/undominated-batch-discount-audit/bundle.zip Supports: Full local source, supporting files and integrity manifest

KEEP COMPARING

## Other approaches to consider.

Related by category or shared topics. These are alternatives to inspect, not a measured quality order.

 [### Undominated · A marginal block is not priced ↗ Refuse a marginal-block bill. A whole request uses the rate of the rung that contains its input length. This checker does not price either mode.](/skills/undominated-marginal-not-whole/)[### Undominated · A zero base is not defined ↗ Refuse a multiple whose base is zero. The multiple is not defined. This checker does not emit a quotient.](/skills/undominated-zero-base-undefined/)[### Undominated · Agent consensus cost audit ↗ Audits token costs and accuracy ROI of multi-agent consensus, majority voting, and debate protocols.](/skills/undominated-agent-consensus-cost-audit/)

 [AI Tools ↗](/tools/)[Skills ↗](/skills/)[Agents ↗](/agents/)[MCP Servers ↗](/mcp-servers/)[Workflows ↗](/workflows/)

## Continue your investigation

 - [Choose a toolkit](/tools/)
- [Inspect execution hosts](/agents/)
- [Check tool access](/mcp-servers/)
- [Check project dependencies](/check-repo/)
