#Not sure why it's not connecting on paid models

9 messages · Page 1 of 1 (latest)

fair flicker
#

This request requires more credits, or fewer max_tokens. You requested up to 23032 tokens, but can only afford 7768. To increase, visit https://openrouter.ai/settings/credits and upgrade to a paid account

Retry attempt 3
Retrying in 17 seconds...

OpenRouter

The unified interface for LLMs. Find the best models & prices for your prompts

halcyon pythonBOT
#
Automated Response

The error "This request requires more credits, or fewer max_tokens. You requested up to 23032 tokens, but can only afford 7768" means your request's max_tokens is too large for the credits you have. To fix this, either add more credits to your OpenRouter account or reduce the max_tokens parameter in your request so it fits within your current credit balance.

Question

Why is the user seeing a connection failure on paid OpenRouter models with a message about requiring more credits or fewer max_tokens?

Confidence Score

5/10

⚠️ Disclaimer

This is an AI-generated response and may not be 100% accurate. If you have further questions or need clarification, please ping @tidal perch for assistance.

Feedback

❌ This response was marked as not helpful. A staff member will review this thread.

#

@tidal perch A user has indicated that the automated response wasn't helpful.

fair flicker
#

I changed models and still the same issue

tidal perch
#

is your API key on your personal account and not the org account?

fair flicker
#

org

tidal perch
#

how many credits does your personal account have?

fair flicker
#

I created a new key and it seems to be working

#

If it stops, i'll pop back