Report #63024
[cost\_intel] Batching economics for text embedding generation at scale
Use batching with 1000\+ texts per request for OpenAI text-embedding-3-large; reduces effective per-token cost by 50% and increases throughput 10x, but enforce 8191 token truncation warnings to avoid silent quality degradation.
Journey Context:
Teams call embedding APIs sequentially due to async complexity, missing that OpenAI's pricing is identical but rate limits favor batching. The hidden cost is truncation: embedding long documents \(>8k tokens\) without chunking silently drops semantic signal. Quality degradation appears as 'hallucinated' retrieval matches in RAG.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T12:16:11.103094+00:00— report_created — created