Compare
Latimal vs general-purpose embedding models for food
General embedding models are trained to understand everything a little. Food apps need something that understands dishes a lot. On menu search and dish matching, the gap is wide.
Measured on production search and FoodEval matching
Menu searchNDCG@10, average of 4 tasks
- Latimal0.869
- OpenAI text-embedding-3-large, reranked0.455
Latimal’s production /search against OpenAI text-embedding-3-large with bge-reranker-v2-m3.
Dish matchingBest F1, average of 7 tasks
- Latimal0.851
- OpenAI text-embedding-3-large0.758
Latimal against OpenAI text-embedding-3-large on FoodEval, and Latimal leads all seven tasks.
Where Latimal leads
We compared Latimal with seven widely used embedding models: OpenAI text-embedding-3-large, Voyage 4 Large, Cohere Embed v4, GTE-large, Nomic v1.5, BGE-M3 and E5-large. Each row below puts Latimal next to whichever of the seven scored highest on that task. Latimal is ahead on every search task and every matching task.
The starkest result is diet and allergen search. Queries like “celiac friendly” or “keto” rarely share a word with the dishes that satisfy them. Latimal scores 0.802. The best general stack scores 0.172.
Average4 tasks
- Latimal0.869
- OpenAI text-embedding-3-large0.455
Food search
- Latimal0.938
- OpenAI text-embedding-3-large, Voyage 4 Large0.590
Concept search
- Latimal0.809
- OpenAI text-embedding-3-large0.405
Diet & allergen search
- Latimal0.802
- OpenAI text-embedding-3-large0.172
Noisy search
- Latimal0.925
- Cohere Embed v40.660
Production NDCG@10. Competitors run their own embeddings plus bge-reranker-v2-m3.
Average7 tasks
- Latimal0.851
- OpenAI text-embedding-3-large0.758
Global cuisine
- Latimal0.867
- Cohere Embed v40.829
Cross-lingual
- Latimal0.886
- Voyage 4 Large0.820
Noisy menu
- Latimal0.916
- Nomic v1.50.750
Portion size
- Latimal0.972
- Nomic v1.50.855
Beverages
- Latimal0.746
- Voyage 4 Large0.719
Bakery & desserts
- Latimal0.755
- OpenAI text-embedding-3-large0.735
Indian cuisine
- Latimal0.817
- OpenAI text-embedding-3-large0.745
FoodEval best F1. Bare embeddings and cosine similarity for every system.
Latimal is also first overall on the public FoodEval leaderboard, 0.718 against 0.696 for text-embedding-3-large across all twelve tasks. Full tables for every system are on the benchmarks page.
Why food needs specialized retrieval
A general model learns that words which appear together are related. That’s great for documents and terrible for menus, where Pad Thai and Pad See Ew sit side by side on Thai menus everywhere and are still different orders. These are the cases FoodEval was built to test.
Synonyms and plain-language names
- Teriyaki Chicken Don/Chicken Teriyaki BowlSame dish
- Paneer Tikka/Cottage Cheese TikkaSame dish
Menus describe the same dish in a native name on one side and a translation on the other. There’s almost no character overlap to lean on, so a general model has to already know the dish.
Transliterations and scripts
- Khubz Arabi/Arabic FlatbreadSame dish
- Bibimbap 비빔밥/Kimbap 김밥Different dishes
The same dish arrives romanized, in its own script, or both at once. General multilingual models tend to key on “this is non-English food text” and miss the dish, so they merge Bibimbap with Kimbap and fail to connect Khubz Arabi with Arabic Flatbread. Latimal scores 0.886 on cross-lingual matching against 0.820 for the best general model.
Regional dish names
- Fatayer Laham/Arabic Meat PastrySame dish
- Krapow chicken/Thai basil chicken with riceSame dish
One city’s menu uses the local name, the next uses a description. Search, price comparison and dedup all depend on knowing these are one item.
Modifiers that change identity
- Regular Pepsi/Large PepsiSame dish
- Baked Falafel/Fried FalafelDifferent dishes
Size usually doesn’t change what a dish is. Cooking method often does. Latimal scores 0.972 on portion-size matching against 0.855 for the best general model, because it knows which words matter.
How the comparison was run
- Data
- All tasks and data come from FoodEval, our public food benchmark: 12 tasks and 5,868 examples from real menus.
- Search
- Search gives every general model its best shot. Each one is paired with bge-reranker-v2-m3, a widely used open-source reranker. Latimal is measured on its production /search endpoint, and anyone with an API key can reproduce it.
- Matching
- Matching uses the identical bare-embedding harness for every system: prompt-free encoding, cosine similarity and the same F1 threshold sweep.
- Reproduce
- The dataset, code and leaderboard are public, so you can rerun any number here. Details are in the production benchmarks post.
One API in place of a stack you assemble
With a general model you still have to build the food layer yourself: a reranker, synonym lists, noise cleanup, threshold tuning. Latimal ships that as endpoints you call from your backend, with nothing to host on your side.
Endpoints
The same key also covers menu deduplication and menu health reports. See the API reference for every endpoint.
Test it against your current model
Paste in dishes from your menu and compare the results with what you run today. The playground works without a key.