Welcome to Cognocient Docs
Popular: Attribution Headers, Budget Enforcement, Python Wrapper, CSV Import
Cognocient is an AI spend intelligence platform that proxies every API call your application makes to AI providers — OpenAI, Anthropic, Google Gemini, Mistral, Groq, Together AI, and more. Every request is observed, attributed to a feature or team, analysed for waste, and surfaced in real-time dashboards your CFO can actually use.
The integration is a single configuration change. No new SDKs, no new dependencies, no application code to rewrite.
Three ways to get started
The proxy above is the flagship path — live attribution AND pre-call budget enforcement. If you'd rather evaluate without a proxy hop or a production code change, see the Python async wrapper (live attribution, no pre-call enforcement) or the CSV/OTel importer (historical data, no code change at all).
Explore the docs by category
Getting started
The problem
58% of organizations describe their AI costs as a "black box" (Capgemini Research Institute, 2025). Engineering teams see token counts in Datadog. Finance teams get a consolidated line item on the credit card bill — weeks later. Nobody can answer:
- Which product feature is driving the cost spike?
- Is this spend waste, or is it generating revenue?
- Are we about to breach our AI budget before the month ends?
Cognocient closes all three gaps — automatically, in real time, without requiring your developers to instrument anything manually.
How Cognocient works
Your application code points at https://api.cognocient.com/v1 instead of the AI provider directly. Cognocient:
- Forwards the request to the original provider — same API surface, same models, same response format. Your application code sees zero difference.
- Records metadata — model, token counts, cost, latency, and your optional attribution headers. Prompt and response content are never stored.
- Runs analytics in-path — waste detection, budget enforcement, anomaly scoring, and cache hit analysis — before the response returns to your app.
- Surfaces insights — into the Cognocient dashboard, your BI tools via FOCUS 1.1 export, or your alerting pipeline via webhooks.
The proxy adds 10–30ms of overhead. Budget checks run in Redis (sub-millisecond). Semantic cache hits return in under 10ms — often faster than the provider would have responded.
One change unlocks everything
Change one line. That's it.
2-minute setup
No SDKs to install. No infrastructure to manage. If you already use the OpenAI SDK — or any SDK that accepts a base_url / baseURL — you are already compatible. The same URL works for OpenAI, Anthropic, Gemini, Mistral, Groq, and Together AI.
Key capabilities
Cognocient is built around nine capability pillars. Each unlocks a different part of the AI spend visibility problem.
Tag every AI call by feature, team, session, and GL account using HTTP headers. Slice and dice costs any way finance needs.
Tag calls with X-Cost-Session: JIRA-1234 or pr-456 to see AI cost per story, PR, or agent task run — down to the cent.
Five waste categories detected automatically: over-sized models, redundant calls, missed cache opportunities, anomalous spikes, and bloated context windows.
Live dashboard panel showing investment vs. waste split, efficiency score (0–100), and a one-sentence board summary generated from your actual spend data.
Hard budget limits enforced at the proxy — before the charge reaches your provider bill. Hierarchical: run → feature → department → org. The tightest limit wins.
Budget reservations are enforced physically, not just logically. Forwarded max_tokens is clamped to what the remaining budget can actually afford.
Semantic caching via pgvector HNSW, prompt-cache routing, and AI-generated one-click recommendations that right-size your spend.
Full cost tree across multi-agent workflows: which agent called which tool, how much each step cost, and which team was responsible.
Board-ready PDF executive reports with 3 narrative tones. FOCUS 1.1 CSV export. Scheduled monthly delivery to finance teams.
Finding features in the dashboard
Each capability maps to a specific dashboard page. Here's where to look:
| Capability | Dashboard page | How to access |
|---|---|---|
| Spend Attribution | Engineering Dashboard | Spend by Department chart (bottom left) |
| Workstream Attribution | Workstreams | /dashboard/workstreams |
| Waste Detection | Executive Overview | Recoverable Waste widget (middle section) |
| Waste Detection | AI Insights | /dashboard/insights |
| AI Investment ROI | Engineering Dashboard | AI Investment ROI panel (below Maturity Score) |
| Budget Enforcement | Budgets | /budgets |
| Budget Enforcement | Engineering Dashboard | Health bar → "Budget Usage %" |
| Budget Status API | — | GET /api/budgets/status for orchestration layers |
| AI Optimization | Recommendations | /dashboard/recommendations |
| Agent Attribution | Engineering Dashboard | Agent Runs table |
| Reports & Exports | Reports | /reports → Generate Report or Scheduled Delivery tab |
Read the full Dashboard Walkthrough →
Who Cognocient is for
Engineering teams use Cognocient to understand which features drive AI costs, catch runaway usage before it hits the bill, right-size models with one-click recommendations, and debug anomalies with per-request attribution trails.
FinOps and finance teams use Cognocient to allocate AI spend to the right cost centres, enforce monthly budgets in real time, produce chargeback reports for internal GL accounts, and export FOCUS-compliant data into existing cloud cost management platforms.
CTOs and CFOs use Cognocient's Executive View to answer the board question every quarter: "We spent $X on AI last month — what did we actually get for it?" Unit economics (cost per ticket resolved, cost per report generated, cost per sale influenced) make the answer concrete.
10-day free trial — no credit card required
Full platform access. All 7 providers supported. Your first attribution dashboard in under 5 minutes. Find my waste — free trial
Supported AI providers
Cognocient proxies all major providers through a single base_url configuration. No separate keys or SDK changes per provider.
OpenAI
GPT-4o, o1, o3, GPT-4o-mini
All models including latest releases
Anthropic
Claude 3.5, Claude 4 family
claude-opus-4, claude-sonnet-4, claude-haiku-4
Google Gemini
Gemini 1.5, 2.0 Flash, 2.5 Pro
Via OpenAI-compatible endpoint
Mistral
Large, Nemo, Codestral
All Mistral models
Groq
Llama 3.1, Mixtral, Gemma
Ultra-fast inference
Together AI
100+ open-source models
Llama, DeepSeek, Qwen, and more
Azure OpenAI
GPT-4o, GPT-4
Configured via deployment name
See Supported Providers for SDK-specific configuration examples for each provider.
Security and privacy
Cognocient is built on a metadata-only logging principle:
- Prompt and response content is never stored. We log model, token counts, cost, latency, and your attribution headers — nothing else.
- Provider API keys are encrypted at rest using Fernet symmetric encryption. Keys are never logged or exposed in API responses.
- All traffic is encrypted in transit (TLS 1.2+).
- No SOC 2 report yet. See Security & Privacy for the full, current state of what's built.
Popular how-to guides
Step-by-step walkthroughs for the most common tasks. Each is self-contained and takes under 30 minutes. See all 16 how-to guides ↓
All how-to guides
| Guide | Time |
|---|---|
| Tag your first AI call | 5 min — add 2 headers and see per-feature spend immediately |
| Set a monthly spending limit | 5 min — hard budget enforced at the proxy |
| Cut your AI bill with one-click recommendations | 30 min — AI Advisor finds savings, one click applies them |
| Get Slack alerts on spend spikes | 10 min — anomaly and budget alerts in your Slack channel |
| Track cost per agent run | 15 min — per-execution cost breakdown and per-run budget |
| Map spend to GL accounts | 10 min — finance-ready chargeback reports with GL codes |
| Set up hierarchical budgets | 15 min — enforce limits at every level simultaneously |
| Debug runaway agent loops | — find, stop, and prevent looping agents |
| Prepare an AI ROI board report | 30 min — cost per outcome, efficiency trend, board-ready PDF |
| Enable semantic caching | 5 min — eliminate duplicate calls, 25–35% bill reduction |
| Track cost per business outcome | 15 min — cost per ticket, contract, or conversion with one header |
| Set up MCP agent attribution | 15 min — full cost tree for Claude + MCP tool call workflows |
| Apply routing rules to auto-switch models | 10 min — no code changes, savings apply immediately |
| Schedule monthly AI spend reports | 5 min — automated PDF delivery to your finance team |
| Export AI spend to your FinOps platform | 10 min — FOCUS 1.1 into Apptio, CloudZero, or Spot |
| Migrate from LiteLLM, Langfuse, or Helicone | 15 min — side-by-side comparison and first-5-minutes checklist |
Frequently asked questions
Ready to start? Find my waste — free trial