The Hotel Alpina Klosters in Switzerland's breakfast room had a high tech espresso machine. It ground the coffee beans, heated the water and dispensed the brew into the cup appropriate to the coffee drink selected. The appropriate cups were sized from small espresso cups to tall coffee drink cups. The machine could detect the cup size and would brew the drink inappropriate to the cup size.
https://manualcoffeebrewing.com/coffee-shop-glossary-and-espresso-drink-guide/
Here are a few of the most commonly used coffee serving vessels.
Demitasse- This small cup ranges from 70ml to 90ml (2-3 ounces) and is
used for serving single and double shots of espresso as well as
macchiatos. There are countless different demitasses for sale but some
of my favorites are from Acme & Co.
Small tumbler glass- These small glasses range from 90ml to 150ml (3-5
ounces). According to Cortado Glass 4.5 ounces is the perfect size.
Cappuccino cup- The cappuccino cup is around 200ml (7 ounces) though
it can vary some. It is the utility player of the coffee drinkware
world. There are lots of great cap cups but I am kind of partial to
the Lino ones by notNeutral.
The Mug- Mugs range in size so much it is difficult to put a hard
number on them. Luckily we all know what a mug is (if you need some
inspiration, check out the Mugshots page).
Latte cup- A latte cup ranges from 240ml up to 360ml (8-12 ounces).
There are also notNeutral latte cups (small and large).
Coffee Shop Espresso Drinks ....drinks from a general United States
coffee shop perspective. Every country, region and even shop has a
different way of doing things.
Latte (8-12 ounces)
Americano (6 ounces), Flat White(6 ounces), Cappuccino (6 ounces),
Flat White(6 ounces), Mocha (6 ounces)
Affogato (4-5 ounces), Breve(4 ounces)
Cortado (2 ounces). Doppio (2 ounces)
Single Espresso (1 ounce)