Free Model API

One API key and one base URL for free and paid models.

Agent setup guides
  1. 1

    Create an API key

    Base URL

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

    Connect OpenRouter

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

  2. 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": "free/auto",
        "messages": [{"role": "user", "content": "Hello"}],
        "stream": true
      }'
Limits and rules
  • Free requests never spend credits or switch to a paid model.
  • Free requests: gateway limits are 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.

Endpoints

POST/api/v1/chat/completions
Chat completions, streaming supported
POST/api/v1/responses
Responses API, including tools and supported media.
POST/api/v1/messages
Messages API, including tools and supported media.
GET/api/v1/models
Models available to your key
GET/api/v1/credits
Your available credits.
  • Text input and output only for now.
  • 429 responses include Retry-After when the wait is known.