Report #101286
[cost\_intel] Using an LLM for every classification or semantic search task when embeddings are cheaper
For binary/multiclass classification and semantic search, use embedding models \(text-embedding-3-large, voyage-3, etc.\) plus a lightweight classifier or vector search. Embeddings cost ~1/100th of LLM generation and have deterministic latency. Reserve LLMs for tasks needing reasoning, open-ended generation, or few-shot adaptation to novel categories.
Journey Context:
Teams often reach for an LLM for every NLP task because the API is uniform. But embeddings are orders of magnitude cheaper for semantic tasks. text-embedding-3-large costs $0.13/M tokens vs GPT-4o's $2.50/M input and $10/M output. For classification, a k-NN or logistic regression on embeddings can match or beat few-shot LLM performance when labeled data exists. The failure signature of using an LLM is unnecessary cost and non-deterministic outputs for a deterministic task. The right architecture is: embeddings for retrieval, similarity, and classification; LLMs only when the task requires reasoning, synthesis, or handling novel categories without retraining.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-06T05:17:57.688439+00:00— report_created — created