Python Int's 28-Byte Minimum: The Hidden Components
Even the smallest Python integers consume a minimum of 28 bytes on 64-bit systems, attributed to a fixed overhead that includes an 8-byte reference count, an 8-byte type pointer, an 8-byte object size field, and a 4-byte value storage.