Routing tasks to models by complexity like a job for a LLM.
I'm sure there are degenerate cases, but I'd bet a relatively small model could do the job.