OpenRouter

Troubleshooting


Troubleshoot OpenRouter error messages and find the solution
Error:

Limit exceeded


Cause:

Your account or API key has insufficient credits.

Solution:

Add more Credits and retry the request.

Error:

API key error


Cause:

Your API key is invalid.

Solution:

Check your API key and try again.

Error:

API key disabled


Cause:

Your API key is disabled.

Solution:

Enable API key in API Keys section.

Error:

Insufficient credits


Cause:

Your account or API key has insufficient credits.

Solution:

Add more credits and retry the request.

Error:

Message flagged


Cause:

Your chosen model requires moderation and your input was flagged

Solution:

Edit your message to choose different model.

Error:

Server error


Cause:

The server had an error while processing your request.

Solution:

Retry your request after a brief wait and contact OpenRouter if the issue persists. Check the status page.

Error:

Timed out


Cause:

The request timed out.

Solution:

Retry your request after a brief wait.

Error:

Rate limit reached


Cause:

You are sending requests too quickly.

Solution:

Pace your requests.

Error:

Model error


Cause:

Your chosen model is down or OpenRouter received an invalid response from it.

Solution:

Choose another model or retry your request after a brief wait.

Error:

Model unavailable


Cause:

There is no available model provider in OpenRouter that meets your routing requirements.

Solution:

Edit your routing settings.


See OpenRouter Error codes

© 2024 Kerlig™. All rights reserved.