javm95
javm95
CDCloudflare Developers
Created by javm95 on 10/6/2024 in #workers-help
The AI Gateway endpoint for Workers AI with openai-compatible syntax is not working
https://developers.cloudflare.com/ai-gateway/providers/workersai/#openai-compatible-endpoints I copied the curl from your example, replaced the variables with my account id, ai gateway id, and api key; and I get this error: { "code": 7003, "message": "Could not route to /accounts/xxxxxxxxxxxxxxxxx/v1/chat/completions, perhaps your object identifier is invalid?" }, { "code": 7000, "message": "No route for that URI" } The request URL is correct (I replaced the variables): https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/workers-ai/v1/chat/completions Please let me know how to make that work.
3 replies
CDCloudflare Developers
Created by javm95 on 5/19/2024 in #general-help
Simple billing question
Hey guys, I'm using Cloudflare Workers and I need to create multiple tiny APIs for my personal/private use, and I'll make very few requests (lets say 1000 requests/month for each API project). If I pay the $5/month, I get 10 million requests per month, but can I use the 10 million requests through multiple worker projects? or do I have to pay $5/month for every worker project?
4 replies