FreshRouter
PricingDocs
Log inGet API key

Get started

  • Quick start

Tools

  • Claude Code
  • Codex
  • Pi
  • Grok Build
  • Cursor
  • Cline, Roo Code, Kilo Code
  • Open WebUI
  • LibreChat
  • Chatbox
  • n8n

Reference

  • SDKs
  • API reference
  • Prompt caching
  • Tool calling and images
  • Limits
  • Errors

Get started

  • Quick start

Tools

  • Claude Code
  • Codex
  • Pi
  • Grok Build
  • Cursor
  • Cline, Roo Code, Kilo Code
  • Open WebUI
  • LibreChat
  • Chatbox
  • n8n

Reference

  • SDKs
  • API reference
  • Prompt caching
  • Tool calling and images
  • Limits
  • Errors
FreshRouter

One key for every top AI model. Pay only for what you use.

Product

  • Pricing
  • Console

Resources

  • Quick start
  • Documentation

Legal

  • Terms of Service
  • Privacy Policy

© 2026 FreshRouter. All rights reserved.

Errors

What error codes mean and what to do about them.

Errors come back as JSON with a message that explains what happened, and often a code such as model_not_found or insufficient_user_quota. The HTTP status tells you what kind of problem it is:

StatusMeaningWhat to do
400The request is malformed.Check the body against the API format.
401The key is missing, wrong, disabled or expired.Check the Authorization header and the key's status.
403The request isn't allowed: balance or key limit used up, model or IP not allowed.Top up, or check the key's limits.
404The model ID doesn't exist, or the model is switched off.Check the ID against GET /v1/models.
413The request is bigger than 32 MB.Send less, or send images as links.
415The request body is compressed.Send it without Content-Encoding.
429Too many requests at once or per minute.Wait a couple of seconds and retry. See Limits.
5xxThe upstream provider failed.Retry after a few seconds.
PreviousLimits