OMENWORKS GitHub

Profile E Local Token & Prefill Estimator

Scope warning (RETRACTION.md): Cowrie v1.3.1 gates B2-b virtualization OFF on prompt-cached cloud APIs (Profile C), where extra fetch turns inflate output tokens by 2.34×–4.05× (pooled 3.19×) and make cached cloud prompts +86.5% to +153.7% (pooled +115.2%) costlier (receipt_exp_b1_b2b_multi_engine.json). Use A2-Split (98.2%–100.0% syntactic / 85.1%–99.1% volatile-trailer KV hit, 0 B KV written, 0 extra turns) on cached APIs. This calculator models Profile E local gross total token reduction and prefill compute avoided on fresh, uncached ≥16 KB (≥4,096-token) tool dumps only—no cloud dollar pricing is applied.

Inline JSON gross total tokens / mo1.08B tok / mo
Cowrie B2-b gross total tokens / mo (−89.4%)114.5M tok / mo
Gross total tokens avoided / mo965.5M tok / mo
Modeled local prefill time avoided / mo76.6 GPU-hrs / mo

RECEIPT BASIS & CAVEATS: Uses the measured clean 80-task ratio of −89.4% gross total tokens (prompt + completion; −94.8% net-new tokens; 2.48× wall time; accuracy parity under test 70/80 vs 62/80, p = 0.1338; 2 B2-b hijacks vs 0 inline) from receipt_exp_a2_accuracy_confidence.json on fresh, uncached ≥16 KB (≥4,096-token) tool dumps. Modeled prefill hours equal tokens_avoided / prefill_tok_per_s and exclude extra cowrie_get fetch-turn decode latency (371.7 ms/get pooled in EXP-A1). Payloads below 16 KB must NOT be virtualized (+110% token blowup below 4 KB). On 100%-cached cloud APIs, extra fetch-turn output inflation of 2.34×–4.05× (pooled 3.19×) raises modeled API cost by +86.5% to +153.7% (pooled +115.2%) per receipt_exp_b1_b2b_multi_engine.json — keep B2-b OFF in Profile C and use A2-Split instead (receipt_exp_b2_a2_multi_engine.json).