#4 is ok for the GEC, with a few exceptions, such as the sole connection to the ground rod(s) or plate, which does not have to be larger than a #6. Article 250.66, along with the table, will give you all this info.

Rick Miell