Skip to main content

Python

The Python SDK requires Python 3.10 or higher. The same runpod package also includes the app SDK (formerly Flash) and the rp CLI. See the Runpod SDK overview for everything the package can do.

Install

Create a virtual environment and install the SDK:
To verify the installation:

Configure your API key

Set your API key as an environment variable and reference it in your code:
Never hardcode your API key directly in your code. Always use environment variables or a secrets manager.
For more information, see the Python SDK on GitHub.

JavaScript

The JavaScript SDK requires Node.js 20 or higher. It supports ES modules and CommonJS, and includes TypeScript types.

Install

Configure your API key

The same package also includes a typed client for the REST API, so you can manage Pods, endpoints, templates, and network volumes from the same code:
If you only need the REST API client, install @runpod/typescript-api-sdk instead.
Version 2.0.0 requires Node.js 20 or higher, and HTTP errors throw a RunpodServerlessError. The endpoint methods are unchanged from 1.x. To stay on 1.x, install runpod-sdk@1.
For more information, see the JavaScript SDK on GitHub and the npm package.

Go

Install

Configure your API key

For more information, see the Go SDK on GitHub and the Go package documentation.

Use the SDKs

For detailed examples of how to use the SDKs to interact with Serverless endpoints, see Send API requests.

Next steps

Once you’ve installed and configured the SDK, you’re ready to send requests to your Serverless endpoints:
Last modified on November 17, 2026