Purble Place Factory Simulation & Laya Decision Engine
Compare Laya's non-autoregressive neural router directly against an autoregressive generative LLM. Observe the radical differences in latency, token consumption, calibrated confidence, and prompt injection resistance.
| Dimension | β‘ Laya Semantic Router | π’ Traditional Generative LLM |
|---|---|---|
| Inference Speed | ~15 ms (Up to 100x Faster) | 1,200 ms β 2,500 ms (Network & generation lag) |
| Cost (10,000 Orders) | $0.00 (Zero API costs, local CPU) | $25.00 β $55.00+ (Continuous prompt token bills) |
| Confidence Calibration | True normalized probability mass across criteria candidates | Heuristic "vibes" or uncalibrated token perplexity |
| Prompt Injection Defense | Immune (Evaluates mathematical semantic similarity, cannot execute user prompt commands) | Vulnerable (Instructions in parcel title can hijack the model to change priority or lane) |
| Schema & Output Reliability | 100% typed guarantees via discrete classification heads | Risk of malformed JSON strings, markdown fences, or truncated tokens |