# ClickHouse Cloud — card for AI agents

Managed analytics database with compute and storage scaled separately.

Maker: ClickHouse · category: Databases and backends

## Price (official page)
- Free tier: $300 credits for 30 days
- Free tier terms: free credits · one-time · amount: $300 credits (read from the wording above and the pricing page; empty = not stated)
- Usage price: Storage $25.30 per 1TB/mo, Compute $0.2181-$0.3903 per unit/hr
- Pricing page: https://clickhouse.com/pricing (checked 2026-10-09)
- Note: Added automatically: its SDK was in 15 of the public agent repos we sampled when it was added. Prices read from the official pricing page.

## Connect
- PyPI: `pip install clickhouse-connect`

## For AI agents on ClickHouse's own site (AgentGid check 2026-11-13: 4 of 6)
- llms.txt: https://clickhouse.com/llms.txt
- Docs pages as Markdown: 32% of the pages llms.txt lists
- OpenAPI description: https://clickhouse.com/openapi.json
- Official MCP server: no · official SDK: yes · status page: no
- robots.txt lets AI assistants (ChatGPT-User, Claude-User) read the site: yes

## A year of price history (Internet Archive copies of the pricing page, read by rules)
- Months read: 3 (2026-04 to 2026-10) of https://clickhouse.com/pricing
- Lowest $/month figure on the page: $178 in 2026-04, $53 in 2026-10
- A figure is any "$X/month" on the page (plans, seats and add-ons alike); open the archived copy to see which plan it is.

## Price history in AgentGid's catalog (since 2026-10-11)
- Changes recorded: 0 (a vendor price change or an editor's correction; the evidence archive keeps the pricing page of each date)

## Other APIs in this category
- MongoDB Atlas: https://agentgid.com/apis/mongodb/agent.md
- DuckDB: https://agentgid.com/apis/duckdb/agent.md
- Redis: https://agentgid.com/apis/redis/agent.md
- Firebase: https://agentgid.com/apis/firebase/agent.md
- Upstash Redis: https://agentgid.com/apis/upstash/agent.md

## Links
- AgentGid page: https://agentgid.com/apis/clickhouse/


## ClickHouse Cloud: fast reports over huge amounts of data

ClickHouse Cloud is a hosted database built for counting and summing very large amounts of data quickly, such as every click or log line your app produces. Your app or dashboard asks it questions in SQL and gets answers in moments, even over billions of rows. It is the managed version of the open-source ClickHouse database, and you pay for the time it computes and the data it stores.

### Where to use it
- Fast dashboards inside your app: Show your customers charts of their own usage, such as visits or sales per day, that load quickly even with years of data.
- Keep and search your logs: Store logs, metrics and traces from your servers for a long time and search them quickly when something breaks.
- Record every event from your app: Save each sign-up, click or purchase as a row, in batches, so you can count and compare them later. (idea, not from the official pages)
- Turn a saved query into a web address: Save a query in the console and get a ready API that your website or another service can call for the numbers.
- Ask your data questions through an AI assistant: Connect your AI assistant so it can list your tables and run read-only questions such as "top 10 pages last week".
- Reports next to your app's main database: Keep orders and users in Postgres for the app, and copy them to ClickHouse for heavy reports that would slow the app down.

### How to start
- Sign up for ClickHouse Cloud (trial with $300 in credits for 30 days) and create a service in the console; save the password of the default user, it is shown only once.
- Install the official Python client.

```
pip install clickhouse-connect
```

- Connect with the host from the console's Connect dialog, port 8443, and run a query.

```
import clickhouse_connect

client = clickhouse_connect.get_client(
    host="HOSTNAME.clickhouse.cloud",
    port=8443,
    username="default",
    password="your password",
)
```


### License
ClickHouse Cloud is a paid hosted service; the database software itself is open source. The free trial is for testing only, not for a live product. You pay by usage after the trial, and you may not resell access to the service.

### Good to know
- The trial gives $300 in credits for 30 days with no credit card. It is for evaluation, not for a live product.
- Computing time stops being billed while the service is idle, but stored data is billed all the time.
- The Basic plan holds up to 1 TB, and a single-replica Basic service allows at most 100 databases and 500 tables.
- A success code does not always mean the query worked; an error can appear at the end of the answer.
- Every password and key is created by a person in the console and should reach your code through a secret store, not chat or git.

Checked 2026-11-10 against: https://clickhouse.com/, https://clickhouse.com/llms.txt, https://clickhouse.com/pricing, https://clickhouse.com/pricing.md, https://clickhouse.com/auth.md, https://clickhouse.com/docs/llms.txt, https://clickhouse.com/docs/get-started/setup/cloud.md, https://clickhouse.com/docs/integrations/language-clients/python/index.md, https://clickhouse.com/docs/concepts/features/interfaces/http.md, https://clickhouse.com/docs/products/cloud/guides/best-practices/usagelimits.md, https://clickhouse.com/docs/products/cloud/features/sql-console-features/query-endpoints.md, https://clickhouse.com/docs/products/cloud/features/admin-features/api/openapi.md, https://clickhouse.com/docs/products/cloud/features/ai-ml/mcp/remote-mcp.md, https://clickhouse.com/legal/llms.txt, https://clickhouse.com/legal/clickhouse-general-terms-and-conditions, https://clickhouse.com/legal/clickhouse-cloud-addendum, https://clickhouse.com/legal/agreements/data-processing-addendum, https://clickhouse.com/legal/privacy-policy, https://pypi.org/pypi/clickhouse-connect/1.12.0/json, https://registry.npmjs.org/@clickhouse/client/1.25.0

### Mistakes to avoid
- Don't: Connecting to a Cloud service on port 8123 without TLS, as in local examples. → Do: Use the HTTPS host from the Connect dialog and port 8443 (9440 for the native protocol). (Cloud services require TLS.)
- Don't: Treating an HTTP 200 answer as proof that the query succeeded. → Do: Use the official client, or check the X-ClickHouse-Exception-Code header and the end of the body. (An error can be written after the 200 status has already been sent.)
- Don't: Putting the user and password in the URL (?user=...&password=...). → Do: Send them as HTTP Basic or with the X-ClickHouse-User and X-ClickHouse-Key headers. (The docs warn that URL parameters can be logged by proxies and cached by the browser.)
- Don't: Creating a service with clickhousectl and leaving the default IP access list. → Do: Pass --ip-allow with your server's addresses when creating the service. (Services created with clickhousectl accept connections from any address by default.)
- Don't: Running a live product on the free trial credits. → Do: Move to pay-as-you-go before launch; the trial is for evaluation. (The terms limit trials to non-production use, and the trial ends after 30 days.)

### Questions
- Is there a free plan? There is a free trial, not a free-forever plan; it has $300 in credits for 30 days and no card is needed.
- Do I pay when nobody uses it? Computing stops when the service is idle, so it is not billed; storage is billed for as long as you keep data.
- Which languages have an official client? The docs list ClickHouse Connect for Python and an official JS client for Node.js; plain HTTPS works from any language.
- Does ClickHouse train AI models on my data? The Cloud terms say data from its AI features may improve products but not train or fine-tune AI models; you can opt out of the improvement use.
- Can I call it straight from a web page? Not with a database password or Cloud key; keep them on the server. Saved queries can be published as endpoints for other services to call.

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
