Quick setup
Open the kRouter dashboard at http://localhost:20128
Go to Providers → click Grok Web (Subscription)
Sign in to the provider in your browser, then copy the session cookie
Paste the cookie into kRouter and test the connection
Use in your IDE
Point any OpenAI-compatible client at kRouter using your local API key.
# Endpoint
http://localhost:20128/v1
# API key (from Dashboard → API Keys)
sk-krouter-XXXX
# Model
gw/<model-id>How Grok Web (Subscription) billing works with kRouter
Grok Web (Subscription) authenticates with a browser session cookie rather than an API key. kRouter authenticates it via cookie. 12 models are routable as grok-web/<model>.
Through kRouter, Grok Web (Subscription) serves chat and code completion. Requests reach it through the same local OpenAI-compatible endpoint as every other provider, so switching to or from Grok Web (Subscription) is a one-line model change in your client rather than a rewrite.
Grok Web (Subscription) models & pricing
Prices are USD per 1M tokens, cheapest first. kRouter bills nothing on top; this is the provider's own rate.
| Model | Route as | Input /1M | Output /1M |
|---|---|---|---|
| Grok 3 | grok-web/grok-3 | $0.50 | $2.00 |
| Grok 3 Mini (Thinking) | grok-web/grok-3-mini | $0.50 | $2.00 |
| Grok 3 Thinking | grok-web/grok-3-thinking | $0.50 | $2.00 |
| Grok 4 | grok-web/grok-4 | $0.50 | $2.00 |
| Grok 4 Mini (Thinking) | grok-web/grok-4-mini | $0.50 | $2.00 |
| Grok 4 Thinking | grok-web/grok-4-thinking | $0.50 | $2.00 |
| Grok 4 Heavy (SuperGrok) | grok-web/grok-4-heavy | $0.50 | $2.00 |
| Grok 4.1 Mini (Thinking) | grok-web/grok-4.1-mini | $0.50 | $2.00 |
| Grok 4.1 Fast | grok-web/grok-4.1-fast | $0.50 | $2.00 |
| Grok 4.1 Expert | grok-web/grok-4.1-expert | $0.50 | $2.00 |
| Grok 4.1 Thinking | grok-web/grok-4.1-thinking | $0.50 | $2.00 |
| Grok 4.2 (4.20 Beta) | grok-web/grok-4.2 | $0.50 | $2.00 |
Grok Web (Subscription) links
Grok Web (Subscription) FAQ
Is Grok Web (Subscription) free through kRouter?
Grok Web (Subscription) is pay-per-token: you bring your own API key and are billed by Grok Web (Subscription) at their rates. kRouter adds nothing on top and is free and MIT-licensed.
How do I use Grok Web (Subscription) with Claude Code or Cursor?
Connect Grok Web (Subscription) in the kRouter dashboard, then point your tool at kRouter's local endpoint (http://localhost:20128/v1) with a kRouter API key. Any OpenAI-compatible client works, and models are addressed as grok-web/<model>.
Which Grok Web (Subscription) models can kRouter route to?
12 models, including Grok 3, Grok 3 Mini (Thinking), Grok 3 Thinking. Every one is addressed as grok-web/<model> from any client.
What happens when Grok Web (Subscription) is rate limited?
kRouter detects the limit, parks that account until its real reset time, and fails over to your next connected account or provider — so the request still completes instead of erroring.