In a large pot or Dutch oven, melt the butter with the olive oil over medium heat. Add the sliced onions and a pinch of salt, and cook, stirring occasionally, until the onions are deeply caramelized and golden brown, about 30-40 minutes.
2 tablespoons unsalted butter, 2 tablespoons olive oil, 4 large yellow onions, 2 garlic cloves
Add the minced garlic to the onions and cook for an additional 1-2 minutes until fragrant. Pour in the vinegar to deglaze the pot, scraping up any browned bits from the bottom with a wooden spoon.
2 tablespoons red wine vinegar
Add the beef broth, fresh thyme sprigs, and bay leaf to the pot. Bring the mixture to a simmer, then reduce the heat to low and let it cook for about 20 minutes, allowing the flavors to meld together. Season with salt and pepper to taste.
6 cups beef broth, 5 sprigs fresh thyme, 1 bay leaf, Salt and freshly ground black pepper
Preheat the oven to 390°F (200ºC). Brush the bread with olive oil, season with salt and pepper and bake for 12 minutes, or until golden brown.
4 bread slices
Top the soup with the bread and the cheese slices. Place it in the oven for 5-7 minutes, until the cheese melts.
4 gruyere or gouda cheese slices
Serve with pepper and fresh herbs.