Skip to main content
We’re in closed Beta right now. Please be aware the things could break. We’re happy to get your feedback.

Get started in three easy steps

Get your LLM running and send your first request.
1

Create an API Key

Go to your profile page and create an API Key. Store the API key at a secure location.
2

Install the SDK

Install the OpenAI SDK for your preferred language.
npm install openai
3

Use your API Key

Adjust the base path and the API key to target SUPA’s infrastructure.
import OpenAI from 'openai';

const openai = new OpenAI({
  apiKey: '<YOUR_API_KEY>',
  baseURL: 'https://api.supa.works/openai',
});

async function main() {
  const chatCompletion = await openai.chat.completions.create({
    messages: [{ role: 'user', content: 'What is a Banana?' }],
    model: 'supa:instant',
  });
  console.log(chatCompletion.choices[0].message.content);
}

main();
And thats it! ✌🏻

Next steps

Now that you know the basics, take a look at our field guide and explore more examples.

SUPA Field Guide

Browse our implementation examples to build awesome stuff.