This study reveals common microbial responses in type 2 diabetes patients treated with two glucose-lowering drugs targeting the gut differently and acceptable performance of baseline gut microbiota in classifying individuals with different GLP-1 responses to vildagliptin. Here, GCG is linked to type 2 diabetes mellitus.