Case study · Shadow AI · Customer zero · Ayurak, on its own platform
Our own code called five AI providers and 25 models
We pointed Aribot's Shadow AI discovery at our own codebase. It found 134 places where the code calls an AI model, spread across five providers and 25 models. Set next to our AI cost report, the inventory exposed a gap: calls to two of those providers were being recorded as free.
Download as PDFdistinct places in our code that call an AI model
AI providers in use, across 25 different models
hard-coded API keys among those call sites
The situation
Aribot is an AI-heavy product built by a small team. Over a year, calls to language models spread through the backend: threat analysis, report writing, cost analysis and provider health checks.
The question was simple. Which models does the product call, from which file, and with what credentials?
What we built
Read the code, not the invoices
Discovery reads the source for AI SDK calls and the endpoints they reach. Each finding records the file, the line, the provider, the model and whether a key is hard-coded.
One inventory per call site
Two scans in June produced 280 raw findings. Collapsed to distinct file-and-line locations, that is 134 call sites: 46 to xAI Grok, 43 to Google Vertex AI, 28 to Anthropic, 17 to OpenAI and 6 to Groq.
Rank by risk
Each call site gets a risk level based on what it sends and where it sends it, so the riskiest ones are visible first.
Set the inventory next to the bill
The inventory lists Grok and Gemini among the providers in use. The AI cost report recorded every Grok and Gemini call with zero tokens and no cost, because those providers' responses were losing their usage data on the way back.
Results
- We now have one list of every AI call site, with its provider and model.
- None of the 134 call sites holds a hard-coded API key.
- The metering gap was fixed on 30 September 2026. The cost report now shows 2,254 earlier calls as not metered, instead of treating them as free.
- New calls to every provider are metered with the tokens the provider reports.
Related use cases
Customer zero: this is Ayurak running Aribot on its own platform. Every figure comes from our own workspace, counted on 1 October 2026. Products: API & AI Endpoint Discovery, AI Governance & Agent Security.