====================
Resource consumption
====================

Displayed at all times in the lower right-hand corner of the application, the resource consumption metrics provide real-time information about your system's CPU and RAM usage, both overall and per loaded model.

If no model is loaded into the API server or chat interface, the metrics display **No Models Loaded**. Loading a model into the API server and/or the chat interface updates the display to show you how much CPU and RAM the loaded model is currently consuming. Hover over the metrics to display:

* Additional information about how many models are currently loaded
* How much system CPU and RAM you have
* How much is being consumed by the models
* How much is dedicated to other processes (outside of AI Navigator)

Click |chevron-up| **Loaded Models** to open the resource consumption pane. From here, you can see each model loaded into the application, along with metrics showing how many resources each model is consuming. Your system-wide resource metrics are shown below your loaded models. Click |eject| **Eject** beside a model to stop the API server or unload the chat interface and free up consumed resources. Click **View Chat** or **View Server** to open the respective view in the application.

.. thumbnail:: ../../img/ai_nav_resource_pane.png
    :align: center

.. |eject| raw:: html 
    
    <svg xmlns="http://www.w3.org/2000/svg" width="1.2em" height="1.2em" viewBox="0 0 448 512"><path d="M224 96c-4.5 0-8.8 1.9-11.8 5.2l-176 192c-4.3 4.7-5.4 11.4-2.9 17.3s8.3 9.6 14.6 9.6H400c6.3 0 12.1-3.7 14.6-9.6s1.4-12.6-2.9-17.3l-176-192c-3-3.3-7.3-5.2-11.8-5.2zm0-32c13.5 0 26.3 5.6 35.4 15.6l176 192c12.9 14 16.2 34.3 8.6 51.8S419 352 400 352H48c-19 0-36.3-11.2-43.9-28.7s-4.3-37.7 8.6-51.8l176-192C197.7 69.6 210.5 64 224 64zM16 416H432c8.8 0 16 7.2 16 16s-7.2 16-16 16H16c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/></svg>

.. |chevron-up| raw:: html

    <svg xmlns="http://www.w3.org/2000/svg" width="1.2em" height="1.2em" viewBox="0 0 512 512"><path d="M250.3 114.3c3.1-3.1 8.2-3.1 11.3 0l216 216c3.1 3.1 3.1 8.2 0 11.3s-8.2 3.1-11.3 0L256 131.3 45.7 341.7c-3.1 3.1-8.2 3.1-11.3 0s-3.1-8.2 0-11.3l216-216z"/></svg>