Scalable Simulation-Based Model Inference with Test-Time Complexity Control