Python's `int` is a full object, consuming approximately 28 bytes on 64-bit systems, which includes metadata like reference count (8 bytes), type pointer (8 bytes), and size fields, in addition to the actual integer value (4 bytes).
Open the full topic