Skip to main content

Documentation Index

Fetch the complete documentation index at: https://runcrate.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Runcrate provides three official SDKs covering different use cases.

Python SDK

pip install runcrate-sdk — sync + async, Pydantic models, auto-retry

TypeScript SDK

npm install @runcrate/sdk — zero deps, native fetch, ESM + CJS

Vercel AI SDK

npm install @runcrate/ai — generateText, streamText, generateImage

Which SDK Should I Use?

SDKPackageBest For
Pythonruncrate-sdkPython apps — inference + infrastructure management
TypeScript@runcrate/sdkNode.js/Bun apps — full platform access in one client
Vercel AI SDK@runcrate/aiNext.js/React apps using useChat, streamText, generateImage
OpenAI SDKopenai / openaiDrop-in — just change the base URL to api.runcrate.ai/v1

Quick Comparison

FeaturePythonTypeScriptVercel AI SDK
Packageruncrate-sdk@runcrate/sdk@runcrate/ai
Installpip install runcrate-sdknpm install @runcrate/sdknpm install @runcrate/ai ai
Async supportSync + Async clientsAsync (native Promises)Async (native Promises)
RuntimePython 3.9+Node.js 18+Node.js 18+
Model inferenceYesYesYes
GPU instancesYesYesNo
StorageYesYesNo
BillingYesYesNo
StreamingIterator / AsyncIteratorAsyncGeneratorAI SDK streamText
Structured outputAI SDK Output.object
Image generationYesYesAI SDK generateImage
EmbeddingsAI SDK embed
Auto-retryExponential backoff + jitterExponential backoff + jitterVia AI SDK
Type safetyPydantic models + mypy strictFull TypeScript typesFull TypeScript types

Authentication

All SDKs use the same API key format. Generate one from your Dashboard.
rc_live_YOUR_API_KEY
Pass it directly or set the RUNCRATE_API_KEY environment variable.