Skip to content
AI Dev Toolkit.
Esc
  • AI Token CounterCount tokens for GPT, Claude, Gemini, DeepSeek, Qwen and more.Tool
  • LLM API Cost CalculatorEstimate per-request, daily and monthly API costs.Tool
  • AI Model ComparisonCompare prices, context windows and features across models.Tool
  • AI Model Pricing PagesSpecs, real costs and cheaper alternatives for popular models.Tool
  • Context Window CheckerSee whether your text fits each model's context window.Tool
  • Subscription vs API CalculatorFind out whether a chat plan or the API is cheaper for you.Tool
  • GPU / VRAM CalculatorCheck how much VRAM a local model needs and which GPUs fit.Tool
  • Claude Code Error DatabaseExact Claude Code error messages with tested fixes.Tool

Claude Code · Certificates and network

Request timed out

The API didn’t answer before Claude Code’s deadline, from heavy load, a very long response, or a slow network or proxy.

Message

The exact error

Claude Code
Request timed out

Also appears as:

When the cause is your connection
Request timed out. Check your internet connection and proxy settings

Meaning

What it means

Claude Code waits a set time for the API before giving up; the default request timeout is 10 minutes. When the message only says Request timed out, the API was slow, often during busy periods or while generating a very large reply. When it adds “Check your internet connection and proxy settings”, the delay was on your side of the connection.

Causes

Common causes

  • High load on the API
  • A very large response being generated
  • A slow or congested network, VPN or proxy

Fix

How to fix it

  1. Retry

    Send the message again. Claude Code also retries temporary failures automatically before showing an error.

  2. Give a slow proxy more time

    If your network or proxy is slow but working, raise API_TIMEOUT_MS (in milliseconds) before starting Claude Code, for example to 15 minutes:

    macOS / Linux
    export API_TIMEOUT_MS=900000
    claude
    Windows PowerShell
    $env:API_TIMEOUT_MS = '900000'
    claude
  3. Check service status

    If it keeps happening on a healthy network, check status.claude.com for incidents.

Related

Search all Claude Code errors