Gas vent termination heights can be found in IRC G2427.6.4 Minimum height, or IFGC 503.6.5 Minimum height.

Exceptions not shown here exist for bents terminating less than 8′ from a wall (must terminate at least 2 feet above the wall).