cookrange

Mechanism

How AI meal planning works

Two separate machines run inside an AI meal plan, and confusing them is the commonest misunderstanding in the category: the target is arithmetic; the meals are either generated or picked. Your daily calorie and macro target is the output of a published equation, so the same inputs always give the same number. The meals that fill that target come either from text a language model writes or from a library of recipes with known ingredients. How much you should trust any given number depends on which side of that line it sits.

"AI" means three different things here

Apps use one word for very different jobs, and marketing language blurs it:

  • Building a plan: deriving a target from your profile, then building a week of meals that hits it. Cookrange and Eat This Much sit here; in Cookrange the job is done by a planner with fixed rules, not by a language model.
  • Back-calculating the target from your logs: estimating real metabolic rate from logged intake and weight trend. That is MacroFactor's approach.
  • Recognising food from an image: working out what is on the plate from a photo. Not the same job as plan generation, and far more variable in accuracy.

Seeing all three under one "AI-powered" label makes it harder to find the app that does the job you actually want. The category view is in the AI nutrition apps roundup.

Step 1: the target number - there is no AI in this part

Your daily calorie target is a calculation, not a guess. Height, weight, age and sex give a basal metabolic rate; an activity multiplier turns that into total daily energy expenditure; a deficit or surplus is applied according to your goal. The equation is usually Mifflin-St Jeor, published in 1990, and it returns the same number in every app given the same inputs.

The macro split is arithmetic too: protein, carbohydrate and fat in grams convert to calories with the Atwater factors (protein and carbohydrate 4 kcal/g, fat 9 kcal/g). You can check it yourself - the site's calorie calculator and BMR calculator run the same equation and show you the numbers going in.

So: at this step no app's "AI" is smarter than another's. The difference is which version of the equation and which activity multipliers it uses - a choice, not an intelligence gap.

Step 2: the meals, and the two ways to fill them

Here is the hard part. Every meal of a week, each with calories and macros that land on the daily target, without repeating themselves, and cookable by an actual person. On top of that sit allergens, ingredients you dislike, and kitchen reality.

If a language model does this step, one consequence follows naturally: the same inputs produce different plans on two separate runs. That is not a bug, it is what generation means. But it has a cost worth stating: you lose reproducibility. Ask for the same plan again and you get something similar, not the same thing. And a meal the model writes usually carries the model's own estimate of its calories.

The second way is to pick meals from a ready library of recipes. Here the machine's job is not writing but choosing and portioning: which recipe goes into which meal, in what amount, so the day lands on target; how many days apart the same dish may come back; which recipe must stay out because of an allergen or a kitchen tool you don't have. Because every recipe's ingredients are known, its numbers can be computed and every allergen check can be made at ingredient level. The price is variety: the plan is limited to what is in the library.

Step 3: where the numbers come from - and the weakest link

A meal's calorie figure can arrive by three routes, and they are not equally reliable:

  • A database record. A packaged product's barcode is looked up. Cookrange uses Open Food Facts for this; coverage and its gaps are on their own page. Where a record exists this is the most reliable route.
  • The label. The manufacturer's declaration. Where a label and a database disagree, the label wins.
  • A model estimate. If a generated recipe's macros were not computed from its ingredients, they were estimated. This is the weakest link in the chain and the least-discussed thing in the category. When a plate says "about 520 kcal", that "about" sometimes hides a wide range.

Practical consequence: before you read a meal's calorie figure, ask where it came from. A value computed from ingredients and a model's estimate are not equally reliable, and the second should not be read as a measurement.

The same uncertainty exists in photo analysis, with one difference: there the estimate carries a confidence score, and that score is shown to you. Where photo calorie estimation fails is on its own page.

What a plan cannot know

Nothing that was not given as an input can reach the plan. That is a boundary rather than a flaw, but the boundary is worth knowing: your blood panel, your medication, pregnancy, a diagnosed condition, your budget, your cooking skill, what was in the fridge that week, and whether you actually had the energy to cook that evening. For some of those the right counterparty is not an app; who should not use these tools at all is a separate page.

Five things to check before trusting one

  1. How was the target derived? Which equation, which activity multiplier. If it will not say, ask.
  2. Where does the nutrition data come from? A named database, or an estimate.
  3. Does the allergen filter run before generation or after? A filter that runs afterwards only removes a meal that was already created.
  4. Does the target move on its own during the day? If it does, knowing what you are progressing against gets harder - see net calories.
  5. Does it state in writing that it is not medical advice? If not, treat that as a warning sign.

How these steps work in Cookrange

As a worked example: the target is arithmetic, the same calculation the site's calculator runs. No language model writes the meals; the planner on the server takes the second route and picks recipes from the library. Each recipe's calories and protein are worked out from its ingredients, gram by gram. Every ingredient of every recipe in the week is checked against your allergies on the server while the plan is built; it cannot know about cross-contamination and it is not a medical guarantee. Eat something off the plan and the rest of the day's meals are re-portioned, while the target itself stays put. The step-by-step account is on the AI meal plan generator page.

One more limit: building the plan makes no AI call, so it does not count against the daily AI allowance. That allowance (2 AI actions a day on the free tier) is for jobs like the chat and recipe generation. The app is at v0.9.6 internal alpha and is not in the stores.

Frequently asked questions

Does Cookrange replace a dietitian or a doctor?

No. The health disclaimer in the Terms of Service is explicit: Cookrange is not a medical device and doesn’t provide medical advice, diagnosis, or treatment — the nutrition and training suggestions it generates are for general information and motivation only. If you have an existing health condition, are pregnant, or have a chronic illness, you should consult a health professional. Details on the Terms of Service.

Which country is the barcode database specific to?

Barcode scanning doesn’t run against a country-specific database. Cookrange pulls data from Open Food Facts, a global, open product database — if a product is listed there, the barcode matches; if not, no match is found. See the nutrition & planning page for details.

Sources

  1. Mifflin MD, St Jeor ST et al. (1990). A new predictive equation for resting energy expenditure in healthy individuals. American Journal of Clinical Nutrition, 51(2), 241-247.
  2. Atwater general factors — carbohydrate and protein 4 kcal/g, fat 9 kcal/g.
  3. Open Food Facts — open, community-contributed product database (ODbL).