Skip to content

Quickstart: Make your first i14 API request

Send a short message to an i14 model and read its reply. This guide uses Chat Completions, the endpoint that accepts a list of messages and returns the assistant’s answer. If you already have an i14 key, skip to choosing a model.

The shell examples in these docs are for macOS and Linux (bash or zsh). On Windows, run them in WSL or Git Bash, or use the PowerShell versions on this page.

  1. Create your account

    Log in or create an account on the i14 Platform with your email address or Google account.

  2. Get your API key

    Open API Keys. If you have a referral code, click Redeem a code and enter it. Then click Create key and copy the key. The dashboard shows the full key only once.

    No referral code? Join the waitlist. See Get your API key.

  3. Choose a model

    Set I14_API_KEY to your i14 key in your terminal. Then call GET /v1/models to see the model IDs your key can use.

    bash or zsh
    export I14_API_KEY="your_api_key_here"
    curl https://api.i14.ai/v1/models \
    -H "Authorization: Bearer $I14_API_KEY"

    The next example uses Sugar Glider (i14-sugarglider-nemotron3-super-120b-v1). If it is not listed, use another model your key can access that supports Chat Completions. If you see no models, check which key you are using or ask your i14 contact to confirm access.

  4. Send a message

    Send a POST to /v1/chat/completions in the same terminal. Replace the example’s model value if you chose a different Chat Completions model:

    bash or zsh
    curl https://api.i14.ai/v1/chat/completions \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $I14_API_KEY" \
    -d '{
    "model": "i14-sugarglider-nemotron3-super-120b-v1",
    "messages": [
    {
    "role": "user",
    "content": "Explain the difference between a process and a thread in one sentence."
    }
    ],
    "max_tokens": 512
    }'

    The response is JSON. Read the answer at choices[0].message.content. The last line of the PowerShell example prints this field.

To make the same request from Python, install the OpenAI SDK with pip install openai. Use the same I14_API_KEY and replace the example’s model value if you chose a different model.

import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.i14.ai/v1",
api_key=os.environ["I14_API_KEY"],
)
response = client.chat.completions.create(
model="i14-sugarglider-nemotron3-super-120b-v1",
messages=[
{
"role": "user",
"content": "Explain the difference between a process and a thread in one sentence.",
}
],
max_tokens=512,
)
print(response.choices[0].message.content)