Report #82436
[cost\_intel] OpenAI Batch API is only for bulk data processing, not evaluation pipelines
Use OpenAI Batch API for all offline evaluation runs \(benchmarking, regression testing, golden set validation\) to achieve 50% cost reduction; accept the 24-hour SLA latency in exchange for 2x throughput per dollar.
Journey Context:
ML engineers use synchronous API for evals due to perceived urgency, paying $5.00/1M tokens \(GPT-4o\) instead of $2.50/1M. Evaluations are definitionally batch jobs \(no user waiting\), making the 24-hour SLA acceptable. The 50% discount applies to both input and output tokens. Critical constraint: Batch API requires JSONL format and returns results to cloud storage. For CI/CD pipelines, the 24-hour latency requires async job polling rather than blocking calls.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T20:57:30.989630+00:00— report_created — created