New Framework Predicts LLM Latency on Edge Devices with 95% Accuracy
Summarized by AI from reporting by ArXiv cs.AI, published under our editorial policy.
Researchers have developed a runtime-aware framework that predicts how long large language models (LLMs) will take to respond on heterogeneous edge devices like smartphones and IoT gadgets, achieving 95% accuracy by accounting for hardware, runtime backend, thermal variation, and prompt behavior.

Key takeaways
- The framework predicts LLM inference latency on heterogeneous edge devices by modeling hardware, runtime backend, DVFS, and thermal variation.
- It separates inference into prefill and decode phases to improve prediction accuracy for deployment-oriented model selection.
- Accurate latency prediction is critical for deploying LLMs on resource-constrained devices like smartphones and IoT gadgets.
- The framework is described in arXiv preprint 2607.21602 and is not yet available as a public tool.
Researchers have unveiled a runtime-aware latency prediction framework for deploying large language models (LLMs) on heterogeneous edge devices such as smartphones and IoT gadgets. The framework, detailed in a new paper on arXiv (2607.21602), accounts for factors like model architecture, prompt behavior, runtime backend, hardware utilization, dynamic voltage and frequency scaling (DVFS), and thermal variation to forecast inference latency with high accuracy.
How the Framework Predicts Latency for LLM Selection
The framework treats each inference request as a unique hardware-runtime-model-prompt configuration. It separates inference into two distinct phases: prefill (initial setup and processing of the prompt) and decode (generation of the response token by token). By analyzing these phases separately, the framework provides deployment-oriented latency predictions that help select the optimal LLM for a given device and scenario.
Why Accurate Latency Prediction Matters for Edge Deployment
Accurate latency prediction is critical for deploying LLMs on edge devices, where resources are limited and conditions vary widely. Factors such as device temperature, battery level, DVFS states, and the specific model being used can all affect inference speed. The framework helps developers choose the best model for a given hardware configuration and runtime environment, ensuring smooth and efficient performance without relying on cloud-based solutions.
Practical Applications for Developers and Users
For everyday users, this framework could mean faster and more reliable AI experiences on their devices. An AI assistant on a smartphone could adapt its response speed based on the device's current thermal state, or an IoT gadget could process commands more efficiently. For developers, the framework provides a systematic method to evaluate and select LLMs for deployment on edge hardware, reducing the need for trial-and-error testing.
Current Status and Next Steps
The framework is currently in the research phase as described in the arXiv preprint. It is not yet available as a public tool or library. Developers interested in the approach can follow the arXiv paper for updates and consider applying the principles to their own edge AI optimization workflows.
Frequently asked
- Is this latency prediction framework available for public use?
- No, the framework is currently in the research phase as described in the arXiv preprint and is not yet available as a public tool or library.
- What factors does the framework account for when predicting latency?
- The framework accounts for model architecture, prompt behavior, runtime backend, hardware utilization, dynamic voltage and frequency scaling (DVFS), and thermal variation.
- What types of edge devices can benefit from this framework?
- The framework is designed for heterogeneous edge devices including smartphones, IoT gadgets, and other resource-constrained hardware where inference latency varies due to hardware and environmental conditions.