Diet
Common dietary patterns including vegan, keto, and gluten-free.
A diet is a set of eating habits based on specific food restrictions or emphases. BetterMenu supports eight dietary patterns — vegetarian, vegan, paleo, keto, gluten-free, dairy-free, low-carb, and Mediterranean — automatically classifying recipes based on their ingredient composition.
What is a dietary pattern and why does it matter for recipes?
A dietary pattern is a structured set of food inclusion and exclusion rules applied consistently across meals. Patterns range from broadly defined lifestyle approaches — such as the Mediterranean diet, which emphasizes whole grains, fish, and olive oil — to medically necessary protocols, such as a strict gluten-free diet for individuals with celiac disease or wheat allergy. The Dietary Guidelines for Americans, published jointly by the U.S. Department of Agriculture (USDA) and the U.S. Department of Health and Human Services (HHS) on a five-year cycle, provide the primary federal evidence base for dietary guidance in the United States. The 2020–2025 edition identifies several healthy dietary patterns — including the Healthy U.S.-Style Dietary Pattern, the Healthy Mediterranean-Style Dietary Pattern, and the Healthy Vegetarian Dietary Pattern — each with defined food group targets. For recipe developers, operators, and clinical dietitians, accurately tagging a recipe with its qualifying dietary patterns enables users with specific health needs or lifestyle preferences to identify suitable foods quickly and reliably.
Which dietary patterns are federally regulated and which are not?
Not all dietary labels carry equal legal weight. In the United States, a small number of diet-related claims on food packaging are subject to federal regulation by the FDA, while the majority of dietary pattern designations remain unregulated marketing terms. The distinction matters for compliance purposes. Regulated claims — such as "gluten-free," "low sodium," and "low fat" — must meet specific FDA-defined criteria before a manufacturer may use them on a label. Unregulated designations — such as "vegan," "paleo," "keto," or "Mediterranean" — have no legally binding federal standard; any product may be marketed under these labels without meeting a codified definition. The absence of a federal standard for unregulated patterns means that BetterMenu's classification logic applies industry-accepted ingredient-based criteria rather than statutory definitions. For regulated claims, the platform applies the applicable Code of Federal Regulations threshold directly. This distinction is surfaced in the API response so that downstream applications can differentiate between FDA-regulated compliance flags and informational dietary tags.
What FDA-regulated nutrient-content claims apply to dietary patterns in the United States?
The FDA has established specific regulatory definitions for several nutrient-content claims that align with common dietary frameworks. These definitions are codified in 21 CFR Part 101, Subpart D — Specific Requirements for Nutrient Content Claims. A "low sodium" claim requires that the food contain no more than 140 mg of sodium per reference amount customarily consumed (RACC). A "low fat" claim requires no more than 3 g of total fat per RACC. A "reduced calorie" claim requires at least a 25 percent reduction in calories compared to the reference food. These quantitative thresholds apply to packaged foods subject to FDA jurisdiction and cannot be used on labels that do not meet the stated criteria. For food service operators, the FDA's menu labeling rule under 21 CFR Part 101.11 requires calorie disclosure on standard menu items at covered restaurant chains, which intersects with low-calorie dietary pattern tracking. BetterMenu maps nutrient values against these thresholds to determine whether a recipe qualifies for a regulated claim.
What are the FDA requirements for gluten-free labeling under 21 CFR 101.91?
The FDA's gluten-free labeling rule is the most precisely defined diet-related standard in U.S. food regulations and applies directly to the gluten-free dietary pattern. Under 21 CFR 101.91, a food may voluntarily bear the label "gluten-free," "free of gluten," "without gluten," or "no gluten" only if it meets all of the following conditions: (1) the food does not contain an ingredient that is a prohibited grain — defined as wheat, rye, barley, or a crossbred hybrid of those grains; (2) the food does not contain an ingredient derived from a prohibited grain that has not been processed to remove gluten; (3) if the food contains an ingredient derived from a prohibited grain that has been processed to remove gluten, the use of that ingredient does not cause the food to contain 20 parts per million (ppm) or more of gluten; and (4) the food does not otherwise contain 20 ppm or more of gluten. The 20 ppm threshold is the lowest level achievable with validated analytical methods at the time the rule was finalized, and it aligns with the threshold used by the Codex Alimentarius Commission in its international standard for gluten-free foods. This rule became effective August 5, 2014.
How do oats and fermented or hydrolyzed foods affect gluten-free classification?
Two categories of ingredient require special attention under 21 CFR 101.91. First, oats are not a prohibited grain under the rule, but oats are frequently contaminated with wheat, rye, or barley during growing or processing. A food containing oats may carry a gluten-free label if the total gluten content of the finished food remains below 20 ppm; manufacturers who include oats in gluten-free products must demonstrate this through supply-chain controls and testing. Second, for fermented or hydrolyzed foods — such as beers, vinegars, and soy sauces — standard immunoassay methods for detecting gluten may not accurately measure gluten content because fermentation or hydrolysis fragments the gluten proteins. The FDA's guidance document Evaluating Ingredients and Finished Gluten-Free Foods: Guidance for Industry provides the agency's current thinking on testing approaches for these complex matrices. BetterMenu flags ingredients derived from prohibited grains — including malt, brewer's yeast derived from barley, and wheat starch — and requires operator confirmation before assigning a gluten-free classification to recipes containing them.
%%{init: {'theme':'base', 'themeVariables': {'primaryColor':'#ffffff','primaryTextColor':'#000000','primaryBorderColor':'#000000','lineColor':'#000000','secondaryColor':'#f5f5f5','tertiaryColor':'#ffffff'}}}%%
graph TD
A[Recipe ingredient list] --> B{Contains wheat, rye, barley, or their hybrids?}
B -- Yes --> C[Gluten-free label NOT permitted — prohibited grain present]
B -- No --> D{Contains ingredient derived from prohibited grain?}
D -- Yes, unprocessed --> C
D -- Yes, processed to remove gluten --> E{Finished food gluten level below 20 ppm?}
D -- No --> E
E -- No --> C
E -- Yes --> F[Gluten-free label permitted under 21 CFR 101.91]How do the USDA Dietary Guidelines inform dietary pattern classification?
The Dietary Guidelines for Americans 2020–2025, published by USDA and HHS, define three core healthy dietary patterns with explicit food group servings per calorie level. The Healthy Vegetarian Dietary Pattern, for example, includes dairy and eggs but replaces the meat, poultry, and seafood food groups with legumes, soy products, nuts, and seeds — aligning closely with the lacto-ovo vegetarian pattern modeled in BetterMenu. The Healthy Mediterranean-Style Dietary Pattern allocates higher servings of fruits and seafood compared to the U.S.-Style pattern and lower servings of dairy. These federally published patterns are not enforceable label standards, but they represent the government's authoritative nutritional benchmarks and are widely referenced by registered dietitians, clinical nutrition programs, and public health curricula. BetterMenu uses the Dietary Guidelines food group targets as the reference framework for evaluating recipe balance within a given dietary pattern, surfacing deviations from recommended servings where nutrient data is available.
What dietary patterns does BetterMenu support and how is each defined?
BetterMenu classifies recipes against eight dietary patterns using ingredient-level analysis. The classification criteria are summarized below.
- Vegetarian: Excludes meat, poultry, fish, and seafood. Dairy products and eggs are permitted. Applies the lacto-ovo definition; no federal regulatory standard governs this label.
- Vegan: Excludes all animal-derived products, including meat, poultry, fish, seafood, dairy, eggs, honey, and gelatin. No federal regulatory standard governs this label.
- Paleo: Excludes grains, legumes, dairy, refined sugar, and processed foods. Permits lean meats, fish, fruits, vegetables, nuts, and seeds. No federal regulatory standard governs this label.
- Keto: High fat, moderate protein, very low carbohydrate. The platform applies a net carbohydrate threshold per serving to assign this tag. No federal regulatory standard governs this label.
- Gluten-Free: Governed by 21 CFR 101.91. A recipe receives a regulated gluten-free flag only when it contains no ingredients derived from prohibited grains and the computed gluten contribution is below 20 ppm.
- Dairy-Free: Excludes all dairy products, including milk, cheese, yogurt, butter, cream, and casein-derived ingredients. No federal regulatory standard governs this label.
- Low-Carb: Restricts total carbohydrate intake. The platform applies a per-serving carbohydrate threshold consistent with common clinical usage. No federal regulatory standard governs this label as a standalone diet tag, though the FDA's "low carbohydrate" nutrient content claim rules in 21 CFR Part 101 Subpart D govern packaged food label usage.
- Mediterranean: Based on the dietary patterns of populations bordering the Mediterranean Sea, emphasizing fruits, vegetables, whole grains, fish, olive oil, nuts, and seeds, with limited red meat and processed foods. No federal regulatory standard governs this label.
How does BetterMenu classify and expose dietary pattern data via API?
BetterMenu evaluates every ingredient against the exclusion and inclusion rules for all eight supported patterns simultaneously. For regulated claims — principally gluten-free under 21 CFR 101.91 and nutrient-content claims under 21 CFR Part 101 Subpart D — the platform applies statutory thresholds directly and distinguishes these from informational tags in API responses. Restaurant operators use dietary pattern flags to filter menu items for guests with specific needs, and to validate that dishes marketed as gluten-free comply with FDA requirements before service. Clinical dietitians use the Dietary Guidelines alignment scores to counsel patients whose conditions require adherence to specific patterns. R&D teams integrating via the BetterMenu API receive a structured dietaryPatterns object on each recipe response, with separate regulated and informational arrays, compliance thresholds applied, and source-of-truth citations included in the payload metadata.
Where can I find official regulatory sources for dietary labeling?
- eCFR — 21 CFR 101.91: Gluten-free labeling of foods
- FDA — Gluten-Free Labeling of Foods: Guidance for Industry (including fermented and hydrolyzed foods)
- USDA / HHS — Dietary Guidelines for Americans 2020–2025
- eCFR — 21 CFR Part 101, Subpart D: Specific Requirements for Nutrient Content Claims
- eCFR — 21 CFR 101.11: Nutrition labeling of standard menu items in covered establishments