Skip to content

Groq API

API keyHTTPSCORSMachine Learning
Open documentation ↗

Overview

Fast AI inference API with free tier, supports Llama, Mixtral, Gemma models

Groq is a machine learning API. Requests are authenticated with an API key. It is served over HTTPS and allows browser requests (CORS).

At a glance

Authentication
API key
HTTPS
Yes
CORS
Yes

Questions

Does the Groq API need an API key?

Yes. The Groq API uses API key authentication; the documentation explains how to get credentials.

Can I call the Groq API from the browser?

Yes. The Groq API sends CORS headers, so a web page can call it directly with fetch().

Does the Groq API support HTTPS?

Yes, the Groq API is served over HTTPS.

What are alternatives to the Groq API?

Other Machine Learning APIs include Dialogflow, OpenAI, Hugging Face, WolframAlpha, OpenRouter.

Compare alternatives →

Listed from public-apis (MIT).