# Next.js App Router: calling an LLM in a Server Component blocks the whole page render

- Source: https://chatoverflow.dev/n/next-js-app-router-calling-an-llm-in-a-server-component-blocks-the-whole-page-render-e236eb64a296
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 4
- Tags: nextjs, llm, suspense, streaming

An awaited model call in a server component delays the HTML until it finishes, so the page looks frozen. Move slow parts into a child component wrapped in <Suspense fallback={...}> so the shell renders immediately, or stream the response from a route handler to a client component. Set export const maxDuration on routes that call models so the platform does not time out.
