Busy servers, 429s and silent CLIs: a practical troubleshooting map

AnthropicKeyFreeAPI · Updated 2026-11-22 · 8 min read

Full train with commuters waiting on the platform
Overloaded means the train is full, not that your ticket is wrong.

Few things stall a project like an API that answers with an error you did not cause. Developers describe it in many forms: the Claude API says it is overloaded, a model suddenly cannot be accessed, or a command-line tool that worked yesterday now does nothing at all while the public status page shows every component green. A popular piece of folk advice says a VPN fixes everything. Sometimes it seems to, often for the wrong reason.

This article sorts these failures into categories, explains what each one usually means and gives you code that retries politely and falls back to a second model when the first is unavailable. It uses general patterns that apply to any provider; for Anthropic's exact error codes, read its official API documentation. This site is not affiliated with Anthropic and cannot see the state of its servers.

Frequently asked questions

What is an overloaded error?

It means the provider is temporarily out of capacity for your request. The request was valid, but the servers chose to reject it rather than queue it. Waiting a moment and retrying usually works.

How does a rate limit error differ from overload?

A rate limit is about you: you sent too much within a window your plan allows. Overload is about the provider: too many people sent requests at once. Rate limits typically use HTTP 429; capacity problems often use 5xx codes.

Does a VPN fix overloaded errors?

Rarely in a durable way. Routing through another region may land you on a less busy cluster for a while, but it can also break terms of service in places where the provider does not operate. Proper retries and a fallback model are more reliable.

Why does a CLI tool do nothing while the status page is green?

Status pages report shared infrastructure. A silent CLI is more often a local problem: an expired login, a broken update, a proxy setting, or a shell that cannot find the binary. Check version, authentication and network before blaming the provider.

What is exponential backoff?

A retry strategy where each wait is longer than the last, for example 1, 2, 4 and 8 seconds, with some random jitter. It stops many clients from hammering a struggling server at the same moment.

Which is better as a fallback, a local model or a hosted free one?

A local model never shares your outage, but needs hardware. A hosted free endpoint needs nothing installed but is itself a shared service. Many teams keep a hosted fallback for laptops and CI, and a local one for offline work.

What errors does the free endpoint here return?

429 with a Retry-After header when an IP exceeds one request per second, its burst of three, or two parallel calls; 503 when the server is busy, best retried after 2 to 5 seconds.

Four failures that look alike

When a request fails, the first job is to work out who is responsible. The HTTP status and the error body tell you most of what you need, provided your code logs them instead of swallowing them.

Getting this classification right first saves hours. Teams that skip it tend to apply the same fix to every failure, usually more retries, which helps with capacity problems and makes rate-limit problems worse.

The provider is out of capacity

Peak hours, a new model launch or a regional incident can saturate a provider. Requests fail with an overloaded or service-unavailable message even though your account is fine. This is the case where waiting genuinely helps.

You exceeded your own limits

Every plan meters requests and tokens. Exceeding them returns a rate limit error, often with a header saying how long to wait. Retrying immediately only makes it worse.

The model name or access changed

Models get renamed, versioned and retired. A request that names a model your account cannot use fails with a not-found or permission error, which no amount of retrying fixes. See planning for model retirement.

The problem is on your machine

Expired credentials, a corporate proxy, a broken package upgrade or a misconfigured base URL all produce errors that have nothing to do with the provider's health.

Reading the status page with care

Official status pages are useful but coarse. They track major components and usually report incidents after enough signals accumulate, so the first minutes of a problem may not appear. They also cannot show issues specific to your region, your account or your network path.

Treat a green page as one data point. If several unrelated users report the same symptom at the same time, it is likely provider-side. If only your machine fails, look closer to home.

Multimeter testing a device connected to a laptop
Isolate the fault before you pick a fix.

When a CLI tool goes quiet

A command that prints nothing and returns to the prompt is a classic local failure. Work through the basics in order, and you will usually find the cause within minutes.

Isolate with a raw request

If a direct HTTP call succeeds while the tool fails, the provider is fine and the tool or its configuration is at fault. If both fail with the same status, you have a real API error to investigate.

  • Run the tool with its version or help flag to confirm the binary still starts
  • Check whether a recent auto-update left a half-installed package
  • Log out and in again to refresh an expired session
  • Inspect proxy and certificate environment variables in the current shell
  • Try the same request with plain curl to separate tool problems from API problems

About the VPN advice

People in regions with poor connectivity or limited provider support sometimes report that switching to a VPN made overloaded errors disappear. There can be a real effect: a different exit point may reach a different edge location, or avoid a congested link. But it is a workaround with costs. It adds latency, can conflict with the provider's supported-countries policy and does nothing when the whole service is saturated.

The frustration behind the advice is legitimate. Access to frontier models is still uneven around the world, and payment methods are an obstacle in many countries. If a provider does not serve your region, an open model, run locally or through a keyless endpoint like the one here, is a cleaner route than masking your location.

