Why it works: Garlic and onion match in chemistry and in kitchens. They rank in the top 1% of all ingredient pairs, and 29,030 recipes mention both. Both carry furaneol, which smells caramel, strawberry. The science ↓
The recipe
3–4 tablespoonsIngredients
Contains: shellfish (auto-detected from the ingredients and method; we can miss things, so check labels)
Directions
Make the paste
Grind the red chiles, garlic, lemongrass, and onion in a mortar.
Add the remaining ingredients except for the oil, and keep grinding to make a fluid paste.
Mix in the oil.
Store
Store in an airtight container in the refrigerator for up to 1 month.
Steps grouped into stages for easier reading; the method is the source's own.
Found this recipe through an AI assistant? CompKitchen also shows which ingredients go well together and why, from the aroma molecules they share and how often recipes combine them. Try the pairing tools.
Explore the science
The flavor team
The pairs that carry this dish. Each one is judged two ways: how much aroma chemistry they share, and how many recipes mention both.
-
Garlic + oniontop 1% of all pairsAroma overlapstrongMentioned together29,030 recipes
Shared aroma: furaneol (caramel, strawberry).
-
Ginger + cumintop 2% of all pairsAroma overlapstrongMentioned together1,733 recipes
Shared aroma: beta-phellandrene (minty, terpene).
-
Garlic + cumintop 3% of all pairsAroma overlapmoderateMentioned together5,083 recipes
Shared aroma: beta-phellandrene (minty, terpene).
-
Garlic + gingertop 4% of all pairsAroma overlapmoderateMentioned together6,402 recipes
Shared aroma: beta-phellandrene (minty, terpene).
-
Garlic + shrimptop 4% of all pairsAroma overlapmoderateMentioned together2,546 recipes
Shared aroma: 3-ethyl-2,5-dimethylpyrazine (roasted, nutty).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Red thai chiles
- Provide the heat and much of the paste's bold red color.
- Garlic
- Adds pungent aroma and savory depth to the paste.
- Lemongrass
- Contributes a bright, citrusy aroma.
- Trassi (shrimp paste)
- Adds deep savory, umami flavor that rounds out the paste.
- Oil
- Adds fat that carries aroma and gives the paste a smoother, fluid texture.
The step that matters
Grinding to a fluid paste. Pounding the aromatics thoroughly breaks down their cell walls, releasing essential oils and flavor compounds. Incomplete grinding leaves chunks that taste raw and disperse poorly in cooking.
Flavor stand-ins for the cumin
How well each one fits the dish's main ingredients (garlic, onion, ginger, trassi, shrimp):
- Corianderabout as good a flavor fit
- Cuminthe original
Fit is the average pairing score against garlic, onion, ginger, trassi, shrimp. Candidates are from the same food group and used in at least 100 recipes. This compares flavor only: it does not check the job the ingredient does in the dish (bulk, moisture, acidity, structure).
“What each ingredient does” and “The step that matters” were written by Claude, an AI, from this recipe’s own method. They are not checked recipe by recipe, so they can be wrong.
Make it your own
Stand-ins, a drink, and quick taste fixes for this dish, ranked by how well each fits its other ingredients: shared aroma molecules and how often recipes combine them.
You might also like
The Sunday pairing: one pairing, the chemistry behind it, and how to cook it. No spam, unsubscribe anytime.
Prefer an account? Create a free account for sign-in; Pro adds the full results and chemistry.
Illustration
Illustration
Illustration
Illustration