Configure Grok CLI to use Adaptive’s intelligent routing for 60-80% cost savings while maintaining the same AI-powered command line experience.
Save 60-80% on AI development costs with intelligent model routing. Works as a drop-in replacement for Grok CLI’s API backend.

Get Your Adaptive API Key

Visit llmadaptive.uk to create an account and generate your API key.

Quick Setup

Run Installer

curl -fsSL https://raw.githubusercontent.com/Egham-7/adaptive/main/scripts/installers/grok-cli.sh | bash
The installer will handle configuration automatically.

Verify Configuration

grok --version
grok "Hello, test Adaptive integration"

Start Using

Begin using Grok CLI with cost-optimized intelligent routing for all your AI tasks.

Alternative Setup Methods

export ADAPTIVE_API_KEY='your-api-key-here'
curl -fsSL https://raw.githubusercontent.com/Egham-7/adaptive/main/scripts/installers/grok-cli.sh | bash

Troubleshooting

Next Steps


Was this page helpful? Contact us at info@llmadaptive.uk for feedback or assistance with your Grok CLI integration.