Skip to main content
HomeAPI DocsPricing

Live now

Access major AI models with free API endpoint

Free AI/LLM API Endpoint

OpenAI-compatible chat completions, smart model routing, and edge inference on Cloudflare's global network. Get your free API key in seconds — no credit card required.

$https://api.llm.kiwi/v1/chat/completions

Create an account and open your dashboard in minutes

By signing in, you agree to our Terms of Service, Privacy Policy and Cookie Policy.

Start in seconds — any language

OpenAI SDK compatible — get your free API key and drop it in.

import openai

client = openai.OpenAI(
    base_url="https://api.llm.kiwi/v1",
    # Get your free API key → https://llm.kiwi/login
    api_key="YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="auto",  # Smart routing — picks the best model automatically
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user",   "content": "Explain how LLM inference works."},
    ],
)

print(response.choices[0].message.content)

model="auto" routes to the best available model — no changes needed as new models ship.