Home / Companies / Unified.to / Blog / Post Details
Content Deep Dive

How to Get a Grok (xAI) and Groq API Key — and Connect It to Your Product

Blog post from Unified.to

Post Details
Company
Date Published
Author
-
Word Count
2,776
Language
-
Hacker News Points
-
Summary

Grok and Groq are two distinct AI products that are often confused; Grok is xAI's suite of large language models accessible via the xAI API, while Groq is an AI inference platform using custom LPU hardware for running open-source models like Llama and Whisper at high speeds. To utilize Grok models, users need an xAI API key, whereas Groq requires a Groq API key, with each serving different functions and independent companies. The guide explains the process to obtain these keys, set up accounts, and securely store API keys, emphasizing the importance of understanding the separate billing systems and API access for both platforms. Grok's API is pay-per-token with an initial promotional credit, whereas Groq offers a permanent free tier with varying limitations based on usage. Both platforms are compatible with the OpenAI SDK, allowing seamless integration with existing OpenAI code, and are part of broader AI product ecosystems that can be accessed via Unified's Generative AI API for consistent multi-provider integration.