Modal releases Quail to speed AI-powered database queries

Modal and Carnegie Mellon researchers released Quail on Sept. 24 to speed up database queries that call on AI models for many small judgments. Quail plans SQL (a language for database queries) and batches the resulting model calls; its authors say coding agents wrote much of the system. Across their tests of AI-powered database queries, the researchers measured an average of 1.84 times the speed of vLLM (software for running AI models). On a query combining several tables, Quail processed more than one billion tokens (pieces of text processed by a model) per minute on one H100 graphics chip, over ten times their vLLM baseline.