Currently, the repo size shown in GitHub API does not include git-lfs. As a feature request, can GitHub API also show the repo size including git-lfs? I wish to let other users easily know how large the repo is with the git-lfs files, perhaps as a badge from shields.io.
Related post: Git LFS, does Github repo size include them?
Thanks for this feedback! We're always working to improve GitHub and the GitHub Community Forum, and we consider every suggestion we receive. I've logged your feature request in our internal feature request list. Though I can't guarantee anything or share a timeline for this, I can tell you that it's been shared with the appropriate teams for consideration.