Get Grok API Key
To use xAI's Grok API, you need an API Key. This guide describes how to get a Grok API Key.
π Prerequisites
- β X (Twitter) Account
- β xAI Console Access
π API Key Issuance Steps
Step 1: Access xAI Console
Go to https://console.x.ai
Step 2: Create API Key
- Login with X account
- Click "API Keys" in menu
- Click "Create API Key"
- Set permissions and name
Step 3: Copy
- Copy the key (
xai-...) - Save securely
π° Pricing Guide
Grok-beta
| Type | Cost |
|---|---|
| Input | $5.00 / 1M Tokens |
| Output | $15.00 / 1M Tokens |
βοΈ CodeFreeAI Configuration
- Add Node: Drag "Grok" node
- Enter Key: Paste key
- Select Model:
grok-beta