Free LLM API

Use zero-priced OpenRouter models with your own key. Point any OpenAI SDK at this base URL and use a Free Model key.

Agent setup guides

Base URL

https://freemodel.io/api/v1
  1. 1

    Connect a provider

    Connect your OpenRouter key to use free models through the API.

  2. 2

    Create an API key

  3. 3

    Send a request

    curl https://freemodel.io/api/v1/chat/completions \
      -H "Authorization: Bearer $FREEMODEL_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "auto",
        "messages": [{"role": "user", "content": "Hello"}],
        "stream": true
      }'

    Use "auto" or an exact model ID from Models

Endpoints

POST/api/v1/chat/completions
Chat completions, streaming supported
GET/api/v1/models
Models available to your key
  • Text input and output only for now.
  • Gateway limits: 6 requests/minute and 100/UTC day per user and provider key, with 2 concurrent requests per user. OpenRouter account limits also apply. Only zero-priced :free models are used. Auto tries another available free model when one is rate-limited.
  • 429 responses include Retry-After when the wait is known.