Skip to content
Socaity Docs

Architecture

How the Socaity SDK, APIPod, and Cloud infrastructure fit together.

The Three Layers

Socaity has three distinct concepts. Understanding the boundary between them will prevent most configuration errors.

SDK — Use

Call any hosted AI model as a Python or JS function. No HTTP, no parsing.

pip install socaity
APIPod — Deploy

Package your own AI model as a serverless API with one decorator. apipod --build → deploy.

pip install apipod
Cloud — Run

Serverless GPU infrastructure (RunPod, Socaity Cloud). Scales to zero when idle.

socaity.ai / runpod.io

Request Flow

Your Code
SDK call
APIPod Service
Docker
Serverless GPU
RunPod / Cloud
Result
image / audio / text

Stack Components

ComponentPackageRole
Socaity SDKsocaityPython + JS client to call hosted models.
APIPodapipodFramework for packaging your model as a cloud API.
media-toolkitmedia-toolkitUnified file handler — images, audio, video.
Socaity Cloudsocaity.aiManaged serverless GPU runtime and model registry.
RunPodrunpod.ioThird-party GPU provider supported by APIPod.

Serverless vs Dedicated GPU

AspectDedicatedServerless
BillingHourly, always runningScales to zero when idle; pay-per-call when running
ScalingManualInstant, any replica count
Cold StartNone5–20s first request
DevOpsRequiredNone