Skip to main content
The Go SDK and docs are currently in beta. Report issues on GitHub.
Payment Required - Insufficient credits or quota to complete request

Fields

FieldTypeRequiredDescriptionExample
Errorcomponents.PaymentRequiredResponseErrorData:heavy_check_mark:Error data for PaymentRequiredResponse{"code": 402,"message": "Insufficient credits. Add more using https://openrouter.ai/credits"}
OpenrouterMetadatamap[string]any:heavy_minus_sign:N/A
UserID*string:heavy_minus_sign:N/A