Add onions, butter and salt to large Dutch oven with olive oil set on low heat until the onions are browned and caramelized, about 1 hour. Add garlic and heat thoroughly, about one minute. Pour in beef stock and chicken stock. Stir, cover and allow to simmer over low heat for 30 minutes.: The pot should start with a gentle sheen of bubbling fat, and within minutes the onion will begin to soften and release a sweet fragrance, like warm caramel. As the hour progresses you will notice the sound shift to a softer, almost whispering sizzle, and the color moving from pale to a deep golden brown with sticky edges, which is the sign the sugars are transforming. This slow process is crucial because high heat will sear the outside and leave raw, sharp centers; patience yields a uniformly sweet, jam like texture that carries the whole soup. A common mistake is turning the heat up to rush color, which risks burning and bitterness. If some pieces brown faster, stir gently and scrape the fond from the bottom to incorporate those caramelized bits into the mixture, they are full of flavor.
When ready to serve, ladle soup into oven proof bowls and top with bread and cheeses. Place on lined baking sheet and under the broiler in the oven until the cheeses have melted and browned lightly, about 8 minutes.: Right after the onion reaches its warm brown hue, add the minced garlic , and you will immediately notice a bright, aromatic lift in the steam rising from the pot. The garlic needs very little time to bloom, and one minute allows it to become fragrant without turning bitter. You should hear a short, brisk sizzle as the garlic hits the hot fat, and the scent will sharpen the overall aroma. Avoid leaving the garlic in the pan alone for long because burnt garlic tastes acrid and can undo the careful sweetness you developed. If you accidentally scorch it, remove the pan from heat and scrape out any bitter bits, then consider starting that small portion again.
Add onions, butter and salt to slow cooker. Cook on low setting for 10 hours.: When the stocks hit the pot you will see ribbons of liquid loosening the cooked onion , and a savory steam will rise, blending the caramel notes with meaty depth. This is the stage where the soup finds its body, so pour slowly and stir to deglaze, scraping up any browned bits stuck to the bottom, which dissolve into the liquid as concentrated flavor. Combining both stocks balances robustness and clarity, giving a rounded mouthfeel that tastes layered rather than one dimensional. A typical pitfall is adding cold stock directly which can shock the pot and temporarily slow down the melding; bringing stocks to room temperature is helpful but not required if you stir thoroughly. After adding, bring the surface to very gentle movement to integrate flavors.
Add garlic, beef stock, and chicken stock. Stir well to combine and cook on low setting for 8 hours.: As the pot moves to a low simmer you will notice tiny, steady bubbles and a steady stream of steam; this is when flavors marry and the aromatic profile deepens. The gentle simmer concentrates the liquid slightly while keeping the onion tender, and it allows time for the stocks to meld with the caramelized sugars until each spoonful feels cohesive. Keep the lid slightly ajar if the simmer becomes too vigorous, and stir occasionally to ensure even cooking. A common error is boiling too hard which can make the soup cloudy and evaporate too much liquid; stay vigilant and adjust the heat to maintain a calm, consistent simmer.
When ready to serve, ladle soup into oven proof bowls and top with bread and cheeses. Place on lined baking sheet and under the broiler in the oven until the cheeses have melted and browned lightly, about 8 minutes.: At this point the aroma should be intensely savory with sweet undertones, and you will ladle the hot soup into sturdy, oven safe bowls. Place a slice of toasted French bread on top of each bowl so it becomes a platform for the melted cheeses, and then mound the grated Gruyere cheese and Parmesan cheese over the bread to form an even blanket. The visual cue is a neat, cheese topped crown ready for the broiler; the contrast of steaming soup below and dry toasted bread above is intentional to build texture. Do not skip toasting the bread first or it will become an unappetizing mush once broiled.
Place on lined baking sheet and under the broiler in the oven until the cheeses have melted and browned lightly, about 8 minutes: Slide the bowls onto a lined baking sheet and position them under a preheated broiler where intense radiant heat will cause the Gruyere cheese to bubble and the Parmesan cheese to develop golden brown flecks. You should watch closely as the sound changes to a lively bubbling and occasional popping, and the surface goes from glossy to blistered and browned in spots. This quick, high heat finish gives you that irresistible crust; if you step away you risk overbrowning or scorching, so stay attentive. If the cheese starts to smoke, lower the rack or reduce broiler time to prevent bitterness.
Add onions, butter and salt to slow cooker: For the slow cooker method begin by placing the sliced onion , butter , and salt into the vessel, and set it to the low setting; you will notice a gentle, muffled warmth instead of the active sizzle you get on the stove, and over several hours the onion will quietly transform into deeply sweet, soft ribbons. This hands off approach is perfect when you cannot stand by the pot, but remember that slow cooker temperatures vary, so check the texture occasionally. A danger here is layering too much at once without stirring, which can create uneven caramelization; give a gentle stir a few times during the long cook for uniformity.
Cook on low setting for 10 hours: As the hours pass the kitchen will fill with a mellow, savory perfume and the onion will take on a concentrated, almost jam like texture. The long, low heat extracts sugars and softens fibers without much attention, and the result is a deeply flavored base that requires minimal finishing. Because the process is prolonged, avoid adding acids or extra seasonings early which can inhibit proper browning. A typical oversight is lifting the lid too often, which lets heat escape and extends cook time, so only check briefly when needed.
Add garlic, beef stock, and chicken stock: After the onion has slowly sweetened in the slow cooker, add the minced garlic and both stocks, stirring to combine and waking up the pot with savory steam. The sound will be subtle, and the resulting aroma merges the caramel notes with meaty depth, similar to the stovetop method. Mixing well is important so the concentrated onion flavors disperse through the liquid. If you add cold liquids, stir thoroughly to equalize temperature and avoid cool pockets in the slow cooker which can affect finish.
Stir well to combine and cook on low setting for 8 hours: Let the flavors mingle on low heat, where gentle simmering will further meld the stocks and the sweetened onion . Over time the soup will taste more integrated, with fewer sharp edges and more rounded savory character. Because the slow cooker runs for long periods, be cautious about seasoning until the end, since flavors concentrate and saltiness can escalate. A common mistake is over seasoning early; instead, check seasoning just before serving and adjust.
When ready to serve, ladle soup into oven proof bowls and top with bread and cheeses: Finish the slow cooker version the same way as the stovetop: ladle hot soup into oven safe bowls, float toasted French bread on top, and cover with the grated Gruyere cheese and Parmesan cheese . The visual goal is a neat mound of cheese ready to brown, and the mouthfeel should be a balance of silky broth and a crisp to soft transition from bread to melted cheese. If the bowls are too full, remove a little broth before broiling to avoid spills and messy cleanup.
Place on lined baking sheet and under the broiler in the oven until the cheeses have melted and browned lightly, about 8 minutes: As the slow cooker version reaches the broiler, watch for the same tell tale bubbling and blistering on the cheese surface. The sound and scent are immediate signals that the finish is near, and when the cheeses show small golden pockets you know the soup is ready to enjoy. Broil briefly to preserve those contrasting textures; over broiling will harden the cheese and change the pleasant mouthfeel you worked toward.