Docs / For renters
Make your first call
Sign in, add test credits, create a key and send one request. About five minutes.
Ballast speaks the OpenAI chat API. If you have called OpenAI before, you already know most of this. There are four steps.
1. Sign in
Go to Sign in and use Google, GitHub or an emailed link. There are no passwords.
2. Add credits
Open Billing and pick $5, $20 or $100, or type your own amount from $5. One credit is one cent. Checkout runs in Stripe test mode, so use the test card 4242 4242 4242 4242 with any future date and any CVC. No real charge is made. Your balance goes up within a few seconds.
Credits cannot be refunded.
3. Create a key
Open API keys, name the key and tick the box that says you know your prompts run on community GPUs (more in Trust and privacy). Ballast shows the key once and it starts with bl_. Copy it now. We keep only a hash and the last four characters, so a lost key cannot be shown again. You can have up to 10 keys.
4. Send a request
The reply is the usual OpenAI JSON. The text is in choices[0].message.content, and usage holds the token counts you were billed for. The values below are an example.
Next, point an official SDK at Ballast in OpenAI SDK in Python and JavaScript, or read the reply as it is written in Streaming.
Something here wrong or missing? Tell us on Support.