Clay: Qualifying All 40 Million Companies as Prospects Costs About $1,500
Clay, a sales prospecting platform valued at $7.1 billion, has calculated what it would cost to screen its entire database. It holds about 40 million companies: a LinkedIn company page runs about 1,000 tokens, an ideal customer profile adds another 500, and a classifier such as Jev from TypeSafe could go through everyone for roughly $1,500. Customers currently check lists of only about 10,000 companies, so they can now start with the whole market. The takeaway: price the entire market, not a sample.
AI-processed from Latent Space (swyx); edited by Hamidun News
Imagine you sell software and want to know which companies in the world fit you. Until now, that meant buying a list of a few thousand firms and cleaning it by hand. Now the question "does this company match my ideal customer profile?" can be asked of every company on the planet, and it costs about as much as a used laptop. That is the math from Jeff Barg, head of AI at Clay, a platform for finding and qualifying customers. In September, Clay raised $115 million at a $7.1 billion valuation. Barg described how its agents work, and where the pitfalls turned up, on the Latent Space podcast.
$1,500 for the Whole Market
Clay's database holds about 40 million companies. Barg ran the numbers on a napkin: a company's LinkedIn page takes roughly 1,000 tokens (a token is a chunk of text used to measure how much a model processes), and the ideal customer description adds about 500 more. Asking a classifier whether each company fits would cost about $1,500 for all 40 million. Barg named Jev from TypeSafe as the model, but Clay has not yet deployed it in production, so this is a calculation, not a running feature.
Today a typical customer checks a list of about 10,000 companies. At that price, they can start with the entire market instead of a pre-selected sample. Rough budget benchmarks for data enrichment are $1–10 per qualified lead and $10–100 per booked call.
According to Barg, lead qualification itself is nearly solved: for about a year, models have hit the maximum possible score on Clay's internal tests. Almost any model from the past year can find a recent funding round. Top models are needed for deep research on prospects and for orchestration, meaning managing the chain of actions, where the best workflows can be 10–100 times more effective than average.
From Toolset to Coding Agent
The first version of the Sculptor agent, released in September 2025, ran a set of tools in a loop. It added columns to a table well, but could not book ten qualified meetings. Tests barely caught this: Clay used an LLM to judge which tools the agent called. What got missed was what people actually do, such as analyzing a table or working with an enterprise spreadsheet of millions of rows.
The conclusions were these: coding agents are strong at Bash and Python, Sculptor had too few tools to combine, and the agent could not see CRM data or campaign results. Clay rebuilt it as a coding agent on the Pi harness, which runs the Clay CLI in a cloud sandbox. A new Audiences data layer matches records from the CRM and Gong so the agent sees them together.
The goal is for work done through Claude Code to produce roughly the same results as Clay's own agent. Usage has already split almost 50/50 between the Clay agent and external environments. The push came from inside: Clay's own sales team worked in Cursor and asked for a CLI, and now they prepare deals in Codex.
Infrastructure and Models
The stack is mostly homegrown: BullMQ holds agent tasks, Postgres and ClickHouse store product data, and Snowflake handles analytics. Clay does not use Temporal or LangGraph. Barg is not sure BullMQ would survive another tenfold growth, but it is coping for now.
Problems started with scale: people run the agent on every row, and a table of 50,000 companies sharply raises the load on models. Clay connected LangSmith to see what is happening, added rate limiting, and the ability to pause work when a provider goes down or imposes limits. Fairness is harder: a user running a workflow on ten contacts should not wait while an enterprise client enriches a million rows.
Customers do not like the model selector: they are not ready to re-check tests for their own task after every release. So Clay is preparing an automatic router that picks a model for each task, since finding the CEO of Apple and the CEO of a little-known local firm are different jobs. Manual selection will remain for agencies and advanced users.
On fine-tuning your own models, Barg advises against rushing. He names two common mistakes: trying to beat top models, and starting while inference spend (the cost of running models) is still too small. In his estimate, the threshold lies between $10 and $100 million. Until then, it is enough to take an open model that is noticeably cheaper than Opus.
What Still Doesn't Work
Agents still cannot parse the traces of other agents: models point to the longest step, even when the error lies elsewhere. As a result, Clay writes many agent skills by hand. Models still make basic mistakes, such as repeating the same CLI command with the same parameters over and over. At the same time, the agent answered a question about how many of Clay's customers come from YC in about a minute, where it used to require parsing a batch and reconciling the data with Snowflake by hand.
The practical takeaway for anyone building agents: price the whole market, not a sample; test the agent on real user workflows; and postpone fine-tuning your own model until inference spend is large. A caveat: these are the company's own figures, and there is no independent verification of the numbers in the podcast.
- Nov 27, 2026A Developer Built an English Trainer with Claude in 4 Evenings Instead of Two $30 Subscriptions
- Nov 27, 2026AI Is Finding More Bugs: Firefox Now Spends 27% of Its Effort on Fixes, Up from 10%
- Nov 27, 2026llama.cpp Patches Speed Up Radeon: Generation Goes From 35 to 55 Tokens/s, Prompt Processing From 700 to 1300
- Nov 26, 2026Anthropic Blocked Epic Games CEO Over 'Distillation' in Set Theory Work
Key Questions Answered
What are the key details on $1,500 for the Whole Market?
Clay's database holds about 40 million companies. Barg ran the numbers on a napkin: a company's LinkedIn page takes roughly 1,000 tokens (a token is a chunk of text used to measure how much a model processes), and the ideal customer description adds about 500 more. Asking a classifier whether each company fits would cost about $1,500 for all 40 million. Barg named Jev from TypeSafe as the model, but Clay has not yet deployed it in production, so this is a calculation, not a running feature.
What are the key details on From Toolset to Coding Agent?
The first version of the Sculptor agent, released in September 2025, ran a set of tools in a loop. It added columns to a table well, but could not book ten qualified meetings. Tests barely caught this: Clay used an LLM to judge which tools the agent called. What got missed was what people actually do, such as analyzing a table or working with an enterprise spreadsheet of millions of rows.
What are the key details on Infrastructure and Models?
The stack is mostly homegrown: BullMQ holds agent tasks, Postgres and ClickHouse store product data, and Snowflake handles analytics. Clay does not use Temporal or LangGraph. Barg is not sure BullMQ would survive another tenfold growth, but it is coping for now. Problems started with scale: people run the agent on every row, and a table of 50,000 companies sharply raises the load on models.
Free 2-Day Vibecoding & AI Agents Intensive
Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