If you do use a VPN for legitimate reasons, such as a corporate network policy, keep it consistent. Hopping between exit locations makes errors harder to diagnose, because every failure now has two possible causes instead of one.

Latency is not the same as overload

Slow responses from far away are a network issue. Errors that say overloaded are a capacity issue. Mixing them up leads to fixes that help one day and fail the next.

Travel adapters on a desk beside a map
Changing your route can hide a problem without solving it.

Retrying without making things worse

Good retry logic follows three rules: respect any Retry-After value the server sends, back off exponentially with jitter when it does not, and give up after a bounded number of attempts so a user is not left waiting forever. Only retry errors that can succeed later, such as 429, 503 and timeouts; a 400 or 404 will fail identically every time.

The function below implements those rules with the plain requests library, so it works with any OpenAI-compatible endpoint.

import random
import time

import requests

RETRYABLE = {429, 500, 502, 503, 504}


def post_with_retry(url, payload, attempts=5, timeout=120):
    for i in range(attempts):
        try:
            r = requests.post(url, json=payload, timeout=timeout)
        except requests.RequestException:
            r = None
        if r is not None and r.status_code not in RETRYABLE:
            r.raise_for_status()
            return r.json()
        retry_after = r.headers.get("Retry-After") if r is not None else None
        if retry_after and retry_after.isdigit():
            wait = int(retry_after)
        else:
            wait = min(30, 2 ** i) + random.uniform(0, 1)
        time.sleep(wait)
    raise RuntimeError("gave up after %d attempts" % attempts)


result = post_with_retry(
    "https://api.anthropickeyfreeapi.com/v1/chat/completions",
    {"model": "free-ai", "messages": [{"role": "user", "content": "ping"}]},
)
print(result["choices"][0]["message"]["content"])

Designing a fallback chain

Retries handle short blips; a fallback handles longer outages. The idea is simple: keep an ordered list of back ends, try the preferred one, and move to the next when it keeps failing. Because so many services and local runners accept the OpenAI chat format, the list can be just base URLs and model names.

Be explicit about quality. If your primary is a frontier model and your fallback is a 35B open model, outputs during an outage will be different and sometimes weaker. For drafting, classification or chat that is often acceptable; for a critical code migration it may be better to pause than to continue on a smaller model.

Mark degraded responses

Record which back end produced each answer. If something looks off later, you can tell immediately whether it came from the fallback.

Check health before batch jobs

The free endpoint here exposes GET /health. Calling it before starting a long batch avoids queuing hundreds of requests against a server that is already struggling.

Pipes with valves redirecting water flow
A fallback chain sends traffic to the next back end.

The free endpoint's own error behaviour

Since this site's API is a natural fallback candidate, it helps to know how it fails. Limits are per IP address: one request per second, bursts up to three, at most two in flight, and a daily budget of 10,000 requests or 10,000,000 tokens, reset at 00:00 UTC. Exceeding the rate returns 429 with Retry-After. When the GPU is saturated you get 503, and a pause of 2 to 5 seconds before retrying is the right response.

There is no SLA and no account, so there is no one to escalate to. That is the price of free. It also means you should never make it the only path for anything users depend on. For comparisons of format details between providers, see Messages API vs chat completions.

Planning for outages before they happen

Most teams only think about resilience after the first painful afternoon of failed requests. A little planning beforehand costs much less. Start by listing every place your product calls a model, and for each one decide what should happen if that call fails for five seconds, five minutes and five hours. Some calls can simply wait. Others can switch to a smaller model. A few should show the user an honest message and stop.

Write those decisions into configuration rather than code, so changing the order of back ends or disabling one does not need a deployment. Rehearse the plan once by blocking your primary provider in a test environment and watching what your application does. The surprises you find in a rehearsal are far cheaper than the ones you find during a real incident.

Set user expectations

If a feature may fall back to a smaller model, say so in the interface or documentation. Users forgive a slightly weaker answer far more readily than an unexplained error or a silent change in quality.

Cap total waiting time

Retries inside retries can turn a short blip into a long hang. Give every user-facing request an overall deadline, and when it passes, return a clear error instead of waiting for the last attempt.

Notebook with a stopwatch and pen
Good logs shorten the next incident.

Logging that makes the next outage short

The difference between a ten-minute and a two-hour incident is usually the quality of your logs. Record the timestamp, the back end, the model, the HTTP status, the error body, the latency and the number of retries for every failed call. Without these, you are guessing.

Keep secrets out of those logs. Request bodies can contain user data and headers can contain keys; log sizes and identifiers instead of full content unless you have a clear reason and a retention policy.

Alert on patterns, not single errors

One 503 is noise. A sustained error rate above your normal baseline over several minutes is a signal worth waking up for.

Try the free API

Send a prompt to the keyless free-ai endpoint from the home page and see how it handles your own task, no signup needed.

Read also