How these were chosen
Machines with a street price under $1,000, scored against our derived fit ratings and then separated into two groups, because comparing an all-in-one against a machine that needs a grinder on price alone is misleading.
The fork in the road
At this budget you can buy a Barista Pro at around $850 and be finished — grinder inside, three-second heat-up, thirty grind settings. Or you can buy a Lelit Anna at around $675 and add a DF54 at around $265, and have a PID single boiler with a stepless standalone grinder.
The second setup is more capable and more upgradeable. The first is one object and fewer steps. Both are correct answers to different questions, which is exactly why this site asks you the question before recommending anything.
Where each one leads
The all-in-one route ends here, more or less. The grinder inside a Barista Pro is the grinder you have; improving it means replacing the machine.
The separate route has somewhere to go. The Anna's 57mm brass group and PID will still be working when you have moved on to a better grinder, and the grinder will still be working when you move on to a heat exchanger.
If you expect to still be adjusting this setup in three years, that asymmetry is worth more than the counter space.
What we would not do at this budget
Spend $950 on a machine and nothing on a grinder. It is the most common shape of purchase at this price and it produces a machine operating well below what it can do. See how much of your budget belongs to the grinder.