Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for Batches API Integration to Reduce Claude API Costs #248

Open
vasi26ro opened this issue Nov 14, 2024 · 4 comments
Open

Request for Batches API Integration to Reduce Claude API Costs #248

vasi26ro opened this issue Nov 14, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@vasi26ro
Copy link

Hello,

Thank you for creating and maintaining the Page Assist extension! I’d like to suggest a new feature that could optimize the extension’s API usage costs when using Anthropic’s Claude model.

Feature Request:

Integrate the Batches API to reduce the cost of API calls. As Anthropic offers a 50% discount on prompt processing with Batches API, this would significantly reduce costs and make the extension more sustainable.

Benefits of the Batches API:

  1. Cost-effective: Reduces prompt processing costs by 50%.
  2. Scalable: Allows multiple requests to be bundled, improving API efficiency.

Let me know if I can provide any further information. Thank you for considering this suggestion!

@n4ze3m
Copy link
Owner

n4ze3m commented Nov 15, 2024

Hey, thank you for the feedback! Are you using the Claude API directly?

@n4ze3m n4ze3m added the enhancement New feature or request label Nov 15, 2024
@vasi26ro
Copy link
Author

I have tried, without success, I received a 404 error. After that I have found something about the https://github.com/open-webui/pipelines. I did not try yet.

How should I use Claude API?

@n4ze3m
Copy link
Owner

n4ze3m commented Nov 16, 2024

Page Assist is currently not supported for the Anthropic API format. It will be added in an upcoming version. 😊

@spj2401Dev
Copy link

I'am all for Claude support. Looking forward to it :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants