The GI is entirely based on the quality of carbohydrates and sugars you are intaking, not the quantity (although if you want to include portion control as well you can look at Glycemic Load (GL) of foods, looking for levels < 20). Limiting your intake of high GI foods is a first-step towards controlling your cravings, increasing energy, and weight loss. Understanding the GI values of specific foods can help reduce harmful spikes in blood sugar, as sugars and carbohydrates are broken down and your metabolism releases insulin to aid in digestion.
The glycemic index (GI) is a measure of the effect carbohydrates have on blood glucose levels.