Getting started

Quick start

Make your first request in three steps: get your endpoint and API key, install an SDK, call a model.

1. Get your endpoint and API key

Sign in to the console and create an API key. The endpoint (base URL) is below.

Base URL
https://api.link-io.cloud/v1
API Key
YOUR_API_KEY
Create one in the console

2. Install an SDK

pip install --upgrade openai

3. Set environment variables

The official OpenAI SDKs read OPENAI_BASE_URL and OPENAI_API_KEY automatically, so nothing is hard-coded.

# Create your API key in the console
export OPENAI_BASE_URL="https://api.link-io.cloud/v1"
export OPENAI_API_KEY="YOUR_API_KEY"

4. Send your first request

curl https://api.link-io.cloud/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4.1-mini",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

The response has exactly the OpenAI shape. Next, read: