Models → Pricing → Docs → Blog → Changelog → Contact → Status →
Get started freeLog in

Rate Limits Explained: Requests per Minute by Plan

How FreeModel rate limits work: requests per minute per plan, counted across all keys, the X-RateLimit headers, 429 with Retry-After, and a client throttle.

A rate limit caps how many requests you can send in a minute. It protects the service from bursts, and it is the reason a script that runs fine with ten items starts failing with a thousand. This post explains exactly how FreeModel counts, what the response headers tell you, and how to stay under the limit without slowing your app down more than needed.

The limits per plan

PlanPrice (30 days)TokensRequests per minute
Free$01M (free models only)30
Starter$1.2030M120
Basic$3.50100M300
Pro$5.75200M600
Scale$11.50500M1,200
Ultra$19.991B1,500

Paid plans are prepaid for 30 days and do not renew automatically. Every paid plan reaches every model; the plans differ in tokens and requests per minute. Current prices are always on the pricing page.

How requests are counted

A sliding 60-second window. The gateway counts your requests over the last 60 seconds, not per calendar minute. There is no reset at :00 that you can wait for; capacity frees up continuously as old requests leave the window.

Per account, across all keys. The plan's limit is for the whole account. Ten keys on a Starter plan share 120 requests per minute between them; extra keys do not add capacity. A key can also carry its own, lower limit, which is useful to stop one app from using the whole account's allowance.

Every request counts. Streaming or not, short or long, each call to the API takes one slot. A request that fails is not charged tokens, but it was still a request.

Reading the headers

Every authenticated response carries the current state:

X-RateLimit-Limit: 120
X-RateLimit-Remaining: 117
X-RateLimit-Reset: 1795612800

Reset is a Unix timestamp. The responses also include X-RateLimit-Limit-Tokens and X-RateLimit-Remaining-Tokens; on FreeModel these show your plan's token allowance and what is left of it, not a per-minute token window.

With the Python SDK you can read them through the raw response:

import os
from openai import OpenAI

client = OpenAI(api_key=os.environ["FREEMODEL_API_KEY"],
                base_url="https://freemodel.in/v1")

raw = client.chat.completions.with_raw_response.create(
    model="gpt-6-luna",
    messages=[{"role": "user", "content": "ping"}],
)
print(raw.headers.get("x-ratelimit-remaining"), "requests left in the window")
completion = raw.parse()
print(completion.choices[0].message.content)

What a 429 looks like

Go over the limit and the request is rejected straight away with status 429 and a Retry-After header in seconds:

{
  "error": {
    "message": "Rate limit reached. You are allowed up to 120 requests per minute on your current plan. Please wait 4s or upgrade your plan at freemodel.in/dashboard/plan.",
    "type": "rate_limit_error",
    "code": "rate_limit_exceeded"
  }
}

When the account-wide limit is the one you hit, the code is account_rate_limit_exceeded. A third 429, upstream_capacity_exhausted, means the model itself is busy rather than you being too fast; it comes with Retry-After: 5. All three are safe to retry after the wait — see retries and backoff.

Limits that are not rate limits

  • Tokens used up is a 402, not a 429. Waiting does not help; the plan has to be renewed or upgraded.
  • Used-up tokens return 402 tokens_exhausted. (The free plan has no daily cap.)
  • Paid models on a free key return 403 upgrade_required.

If your code treats all of these as "retry later", it will loop. The error guide lists each one.

Staying under the limit

For batch jobs, throttle on the client so you never see a 429 in the first place. This async limiter allows a fixed number of requests per rolling minute and caps concurrency at the same time:

import asyncio
import os
import time
from collections import deque

from openai import AsyncOpenAI

client = AsyncOpenAI(api_key=os.environ["FREEMODEL_API_KEY"],
                     base_url="https://freemodel.in/v1")


class MinuteLimiter:
    def __init__(self, rpm):
        self.rpm, self.sent, self.lock = rpm, deque(), asyncio.Lock()

    async def wait(self):
        async with self.lock:
            while True:
                now = time.monotonic()
                while self.sent and now - self.sent[0] >= 60:
                    self.sent.popleft()
                if len(self.sent) < self.rpm:
                    self.sent.append(now)
                    return
                await asyncio.sleep(60 - (now - self.sent[0]) + 0.05)


limiter = MinuteLimiter(rpm=100)        # Starter allows 120: keep headroom
workers = asyncio.Semaphore(8)          # at most 8 requests in flight


async def summarise(text):
    async with workers:
        await limiter.wait()
        r = await client.chat.completions.create(
            model="gpt-6-luna",
            messages=[{"role": "user", "content": f"Summarise in one sentence:\n{text}"}],
        )
        return r.choices[0].message.content


async def main(texts):
    return await asyncio.gather(*(summarise(t) for t in texts))

# results = asyncio.run(main(my_texts))

Set rpm about 15% below your plan limit. Other tools on the same account — an editor plugin, a coding agent — share the same limit.

Sizing concurrency

A quick way to pick the number of parallel workers: if one request takes T seconds end to end, N workers send at most N × 60 / T requests per minute. With requests that take 15 seconds, 8 workers send at most 32 per minute — well inside any paid plan. Short requests are the ones that run into the limit, because each worker sends many per minute.

Coding agents are the most common surprise. They send many short requests in a burst — read a file, search, edit, run tests — and several agents on one account add up fast. If you see 429s from an agent, give it its own key with a lower limit, or move to a plan with more requests per minute.

FAQ

Is the rate limit per key or per account?

Both are checked. The plan limit counts all keys of the account together, and a single key can have its own limit as well.

Does a failed request count toward the limit?

Rate limits count requests, so assume every request you send counts. Failed requests are not charged tokens, but they still use a slot in the minute.

Is there a tokens-per-minute limit?

The limit you will hit is requests per minute. The token headers on each response show your remaining plan tokens, not a per-minute token window.

How do I get a higher limit?

Move to a larger plan. Limits go from 120 requests per minute on Starter to 1,500 on Ultra.

Ready to build?

Grab a free API key — 1M tokens on 8 free models after a one-time Telegram verification, no card. Every model from $1.20.