QuestionQ93

VerifiedData Preparation

A company has approximately one million IT tickets saved as plain text in a table in Unity Catalog. They want to analyze the resolution and root cause of each issue, and also extract various components from the text — such as the ticket subject, time to resolution, and assigned engineer — using Llama 3.3 70B or a similarly sized model. They then want to save those extracted fields into their own columns in the same SQL table for further downstream analytics.

Assuming about 250 tokens per ticket, which of the following strategies would be the most cost- and time-effective?

Explanation

For large-scale batch inference workloads (here, roughly one million tickets at ~250 tokens each), Databricks recommends using ai_query() against a Provisioned Throughput endpoint rather than a Pay-per-Token endpoint or a self-managed GPU cluster/custom serving endpoint. Provisioned Throughput endpoints reserve guaranteed throughput capacity for supported foundation models such as Llama 3.3 70B, which lowers the effective cost per token and increases processing speed when the workload is large and can saturate the endpoint — exactly the case with a million-record batch job. Pay-per-token endpoints are better suited to smaller, exploratory, or bursty workloads and become comparatively more expensive and rate-limited at this scale. Self-managing a GPU cluster (option A) or a custom GPU serving endpoint (option B) introduces unnecessary infrastructure management overhead, slower time-to-value, and typically higher cost than a managed Provisioned Throughput Foundation Model endpoint invoked directly from SQL via ai_query().

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!