This is exactly what the frontier models are trying to do!
Check this graph:
https://paraplouis.github.io/llm-pareto-frontier/