惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Blog — PlanetScale
Blog — PlanetScale
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Vercel News
Vercel News
B
Blog
腾讯CDC
P
Proofpoint News Feed
Google DeepMind News
Google DeepMind News
N
Netflix TechBlog - Medium
L
LangChain Blog
F
Fortinet All Blogs
T
The Blog of Author Tim Ferriss
人人都是产品经理
人人都是产品经理
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
I
InfoQ
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell
aimingoo的专栏
aimingoo的专栏
D
DataBreaches.Net
Stack Overflow Blog
Stack Overflow Blog
The Cloudflare Blog
Last Week in AI
Last Week in AI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 三生石上(FineUI控件)
T
Tailwind CSS Blog

Runpod Blog.

New Runpod datacenter now live: AP-IN-1 Track GPU spend across your team with Cost Centers The GPU supply supercycle is here. Here’s what AI builders need to know. Community Spotlight: One-click AI image and video generation on Runpod with SwarmUI | Runpod Blog Community Spotlight: LoRA Pilot Data Prep to Inference Introducing the Runpod Assistant: Manage Your Cloud GPU Resources with Natural Language OpenAI's Parameter Golf: Train the Best Language Model That Fits in 16MB on Runpod LLM inference optimization: techniques that actually reduce latency and cost Pruna P-Video and Vidu Q3 public endpoints now available on Runpod Runpod brand spelling guide Quickstart - Runpod Documentation The AI market looks nothing like the narrative Training StyleGAN3 with Vision-Aided GAN on Runpod KoboldAI – The Other Roleplay Front End, And Why You May Want to Use It How to Connect Cursor to LLM Pods on Runpod for Seamless AI Dev Community Spotlight: How AnonAI Scaled Its Private Chatbot Platform with Runpod Prompt Scheduling with Disco Diffusion on Runpod Runpod's Latest Innovation: Dockerless CLI for Streamlined AI Development Run Your Own AI from Your iPhone Using Runpod Introducing Flash: Run GPU workloads on Runpod Serverless: No Docker required Use Claude Code with your own model on Runpod: No Anthropic account required Avoid Errors by Selecting the Proper Resources for Your Pod What hackers built on Runpod at TreeHacks 2026 Easily Back Up and Restore Your Pod with Cloud Sync + Backblaze B2 The Complete Guide to GPU Requirements for LLM Fine-Tuning AI Guides, Tutorials & GPU Infrastructure Insights | Runpod Your first Claude Code project within Runpod: a complete setup guide 10 billion Serverless requests and counting Building for resilience: Runpod’s response to the AWS us-east-1 outage How to Connect Google Colab to Runpod
Streamline GPU Cloud Management with Runpod’s New REST API
Brendan McKeag · 2025-03-10 · via Runpod Blog.

Managing GPU resources has always been a bit of a pain point, with most of the time spent clicking around interfaces with repetitive manual configuration. Our new API lets you control everything through code instead, which is great news for those who'd rather automate repetitive tasks and focus on the actual machine learning work. For those of you more familiar with our internal workings, this was known as GraphQL, and this will function much the same, but with several under-the-hood improvements to further streamline the process. Let's explore how this new API can transform your workflow and examine some practical examples of its capabilities.

Key Benefits of Runpod's REST API

Complete Programmatic Control

The new REST API provides end-to-end management capabilities for your GPU resources. From creating and configuring pods to managing serverless endpoints, everything can now be automated through simple HTTP requests. This eliminates the need for manual intervention through web interfaces, making it perfect for integration into CI/CD pipelines and automation workflows.

Flexible Resource Configuration

Whether you need GPUs for training large models or CPU resources for preprocessing tasks, the API offers granular control over your computational resources:

  • Choose from a variety of GPU types (RTX 4090, A5000, A40, etc.)
  • Configure CPU flavors and vCPU counts
  • Specify memory requirements
  • Set up persistent storage volumes

Global Deployment Options

The API allows you to specify data center locations across multiple regions, ensuring your workloads run close to your data or end-users, with support for both Secure Cloud and Community Cloud environments.

Cost Optimization

The API enables interruptible/spot instance deployment and management, helping you significantly reduce costs for non-time-sensitive workloads.

Practical Examples

Let's look at some real-world examples of how you can leverage this API.

Example 1: Creating a new pod

To create a new pod with an RTX 4090 GPU running PyTorch:

This will create a Pytorch pod on a 4090 GPU as requested.

Example 2: Creating a new serverless endpoint

For those looking to implement a cost-effective serverless architecture:

This will create an endpoint from a serverless template that was previously created.

Example 3: Monitoring and Scaling

Check the status of your pods and scale or stop them as needed.

Example 4: Use the scalar.com UI

Go to the docs page for the REST API and click on “Open API Client” in the bottom left. This will provide a UI playground, coming pre-filled with several example requests that you can tinker with at your leisure:

API client showing the Runpod REST API List Pods endpoint with query parameters like gpuTypeId and dataCenterId

Integration Possibilities

The API's flexibility opens up numerous integration scenarios:

MLOps Pipelines become much more fluid with this API. Instead of manually provisioning resources before each training run, you can code your pipeline to automatically spin up specific GPU configurations when jobs are queued. Once training completes, the resources can be released just as automatically. This removes a major bottleneck in ML workflows where data scientists often waste time waiting for infrastructure to be provisioned or remain idle.

Cost Management Systems gain new capabilities with programmatic control. You can write scripts that automatically shut down expensive GPU resources during nights and weekends when your team isn't actively working. Some organizations have reported 30-40% cost savings by implementing simple time-based pod management, especially for development environments that don't need to run 24/7.

Auto-scaling Web Services that use GPU acceleration for inference can now dynamically adjust to demand. Your application monitoring system can watch request queues or response times and trigger the creation of additional GPU pods or serverless workers during high-traffic periods. When demand subsides, extra instances can be gracefully shut down, ensuring you're only paying for what you need, when you need it.

Conclusion

Runpod's new REST API represents a significant step forward for organizations looking to bring infrastructure-as-code practices to their GPU cloud resources. By enabling programmatic control over every aspect of GPU resource management, it empowers developers and ML engineers to create more efficient, automated, and cost-effective workflows.

Whether you're a small team looking to automate repetitive management tasks or an enterprise implementing sophisticated MLOps pipelines, this API provides the flexibility and control needed to optimize your GPU infrastructure for modern AI development.

Author profile: Brendan McKeag