Grok is the model Janitor AI users reach for when they want xAI's voice, and it connects more easily than its reputation suggests: xAI's API is OpenAI-compatible, so Grok goes into Janitor's proxy field the same way OpenRouter or DeepSeek does. It is not free in the API, the free Grok lives in the X app, and the content is governed by a policy stricter than the uncensored models most roleplayers default to. This guide gives the exact values, the per-message cost at xAI's listed prices, and the two caveats, content and region, that a proxy meets but does not dissolve.
The direct route: xAI's API
xAI documents its API as usable through the OpenAI SDK by pointing the base URL at https://api.x.ai/v1, and its API reference lists POST /v1/chat/completions. xAI now says "Chat Completions is offered as a legacy endpoint": it is still served, and new features reach its Responses API first. The Janitor proxy field speaks Chat Completions, so that is the address it wants.
| Field | Value |
|---|---|
| Config Name | Grok |
| Proxy URL | https://api.x.ai/v1/chat/completions |
| API Key | a key from console.x.ai |
| Model | grok-4.7 (or grok-4.6, grok-4.3) |
Menu, API Settings, Proxy, Add Configuration, fill in, save, refresh, test. A network error here is the URL; a 401 is the key. The curl test that separates them is in our network error and 401 guide.
What a message costs
The xAI model documentation, read on 28 September 2026, prices the current Grok models by request size:
| Model | Context | Input, per million (<200k) | Output, per million (<200k) |
|---|---|---|---|
| grok-4.7 | 500k | $2.00 | $6.00 |
| grok-4.6 | 500k | $2.00 | $6.00 |
| grok-4.5 | 500k | $2.00 | $6.00 |
| grok-4.3 | 1M | $1.25 | $2.50 |
| grok-build-0.1 | 256k | $1.00 | $2.00 |
Prices double once a request passes 200,000 tokens, which a Janitor request never approaches unless the chat memory is enormous. A 20,000-token message plus a 300-token reply on grok-4.7 or grok-4.6 is 20,000 at $2 per million, four cents, plus a fraction of a cent on output. On grok-4.3 the same message is about two and a half cents with far more context headroom. It sits between Claude, at roughly the same input cost, and Mistral or DeepSeek, which are pennies.
The OpenRouter route
OpenRouter carried eight Grok ids on 28 September 2026. x-ai/grok-4.7 cost $1.60 and $4.80 per million, x-ai/grok-4.6 and x-ai/grok-4.5 $2 and $6, and x-ai/grok-4.3 $1.25 and $2.50. Proxy URL https://openrouter.ai/api/v1/chat/completions, your OpenRouter key, one of those ids, and a balance. None is :free. This is the route to pick if you already keep an OpenRouter balance for other models; the setup is in our OpenRouter guide.
The two caveats a proxy does not dissolve
Content. xAI's acceptable-use policy governs what Grok produces through the API, and it is stricter than the uncensored models Janitor users often choose. It also forbids accessing the service through unauthorised automated means, scraping or reselling outputs, and circumventing rate limits or safety measures. A refused scene is Grok declining under that policy. No route, and no IP address, changes it.
Region. The xAI terms require users to follow trade and economic sanctions laws. Its newer models have also launched EU-last: Grok 4.5 shipped on 8 July 2026 without EU availability, with xAI targeting mid-July. If the API does not serve your country, the terms decide, and we give no steps around them. If the model answers and then refuses a scene, that is the content policy, and no proxy is relevant.
Rate limits, and where a network proxy fits
xAI documents per-team rate limits in requests per second and tokens per minute, rising by tier, and returns 429 on excess. The limit follows the key, so neither a second key nor a different address moves it, the rule we set out for every backend in Janitor AI error 429.
A network proxy changes the address your traffic leaves from, and nothing on this page needs one. If xAI or Janitor AI does not serve your country, or your school or office network blocks it, we give no steps around that. Janitor adds one rule that follows the address. It asks users connecting from Australia, Brazil or the UK for a one-time age check, and "Detection is IP-based only." Where our lines do fit is a network that needs a known exit, such as a company network. For that, a static residential or ISP address in the country where you are costs from $0.44 per GB on a usage meter. Our proxies for Grok post covers the consumer side, including the national blocks Grok met in early 2026 and how they were lifted. For the price, the limits and the refusals on this page, a network proxy does nothing, and the honest setup is a console.x.ai key, the direct URL, and grok-4.7.
Sources
- xAI, Quickstart, Chat Completions reference and Chat Completions (Legacy): the OpenAI SDK base URL https://api.x.ai/v1, the POST /v1/chat/completions endpoint and its legacy status; Models: the grok-4.7, 4.6, 4.5, 4.3 and grok-build prices and context windows; Rate limits; all read 28 September 2026.
- xAI, Acceptable Use Policy (effective 14 August 2026) and Terms of Service (last updated 11 September 2026), read in Web Archive copies of 26 September 2026: the automation and scraping bans and the sanctions clause.
- OpenRouter, public models list: the x-ai Grok ids and prices, read 28 September 2026.
- Wikipedia, Grok (chatbot): Grok 4.5 released 8 July 2026 without EU availability at launch.
- Janitor AI Help Center, The Absolute Beginner's Guide to Using a Proxy with Janitor, Part One, read in its Web Archive copy of 31 July 2026 (Janitor removed the guide by 28 September 2026): the menu path and field names; Age Verification for Australia, Brazil, and the UK: the age check by IP address.


