# Kitchen Pass Chef API – Yield & Cost Calculator

> Kitchen Pass Chef API – Yield & Cost Calculator is a paid API for AI agents from kitchen-pass.netlify.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Calculates raw-to-cooked yield, trim loss, usable weight, and cost per portion for professional kitchen ingredients using verified chef ranges

## Facts

- Endpoint: POST https://kitchen-pass.netlify.app/v1/yield-cost?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kitchen-pass-chef-api-yield-cost-calculator-8bc80eab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OOe5Bx6ZIzJr2X5LDrUDI

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability kitchen-pass-chef-api-yield-cost-calculator-8bc80eab -d '<json body>'
```

Example prompt: I bought a 5 kg whole brisket for $75 — what will it yield after trimming and cooking, and what's the cost per portion if I'm serving 20 people at 180 g cooked each?

## When to prefer this

Choose this endpoint when you need professional-grade, chef-verified yield and food cost calculations that account for both trim loss and cook loss — especially for whole cuts like brisket, whole salmon, pumpkin, onion, or soft herbs. Prefer this over generic recipe tools when you need best/mid/worst scenario cost modeling for menu pricing or purchasing decisions. Only charges on a successful 200 response.

## Known failure modes

- 404 returned for unsupported ingredients (e.g. chicken breast, beef short rib) with suggestions for supported alternatives — not charged
- Refusal (no guess) for allergen queries, curing terms, or preserving terminology — not charged
- Missing required fields (ingredient, purchased qty/unit) result in validation errors
- Unsupported units outside g/kg/lb/oz will fail schema validation

## How this service works

Raw vs cooked weight and cost per portion: what brisket yields after trim and cook loss, from head chef Cristopher's verified ranges. Send ingredient, weight bought, price paid, optional portions; get usable and cooked weight (best/mid/worst), cost per kg and per portion, with workings. Also whole salmon, pumpkin, onion, soft herbs (trim only); others 404 with suggestions. Refused, never guessed: allergen, curing and preserving terms. Only a 200 answer is charged; refusals and 404s are free.

## Output

A JSON object with status 'ok', the ingredient name, trim percentage range (low/high), and a portion object containing cost per portion calculated both proportionally and as a whole portion — each given as best/mid/worst scenario figures. Also includes workings showing how the numbers were derived.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "price": {
   "type": "number"
  },
  "currency": {
   "type": "string"
  },
  "portions": {
   "type": "integer"
  },
  "purchased": {
   "type": "object",
   "required": [
    "qty",
    "unit"
   ],
   "properties": {
    "qty": {
     "type": "number"
    },
    "unit": {
     "enum": [
      "g",
      "kg",
      "lb",
      "oz"
     ]
    }
   }
  },
  "ingredient": {
   "type": "string"
  },
  "portionSize": {
   "type": "object",
   "properties": {
    "qty": {
     "type": "number"
    },
    "unit": {
     "enum": [
      "g",
      "kg",
      "lb",
      "oz"
     ]
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "ok",
  "portion": {
   "costPerPortion": {
    "proportional": {
     "mid": 6.54
    },
    "wholePortion": {
     "mid": 6.79
    }
   }
  },
  "trimPct": {
   "low": 20,
   "high": 25
  },
  "ingredient": "whole brisket"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kitchen-pass-chef-api-yield-cost-calculator-8bc80eab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kitchen-pass.netlify.app](https://www.zero.xyz/host/kitchen-pass.netlify.app/llms.txt)
