# Space app size calculation

**URL:** <https://discuss.huggingface.co/t/space-app-size-calculation/69588>\
**Category:** 🤗Hub\
**Created:** [January 18, 2024, 7:08am UTC](https://discuss.huggingface.co/t/space-app-size-calculation/69588 "2024-01-18T07:08:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amk9978](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/amk9978/32/20878_2.png) [@amk9978](https://discuss.huggingface.co/u/amk9978)\
**Post date:** [January 18, 2024, 7:08am UTC](https://discuss.huggingface.co/t/space-app-size-calculation/69588/1 "2024-01-18T07:08:37Z")

</div>

Guys, I need to find out the size of space apps on HuggingFace. I didn’t find its data in Hub API calls. Do you have any idea except to look for each file’s size in the app and calculate the size that way?

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](https://discuss.huggingface.co/u/radames)\
**Post date:** [January 18, 2024, 6:24pm UTC](https://discuss.huggingface.co/t/space-app-size-calculation/69588/2 "2024-01-18T18:24:04Z")

</div>

hi @amk9978, unfortunately we don’t have an API for that yet.  
Could you exec `df -lh` via your app? that would give you summary of your disk usage

---

<div class="post-metadata">

**Author:** ![amk9978](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/amk9978/32/20878_2.png) [@amk9978](https://discuss.huggingface.co/u/amk9978)\
**Post date:** [January 18, 2024, 7:38pm UTC](https://discuss.huggingface.co/t/space-app-size-calculation/69588/3 "2024-01-18T19:38:46Z")

</div>

Thanks for your reply @radames.  
It would be great if you could include the space and model size in the Hub API!
