Why is Api Slower Than Playground?

I’ve noticed that when I run the same request in the playground, it is 5-10x faster than in the API. Anyone have an idea why this might be? Thanks!