---
title: How do I lower my Vercel Function execution time?
description: Learn how to lower your Serverless Function execution time.
url: /kb/guide/how-do-i-lower-my-serverless-function-execution-time
canonical_url: "https://vercel.com/kb/guide/how-do-i-lower-my-serverless-function-execution-time"
published: 2025-11-03
last_updated: 2025-11-10
authors: Sam Ko
related:
  - /docs/functions/fluid-compute
  - /docs/functions/regions
  - /docs/edge-network/caching
  - /docs/observability
install_vercel_plugin: npx plugins add vercel/vercel-plugin
---
<!-- docsgraph:related -->
## Related pages

> **For AI agents:** Follow these links to understand how this page connects to the rest of the Vercel ecosystem. For the full cross-link map (inbound, outbound, prerequisites, and semantic neighbors), see the .graph.md link below.

- [Functions](https://vercel.com/docs/functions?from=related) — Run server-side code on Vercel without managing a server.
- [Debug Slow Functions](https://vercel.com/docs/functions/debug-slow-functions?from=related) — Diagnose and fix slow Vercel Functions using CLI tools, logs, and timing analysis.
- [Legacy Usage & Pricing](https://vercel.com/docs/functions/usage-and-pricing/legacy-pricing?from=related) — Learn about legacy usage and pricing for Vercel Functions.
- [What is Compute?](https://vercel.com/docs/fundamentals/what-is-compute?from=related) — Learn how compute works on Vercel with Fluid compute, and how it compares to traditional server and serverless models.
- [Configuring Functions](https://vercel.com/docs/functions/configuring-functions?from=related) — Learn how to configure the runtime, region, maximum duration, and memory for Vercel Functions.
- [Getting Timeouts When Deploying on Vercel](https://ai-sdk.dev/docs/troubleshooting/timeout-on-vercel?from=related)
- [Investigate latency issues and slowness on Vercel](https://vercel.com/kb/guide/investigate-latency-issues-and-slowness?from=related) — Learn how to use Observability to investigate latency issues and slowness on Vercel.
- [Troubleshooting Build Error: "Serverless Function has exceeded the unzipped maximum size of 250 MB"](https://vercel.com/kb/guide/troubleshooting-function-250mb-limit?from=related) — Learn how to troubleshoot builds failing due to exceeding the maximum function size limit on Vercel.

Full cross-link map for this page: [/kb/guide/how-do-i-lower-my-serverless-function-execution-time.graph.md](/kb/guide/how-do-i-lower-my-serverless-function-execution-time.graph.md)
<!-- /docsgraph:related -->


If your Vercel Functions are timing out, **we recommend** [**enabling Fluid compute**](https://vercel.com/docs/functions/fluid-compute#how-to-enable-fluid-compute).

Fluid, which is our new execution model for Vercel Functions, has the following benefits:

- The default function timeout is higher
  
- The max duration functions can run is longer (up to 800s on Pro)
  
- It's a more cost-effective model for functions with network I/O (like database calls)
  

## Other strategies to reduce your function execution

- Ensure your function region [region](https://vercel.com/docs/functions/regions) is the same as your data source(s)
  
- Explore [caching](https://vercel.com/docs/edge-network/caching) the function responses (or upstream calls to external APIs)
  
- Explore request latency to external APIs in the [Observability tab](https://vercel.com/docs/observability)
  

You can view your Function performance and other metrics with [Observability](https://vercel.com/docs/observability).