Generic Product Identifier. The Generic Product Identifier (GPI) is a 14-character hierarchical classification system that identifies drugs from their primary therapeutic use down to the unique interchangeable product regardless of manufacturer or package size.