The ketogenic diet typically limits carbohydrate consumption to 50 grams per day. Consuming more carbs than that will kick you out of ketosis.