---
title: "Executable UDFs are now generally available on ClickHouse Cloud"
description: "Executable user-defined functions (UDFs) have moved from public beta to general availability on ClickHouse Cloud across AWS, GCP, and Azure. The GA release adds a Native runtime for precompiled statically linked binaries in Rust, Go, C++, and JavaScript, requiring both amd64 and arm64 architectures, alongside the existing Python support. UDFs now have network access to public endpoints, a per-process memory limit, a deterministic flag that enables query caching, and are not billed separately, running inside service pods. ClickHouse 26.6+ provides eight ProfileEvents counters and two asynchronous metrics for per-query UDF cost monitoring, and the Cloud API and Terraform provider support UDF management with per-service version pinning. The post demonstrates counting LLM tokens and grading completions using these UDFs, showing how to put tokenization libraries next to the data in ClickHouse."
---

# Executable UDFs are now generally available on ClickHouse Cloud

[Clickhouse](https://yomu.fyi/company/clickhouse) · Oct 5, 2026

**Type:** Announcement

## Summary

Executable user-defined functions (UDFs) have moved from public beta to general availability on ClickHouse Cloud across AWS, GCP, and Azure. The GA release adds a Native runtime for precompiled statically linked binaries in Rust, Go, C++, and JavaScript, requiring both amd64 and arm64 architectures, alongside the existing Python support. UDFs now have network access to public endpoints, a per-process memory limit, a deterministic flag that enables query caching, and are not billed separately, running inside service pods. ClickHouse 26.6+ provides eight ProfileEvents counters and two asynchronous metrics for per-query UDF cost monitoring, and the Cloud API and Terraform provider support UDF management with per-service version pinning. The post demonstrates counting LLM tokens and grading completions using these UDFs, showing how to put tokenization libraries next to the data in ClickHouse.

## Context

Executable UDFs were in public beta for four months; the GA release adds Native runtime, network access, Azure support, memory limits, deterministic flag, Cloud API and Terraform support, and observability metrics.

## Approach / What changed

Added Native runtime for precompiled statically linked binaries in Rust, Go, C++, and JavaScript (compiled with Bun), network access to public endpoints, per-process memory limit, deterministic flag for query caching, Cloud API and Terraform provider support with per-service version pinning, and per-query UDF metrics in ClickHouse 26.6+.

## Takeaways

- Executable UDFs now support a Native runtime for precompiled statically linked binaries in Rust, Go, C++, and JavaScript (compiled with Bun), requiring both amd64 and arm64 architectures.
- UDFs can make outbound calls to public endpoints, have a per-process memory limit, and a deterministic flag that enables query caching; they are not billed separately and run inside service pods.
- ClickHouse 26.6+ provides eight ProfileEvents counters and two asynchronous metrics for per-query UDF cost monitoring, including wall time, pool wait, CPU, memory, and bytes over the pipe.

## FAQ

### What runtimes are supported for executable UDFs?

Executable UDFs support a Native runtime for precompiled statically linked binaries in Rust, Go, C++, and JavaScript (compiled with Bun). Python scripts are also supported via the existing runtime.

### How are executable UDFs billed?

UDFs are not billed separately. They run inside your service's pods and consume the same CPU and memory as your queries.

### What new observability is available for UDFs?

ClickHouse 26.6+ adds eight ProfileEvents counters and two asynchronous metrics, so per-query UDF cost (wall time, pool wait, CPU, memory, bytes over the pipe) appears in system.query\_log.

**Tags:** [ClickHouse](https://yomu.fyi/topic/clickhouse), [Cloud](https://yomu.fyi/topic/cloud)

- Source: [Clickhouse](https://clickhouse.com/blog/executable-udfs-generally-available-on-clickhouse-cloud)
- Source URL: https://clickhouse.com/blog/executable-udfs-generally-available-on-clickhouse-cloud
- Ingested by Yomu: 2026-10-05T15:00:06.454Z

[Read original post](https://clickhouse.com/blog/executable-udfs-generally-available-on-clickhouse-cloud)
