Neon Functions run on the same infrastructure as your Postgres and in the same region as your branch, with the branch's DATABASE_URL injected at runtime along with credentials for other Neon backend parts like the AI Gateway or Object Storage. They are not meant to host frontends, so UI hosting stays elsewhere while the data-adjacent slice of the backend runs next to the database.
