API for the model openrouter/free at Kilo AI Gateway, free and keyless, context 200,000 tokens, median response 1814 ms. curl, Python and JavaScript samples, live testing.
The simplest way to get free inference. openrouter/free is a router that selects free models at random from the models available on OpenRouter. The router smartly filters for models that...
- Type
- Model
- Provider
- Kilo AI Gateway
- Model ID
openrouter/free- Pricing
- Free
- Keyless access
- Yes
- Base URL (OpenAI-compatible)
https://ai-gateway.kilo.ai/api/v1- Context
- 200,000 tokens
- Inputs
- Text, Image
- Features
- Reasoning, JSON output, Tool calling
- Response time
- Median 1814 ms · p95 12565 ms · first token 933 ms · success 100% over 30 test(s) · last 2026-12-04T23:11:25.228Z
- Developer rating
- Not rated yet
- Documentation
- https://kilo.ai
- Last check
- 2026-12-04T23:11:25.228Z
Code samples
cURL
curl https://ai-gateway.kilo.ai/api/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model":"openrouter/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="openrouter/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: 'openrouter/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 OpenRouter Free Models Router API free?
Yes: OpenRouter Free Models Router can be used for free and without an API key, within the provider’s rate limits.
How do I call OpenRouter Free Models Router from my code?
OpenRouter Free Models Router exposes an OpenAI-compatible API at https://ai-gateway.kilo.ai/api/v1: use any OpenAI SDK (Python, JavaScript…) with this base URL. Model identifier: openrouter/free. Ready-to-use code (streaming, JSON, retries) is available in the developer toolkit.
How fast is OpenRouter Free Models Router?
Measured by TensaHub: median response time 1,814 ms, first token after 933 ms, 100 % success over the last 30 checks.
What is the context window of OpenRouter Free Models Router?
OpenRouter Free Models Router accepts up to 200,000 tokens of context (prompt and history).
What are the alternatives to OpenRouter Free Models Router?
Similar APIs listed in the catalog: Auto Free, Free Models Router, Auto Router, Auto Code, Auto Router (Beta).
Alternatives
- Auto Free — Free, No key
- Free Models Router — Free
- Auto Router — Price not disclosed
- Auto Code — Price not disclosed
- Auto Router (Beta) — Price not disclosed
- OpenRouter: Fusion — Price not disclosed
- Pareto Code Router — Price not disclosed
- Body Builder (beta) — Price not disclosed