Skip to main content
Welcome! This guide will help you get your first response from the llm.kiwi API.

Get started in three steps

Follow these steps to integrate professional-grade AI into your application.

Step 1: Create your API Key

Go to the llm.kiwi Dashboard and sign in (using Google). Navigate to the API Keys section and generate a new key.
[!IMPORTANT] Your API key is shown only once. Copy it and store it securely in your environment variables.

Step 2: Choose your SDK

llm.kiwi is fully compatible with the official OpenAI SDKs. This means you can use existing libraries in your favorite language.
npm install openai

Step 3: Make your first request

Configure the client with our base URL and your key, then run the code to get a response from our fast model.
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.llm.kiwi/v1',
  apiKey: process.env.LLM_KIWI_API_KEY
});

const response = await client.chat.completions.create({
  model: 'fast',
  messages: [{ role: 'user', content: 'Say hello in a professional way!' }]
});

console.log(response.choices[0].message.content);

Next steps

Now that you’ve made your first request, explore our detailed documentation: