Getting started
Quickstart
Install the SDK, get a key, and make your first request.
Get from zero to a streamed completion in under five minutes.
1. Install the SDK
pip install voltnpm install @thevoltcloud/sdkgo get github.com/thevoltcloud/sdk-goTypeScript and Go SDKs are rolling out. Python is available today; until the others land you can call the REST API directly.
2. Get an API key
Create one in the console or with voltctl:
voltctl key issue --org <your-org-id> --name "laptop"Keys look like volt_sk_live_.... Store it in your environment:
export VOLT_API_KEY=volt_sk_live_...3. First request
from volt import Volt
client = Volt() # reads VOLT_API_KEY
resp = client.chat.completions.create(
model="llama-3.3-70b-instruct",
messages=[{"role": "user", "content": "Say hello from my metro."}],
)
print(resp.choices[0].message.content)
print("served by", resp.volt.pod_id, "in", resp.volt.metro)