There are two ways a small dishwasher handles cutlery, and they behave differently under the same load.
The integrated tray
A tray is a shallow, mostly horizontal compartment built into the lower rack — a subdivided bin you drop cutlery into rather than a container you lift out. The EUHOMY countertop model below is built this way: its listing describes "a dedicated cutlery holder" alongside the plate and bowl slots, sized for the seven sets of forks, knives and spoons that make up its stated 30-plus-item capacity. A tray loads fast — cutlery goes in loosely, handle-end wherever it lands — but that speed is also the weakness. Because the compartment is shallow and open, nothing stops two spoons from settling bowl-to-bowl or three forks from leaning against each other as the rack fills, and a tray close to a spray arm shields whatever's underneath from whatever's on top of it.
The upright basket
An upright basket is closer to what a full-size built-in dishwasher uses: a caged or slotted container that holds each piece mostly vertical, handle down or handle up, so tines and bowls face outward toward the spray instead of against a neighbor. Both 18-inch machines here use this approach. Honeywell's listing describes a top cutlery rack plus "a large removable cutlery basket," and KoolMore's describes a "removable utensil storage basket" built specifically, in its own words, for "busy homes that go through forks, knives, and spoons quickly." The vertical orientation does the same job a tray can't: it keeps identical pieces from lying flush against each other, so more of each fork's surface stays exposed through the whole cycle.
Neither design is wrong for what it's attached to — a tray fits the compact footprint a tank-fed countertop machine needs, and an upright basket needs the taller interior an 18-inch freestanding machine has to spare. The honest trade-off is capacity versus separation: a tray holds a stated number of place settings in a smaller box, an upright basket separates the pieces better inside a bigger one.