Groq ↗ delivers high-speed processing and low-latency performance.
Endpoint
URL structure
When making requests to Groq ↗, replace https://api.groq.com/openai/v1 in the URL you’re currently using with https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/groq.
Examples
cURL
Use Groq SDK with JavaScript
If using the groq-sdk ↗, set your endpoint like this:
Was this helpful?
What did you like?
What went wrong?
Thank you for helping improve Cloudflare's documentation!