A candidate model that "fails on long inputs" is failing in one of two structurally different ways, and they demand different fixes.
Hard limit. The request exceeds the model's maximum input tokens. Depending on the API, you get an explicit error, or the provider truncates the prompt server-side and answers a question you did not ask. Truncation is the dangerous case because nothing in the response tells you part of the input disappeared. Any pipeline that indexes a document at 512-token boundaries must respect the embedding model's window, because tokens past the maximum are simply dropped before they are turned into a vector (Qdrant's chunking course).
Soft failure. The request fits, the API returns 200, and the output is worse: missed details, wrong reasoning step, confident garbage. This is not a window problem. It is a degradation problem, and it starts earlier than most teams expect. Research on prompt bloat reports reasoning degradation at around 3,000 tokens, well below the technical maximum of the models tested (MLOps Community's writeup of the prompt bloat research).
The decision rule is simple: the error is a fact, the bad output is a suspicion. If you see an error code or a truncated prompt echo, stop and fix the window. If you see a clean response you do not trust, you need evidence, and that evidence comes from replaying the same task under controlled variations.
| Signal | Hard context limit | Soft quality failure |
|---|---|---|
| API response | Error (400-class) or silent truncation | 200 OK with full output |
| Behavior as input shrinks | Passes reliably below the limit | Fails intermittently at all lengths |
| Failure location | Whole request | Specific reasoning step or field |
| Typical fix | Chunk, truncate, or route to a larger window | Re-chunk, reorder, add instructions, reduce noise |
| Detection method | Token count vs. stated maximum | Replay with split and truncated variants |



