Getting Started
Getting Started
Get up and running with VoltageGPU in under 5 minutes.
1
Create an Account
Sign up at voltagegpu.com/register. Get $5 free credit instantly.
2
Get Your API Key
Go to voltagegpu.com/api-keys and click Generate New Key.
Save your key securely -- you will not be able to see it again after creation.
Path A
Deploy a GPU Pod
~60 seconds
List available GPUs
curl https://api.voltagegpu.com/api/volt/machines \ -H "X-API-Key: YOUR_KEY"
Pick a GPU and deploy
curl -X POST https://api.voltagegpu.com/api/volt/pods \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "my-first-pod",
"machine_id": "rtx4090_24gb",
"template_id": "pytorch-cuda12"
}'Connect via SSH
ssh root@<pod-ip> -p <port>
Stop when done
Billing stops immediately when you stop the pod.
curl -X POST https://api.voltagegpu.com/api/volt/pods/POD_ID/stop \ -H "X-API-Key: YOUR_KEY"
Path B
Make Your First API Call
~30 seconds
Chat completion (OpenAI-compatible)
curl https://api.voltagegpu.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-ai/DeepSeek-R1",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'Python
pip install openai
from openai import OpenAI
client = OpenAI(
base_url="https://api.voltagegpu.com/v1",
api_key="YOUR_KEY"
)
response = client.chat.completions.create(
model="deepseek-ai/DeepSeek-R1",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)JavaScript
const response = await fetch(
"https://api.voltagegpu.com/v1/chat/completions",
{
method: "POST",
headers: {
"Authorization": "Bearer YOUR_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
model: "deepseek-ai/DeepSeek-R1",
messages: [
{ role: "user", content: "Hello!" }
]
})
}
);
const data = await response.json();
console.log(data.choices[0].message.content);