On the keto diet, you will restrict your carb consumption to 20 grams of net carbs a day or less (subtract the fiber amount from the carbs).