Behind the scenes, Cognee Cloud runs on managed Kubernetes on AWS and Google Cloud (US East region), where each tenant gets its own isolated deployment backed by a dedicated managed PostgreSQL database.
System Overview
Cognee Cloud’s architecture centers around two main layers that work together to provide a managed knowledge processing platform:Managed Compute (Kubernetes)
Cognee Cloud runs as a managed service on Kubernetes clusters on AWS and Google Cloud in the US East region (EU hosting on request via social@cognee.ai):- API Services: Each tenant runs its own Cognee application, which serves the REST endpoints and handles authentication (see Cloud SDK)
- Per-tenant isolation: Every tenant is provisioned as its own dedicated deployment, so tenants don’t share application compute
- Workspace URL by cloud: A workspace’s URL shows where it runs:
tenant-<id>.aws.cognee.aion AWS,tenant-<id>.gcp.cognee.aion Google Cloud. Always use the URL from the API Keys page rather than building it yourself
Storage Services (Managed by Cognee Cloud)
All data persistence is handled through Cognee Cloud’s managed storage infrastructure:- Dedicated tenant database – Each tenant has its own managed PostgreSQL database holding all of that tenant’s durable state: relational data, the vector embeddings generated during the cognify process, and the knowledge graph
- Platform database – A separate PostgreSQL database, isolated from all tenant data, stores users, quotas, and billing records
Models
Building and reading memory takes several model calls, and not all of them need the same kind of model. Cognee splits the pipeline into steps so each one can use the model that fits it:
On Cognee Cloud every model call goes through a managed gateway, using a key that belongs to your workspace. That is how token usage is metered and billed from your workspace credits. You don’t bring or configure model keys yourself.
Small models for extraction
Extraction is the most expensive step, because it runs once per chunk. Open-source Cognee can run it without a language model: thegliner_demo extractor uses GLiNER, a small 194M-parameter entity model, with FastEmbed for embeddings, all on your own machine. Instead of fixed labels, GLiNER reads a short sketch of each document once to pick the entity types, then uses them for every chunk in that document.
In Cognee’s internal evaluation this was about 30× faster per chunk than a language-model extractor: a 2,000-token chunk took about 1.2 seconds on an Apple M4 Pro, against an estimated 35 seconds. It also avoids an estimated $0.57 per MB of API charges. Language models still write the final answers. See Small Models in AI Memory for the method and how quality was measured.
To build memory locally with a small model and keep it in Cognee Cloud, build the graph on your machine and upload it with cognee.push(). A production-grade small-model extractor, with higher accuracy and wider label coverage, comes with an Enterprise license; contact us to discuss it.
Key Architectural Principles
- Tenant & Dataset Isolation: Each tenant runs as its own deployment with a dedicated database, and processing happens at the dataset level with separate storage namespaces (see permissions & access control for details)
- Managed Infrastructure: Users don’t configure compute, storage, or database credentials—everything is managed by Cognee Cloud
- Compatibility: Storage schemas remain compatible with self-hosted Cognee for easy migration
Relationship to Cognee OSS
Cognee Cloud uses the same concepts, operations, and API patterns as open-source Cognee. The difference is deployment:- Cognee Cloud — Hosted persistence, managed compute, collaboration features.
- Open-source Cognee — Local development, custom infrastructure, air-gapped environments.
cognee.serve().
Continue exploring
Permissions & access control
See how tenant isolation and RBAC layer onto the storage services.
Security & data protection
Tenant isolation, encryption, data durability, and GDPR.