Skip to content

Error 400 "usage-limited-chat" when using puter.ai.chat with model specification #1968

@nitin864

Description

@nitin864
Image

Description
Getting a 400 error with delegate "usage-limited-chat" when calling puter.ai.chat() with a model specification in the options parameter.

Error Details

Error: "BeyondAPIError"
code: "error_400_from_delegate"
delegate: "usage-limited-chat"
message: "Error 400 from delegate 'usage-limited-chat': Permission denied."
status: 400

**Code Example**
```typescript
const response = await puter.ai.chat(
    [
        {
            role: "user",
            content: [
                {
                    type: "file",
                    puter_path: path,
                },
                {
                    type: "text",
                    text: message,
                },
            ],
        },
    ],
    { model: "claude-3-7-sonnet" }
);

Is there a usage limit per model or overall API usage limit?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions