> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chowder.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Chowder Cloud

> Offload analytical inference to dedicated GPUs.

Offload AI compute to Chowder Cloud while SQL execution stays in your application. Use managed GPU compute for document parsing, transcription, inference, and embeddings. Your source can be a local file, a Hugging Face dataset, or cloud object storage.

> [card] [Run your first Cloud query](https://docs.chowder.ai/cloud/quickstart.md)
>
> Set up your account, connect to managed AI compute, and run your chosen query.

> [card] [Understand usage](https://docs.chowder.ai/cloud/usage.md)
>
> Start with a bounded batch, inspect credits, and expand your analysis deliberately.

## Change the compute, keep your query

Set these variables before Chowder creates the default engine. If you set them in a terminal, do so before launching your script or notebook from that terminal. Copy the `CHOWDER_API_URL` value from Step 2 under **Get started** on your [Chowder Cloud dashboard](https://chowder.ai/dashboard). Replace `your-api-url` and `your-api-token` with that URL and the API token you created.

```bash theme={"theme":"css-variables","languages":{"custom":["/languages/chowder-sql.json"]}}
export CHOWDER_REMOTE=1
export CHOWDER_API_URL="your-api-url"
export CHOWDER_API_TOKEN="your-api-token"
```

If Chowder already created the default engine in this session, finish or cancel its work and call `chowder.close()` before running the example. You can also restart your notebook kernel and set the variables again.

Then use the same module-level SQL API:

```python theme={"theme":"css-variables","languages":{"custom":["/languages/chowder-sql.json"]}}
import chowder

SQL = """
SELECT
    title,
    infer(
        content,
        'Does this review describe a product failure?',
        BOOL
    ).output AS product_failed
FROM read_parquet('hf://buckets/chowderai/chowder-demo/parquet/data/amazon-reviews/*.parquet')
LIMIT 3;
"""

relation = chowder.sql(SQL)
result = relation.to_polars()

chowder.display(result)
```

Run the example in a notebook for rich display. Call `chowder.close()` when you are finished with the shared default engine.

For explicit configuration, set `CHOWDER_API_URL` and `CHOWDER_API_TOKEN` as shown above. Create `engine = chowder.Engine(remote=True)`, call `engine.sql(SQL)`, and close the engine with `engine.close()` when you finish. The [Cloud quickstart](https://docs.chowder.ai/cloud/quickstart.md) shows both options.

## What stays in your application

SQL planning, relational execution, source credentials, and durable result caching stay with the calling application. Cloud processes the inputs needed for supported operations and streams typed results back without retaining your inputs, prompts, or outputs. You can filter, join, and aggregate those results in the same analytical plan. See [Supported operations](https://docs.chowder.ai/cloud/operations.md) and [Data handling](https://docs.chowder.ai/cloud/data-handling.md).

Local and Cloud models can differ, so predictions and embedding values may differ.

> [card] [Data handling](https://docs.chowder.ai/cloud/data-handling.md)
>
> Understand which inputs leave your application and where results and metadata live.

> [card] [Prefer to operate your own server?](https://docs.chowder.ai/guides/self-host-ai-compute.md)
>
> Open-source Chowder also supports self-hosted remote AI compute.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.