Skip to main content
Chowder is an AI-native SQL engine for multimodal data analytics. With Chowder, you can run SQL directly on documents, text, images, video, audio, and more. Under the hood, Chowder is a local-first, in-process OLAP engine. It runs columnar SQL inside your application and returns Arrow-native results. Analytical inference runs models across whole datasets as part of SQL analysis. Unlike online inference, which serves one request at a time and optimizes for latency, it optimizes for throughput and cost across many rows. Use AI responses in filters, joins, and aggregations within the same query plan. Start with local AI compute, then offload analytical inference to Chowder Cloud with dedicated GPUs, or to your own self-hosted server, as your workload grows. The SQL interface stays the same.

Start locally, choose where AI runs

Create an engine in your Python application and begin querying without deploying a separate SQL server. Chowder combines relational analytics with inference, embeddings, document parsing, and transcription over structured and unstructured data. Choose where the supported AI processing runs: In every case, the in-process SQL engine stays with your application. With remote AI compute, Chowder retains SQL planning, relational execution, and inference-aware scheduling on the client while offloading supported processing operations. See Connect to remote AI compute and Self-host AI compute for more details.

Columnar analytical execution

Chowder plans and executes analytical SQL over Apache Arrow columnar data. Query operators exchange Arrow record batches: each batch contains typed column arrays under a shared schema. Filters, projections, joins, and aggregations operate over this columnar representation. AI functions add typed result columns that compose with the same SQL operators. You can classify a text column, group by the resulting labels, or join relations by embedding similarity within one analytical plan. Inference-aware operators schedule expensive model work with bounded concurrency and can reduce the inputs evaluated through eligible filters and limits. Model calls may process individual inputs or batches, depending on the runtime; the query engine continues to exchange columnar Arrow batches.

Row grain

A source’s row grain defines what one logical record represents. The values for those records are carried in columns within Arrow batches:
  • A PDF produces page rows.
  • An image file produces one encoded-image row.
  • Video and audio produce sampled time-window rows.
  • A text file produces line rows.
  • An MCAP file produces message rows.
  • JSON, CSV, and Parquet preserve their record grain.
For example, a PDF batch can contain source, page_number, and content columns, with one value per page in each column. Row grain describes the data you query; columnar execution describes how the engine processes it. Fixed-schema readers put source first. Chowder-assigned ordinals such as page_number, line_number, and window_number are one-based.

Lazy table functions

Multimodal table functions appear in FROM clauses:
The engine plans the query immediately but waits to execute it until you consume the Relation. Projection, filters, and LIMIT inform how much work each reader performs.

Arrow-native results

Chowder returns Arrow-native results. The columnar representation continues through the result boundary as a stream of typed Arrow record batches, ready for Arrow-compatible analytical tools:
Use to_arrow_table() to materialize an Arrow table, or to_polars() and to_pandas() to consume results in a DataFrame. You can also process batches directly as they arrive.

AI column functions return envelopes

The AI column functions infer and embed return structs instead of bare values. The output field contains the requested value or embedding. Other fields carry model identity, confidence where available, errors, and timings.
Use the envelope in a projection when you need provenance or diagnostics. Select .output when you need the typed value.

Reuse across analytical queries

Changing a grouping or downstream filter does not necessarily require repeating the same inference or embedding work. Chowder can reuse matching successful processing results across queries and eligible ephemeral nearest-neighbor indexes within an engine session. Caching explains their identities, lifetimes, and controls.

Data and compute locations are separate

A source may live on the local filesystem, in object storage, on Hugging Face, or behind a URL. Choose the AI compute location independently: a remote source can be processed locally, and a local source can supply data to remote AI compute. The calling engine retains source access and sends the data needed for supported remote operations. Read Architecture for how the columnar engine, source readers, and inference-aware operators execute together.