TensaHub › Kilo AI Gateway

Kilo AI Gateway

“Free” models usable without a key; key required for paid models, 17 model(s) indexed. curl, Python and JavaScript samples, live testing.

Test and rate in the catalog

Type
Provider
Provider
Kilo AI Gateway
Pricing
Free
Keyless access
Yes
Base URL (OpenAI-compatible)
https://ai-gateway.kilo.ai/api/v1
Inputs
Text
Developer rating
Not rated yet
Documentation
https://kilo.ai

Code samples

cURL

curl https://ai-gateway.kilo.ai/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"kilo-auto/free","messages":[{"role":"user","content":"Hello, introduce yourself in one sentence."}]}'

Python

# pip install openai
import os
from openai import OpenAI

client = OpenAI(base_url="https://ai-gateway.kilo.ai/api/v1", api_key="unused")
r = client.chat.completions.create(
    model="kilo-auto/free",
    messages=[{"role": "user", "content": "Hello, introduce yourself in one sentence."}],
)
print(r.choices[0].message.content)

JavaScript

// npm install openai
import OpenAI from 'openai'

const client = new OpenAI({ baseURL: 'https://ai-gateway.kilo.ai/api/v1', apiKey: 'unused' })
const r = await client.chat.completions.create({
  model: 'kilo-auto/free',
  messages: [{ role: 'user', content: 'Hello, introduce yourself in one sentence.' }],
})
console.log(r.choices[0].message.content)

Generate the integration code →

Popular searches

Frequently asked questions

Is the Kilo AI Gateway API free?

Yes: Kilo AI Gateway can be used for free and without an API key, within the provider’s rate limits.

How do I call Kilo AI Gateway from my code?

Kilo AI Gateway exposes an OpenAI-compatible API at https://ai-gateway.kilo.ai/api/v1: use any OpenAI SDK (Python, JavaScript…) with this base URL. Ready-to-use code (streaming, JSON, retries) is available in the developer toolkit.

Alternatives