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

Example Usage

import { PaymentRequiredResponseError } from "@openrouter/sdk/models/errors";

// No examples available for this model

Fields

FieldTypeRequiredDescriptionExample
errormodels.PaymentRequiredResponseErrorData:heavy_check_mark:Error data for PaymentRequiredResponse{"code": 402,"message": "Insufficient credits. Add more using https://openrouter.ai/credits"}
userIdstring:heavy_minus_sign:N/A