"Apple will update its series of "Identify your ..." support articles once the devices ship. Those will provide Apple's official names, model identifiers, tech support links, etc."
This is what it says:
"MacBook Pro (14-inch, 2024) in Silver and Space Black. This model has the M4 Pro or M4 Max chip and includes three Thunderbolt 4 ports. Model Identifier: Mac16,6, Mac16,8"
That doesn't say which model is which? How do I distinguish between a Mac16,6 and a Mac16,8?
First of all, never use the "Comments" feature. All that does is hide your reply.
Why do you need to differentiate? In your original question, you wanted to know the marketing name - i.e. "MacBook Air (13-inch, M2, 2022)". Either of those model identifiers maps to the same marketing name.
If are now saying that you want to be able to lookup detailed, specific model information, then I'm afraid you're out of luck.All of that is proprietary. Technically, even the model identifier is proprietary. Apple is just kind enough to make it relatively unique and an n-to-1 mapping. This wasn't always true.
If you look through the models on that page, you'll see that all of them come in multiple colours, but only some have different chips. Only those with different chips have different model numbers. That's the correlation maybe? You may be able to get the specific chip elsewhere, like sysctl or similar.
But again, this is someone else's products, in someone else's database, using someone else's identifiers. None of this is what Apple considers "API" and therefore officially useable by 3rd party developers. Even those things that are "API" can, and will, be changed on a regular basis. Wouldn't you rather write a nice iOS game instead?