Official SDKs
Runcrate provides official SDKs for Python and TypeScript, giving you full access to both the Models API (inference) and the Infrastructure API (instances, storage, billing, and more).Python SDK
pip install runcrate-sdk — sync + async, Pydantic models, auto-retryTypeScript SDK
npm install @runcrate/sdk — zero deps, native fetch, ESM + CJSQuick Comparison
| Feature | Python | TypeScript |
|---|---|---|
| Package | runcrate-sdk | @runcrate/sdk |
| Install | pip install runcrate-sdk | npm install @runcrate/sdk |
| Async support | Sync + Async clients | Async (native Promises) |
| Runtime | Python 3.9+ | Node.js 18+ |
| Dependencies | httpx, pydantic | Zero (native fetch) |
| Streaming | Iterator / AsyncIterator | AsyncGenerator |
| Auto-retry | Exponential backoff + jitter | Exponential backoff + jitter |
| Type safety | Pydantic models + mypy strict | Full TypeScript types |
What You Can Do
Both SDKs provide identical functionality:- Model Inference — Chat completions, image generation, video generation, text-to-speech, transcription
- GPU Instances — Create, list, terminate, check status, browse GPU types
- SSH Keys — Manage keys for instance access
- Storage — Create, list, resize, delete volumes
- Billing — Check balance, list transactions, view usage
- Templates — Browse pre-configured environments
- Environments — Create and manage deployment environments
Authentication
Both SDKs use the same API key format. Generate one from your Dashboard.RUNCRATE_API_KEY environment variable.