Janitor AI model setup
Janitor AI + Grok API(2026):設定・料金・エラー対策
Janitor AIを公式xAI Grok APIへ接続し、current model、token cost、401・429 error、API key保護を確認します。
12分で読める
クイック回答
このガイドでわかること
Consumer Grok appとxAI developer APIは別です。Janitor AIのcurrent custom proxyで使うにはdeveloper API key、`https://api.x.ai/v1/chat/completions`、grok-4.6またはgrok-4.3等のactive model IDが必要です。APIはtoken課金でconsumer free allowanceには含まれません。Janitor UIは変わるためlive fieldを確認します。
- Janitor AIでGrokを使う意味
- 公式xAI APIの6 step setup
- 選ぶGrok model

Janitor AI Grok intentはAniとの比較ではなくURL、model ID、API billing、401/404/429の解決です。Grok Ani vs JanitorAIはplatform比較、Advanced Prompts guideはbehavior ruleを扱います。
Janitor AIでGrokを使う意味
xAI developer APIはOpenAI-compatible URLとChat CompletionsでGrokを提供します。Janitor AIがcard/chat frontend、xAIがreply generatorになりますがaccountは統合されません。Consumer subscriptionはdeveloper key作成、Janitor request支払、card移行を自動化しません。Provider、frontend、cardを別layerとして扱います。
| Route | What it gives you | What it does not give you |
|---|---|---|
| Grok consumer app | Grok chat with consumer-plan limits | An API key for Janitor AI |
| Direct xAI API | Official OpenAI-compatible endpoint and usage billing | A free unlimited model |
| Third-party model gateway | One key for several model providers | The same privacy, price or uptime as direct xAI |
| LumiChat | Hosted character discovery and managed chat | Janitor AI proxy controls or xAI account access |
公式xAI APIの6 step setup
Dedicated xAI developer keyを作りprovider controlだけへ入力します。Official base URLはhttps://api.x.ai/v1、Chat pathは/v1/chat/completionsです。Full proxy URL fieldには結合したendpointを使います。Janitor menuは変化し得るためold videoの座標ではなくlive labelを確認し、private historyなしのtemporary fictional adult characterでtestします。
- Create an API key in the xAI developer console; never paste a consumer account password.
- Open the current Janitor AI chat model or proxy settings.
- Choose the OpenAI-compatible or custom endpoint path exposed by the current interface.
- Enter the full Chat Completions endpoint:
https://api.x.ai/v1/chat/completions. - Enter an active model ID and the API key.
- Save, refresh the chat if required, then test a disposable fictional character.
選ぶGrok model
xAI consoleにあるexact model IDを使います。grok-4.6は2026年8月12日release、500K context、grok-4.3は1M contextです。大きなcontextが常にroleplay qualityを意味しません。Card、example、lore、historyはinput tokenとcostを使うため同じ10 turnでvoice、correction、repetition、latencyを比較します。
| Model | Context listed by xAI | Input / 1M tokens | Output / 1M tokens | Practical note |
|---|---|---|---|---|
| grok-4.6 | 500K | $2.00 | $6.00 | Current frontier model; prices increase above 200K prompt tokens |
| grok-4.5 | 500K | $2.00 | $6.00 | Current model, but 4.6 is newer |
| grok-4.3 | 1M | $1.25 | $2.50 | Lower listed token price and larger context |
Chat costの見積もり
xAI APIはinput/output token課金でconsumer free startはAPI creditではありません。Estimateはofficial base rateだけを使いcache discount、tools、tax、region、200K超promptを含みません。実額はusageまたはconsoleで確認します。Long Janitor chatは成長するcontextを再送し、latest message以上のinput costになり得ます。
| Example request | grok-4.6 estimated token charge | grok-4.3 estimated token charge |
|---|---|---|
| 5K input + 300 output | about $0.0118 | about $0.0070 |
| 20K input + 300 output | about $0.0418 | about $0.0258 |
| 50K input + 500 output | about $0.1030 | about $0.0638 |
401・404・429とreply不良
Endpoint/key、model ID、short request、card/promptの順で確認します。Authentication errorにpromptを追加しません。RequestがxAIに届かない状態をmemory failureと呼びません。Operator、privacy、billingが不明なpublic reverse proxyへkeyを渡さず、gatewayを使うならslug、markup、policy、logsをdirect xAIと比較します。
| Symptom | Most likely layer | First check |
|---|---|---|
| 401 / unauthorized | API key | Create or copy an active xAI developer key |
| 404 / model not found | URL or model ID | Verify the full endpoint and current model slug |
| 429 / rate limit | xAI account tier or request volume | Wait, reduce requests and check console limits |
| Blank or generic reply | Card, prompt or context | Test one small card and inspect prompt conflicts |
| Cost climbs over time | Growing chat context | Compare input-token usage and summarize only when needed |
| Works in Grok app, fails in Janitor | Consumer access is not API access | Verify console billing, key and endpoint separately |
接続後のprompt・memory確認
Stable identityはcard、changing factはChat Memory、world factはlore、behaviorはAdvanced Promptへ置きます。一度に一変数をtestします。User代筆はconflicting example削減とagency rule、cost増はcontext検査、repetitionはsame card fresh chat comparisonで直します。
Direct API・gateway・LumiChat
Official route、console billing、exact model controlならdirect xAI、複数model統合がdata processor追加に見合う場合だけgateway、cardとprovider設定を楽しむならJanitor AIです。API keyなしでhosted characterを始めたいならLumiChat libraryを使えます。LumiChatは別serviceでJanitor/xAI機能をunlockしません。
よくある質問
Janitor AIでGrokを使えますか?
Current provider controlがendpoint、key、model IDを受け付ける場合に利用できます。
Proxy URLは?
Official Chat Completionsはhttps://api.x.ai/v1/chat/completionsです。
無料ですか?
Developer APIはtoken billingでconsumer accessとは別です。
どのmodel?
Current grok-4.6と低price・大contextのgrok-4.3をsame cardで比較します。
401の理由は?
Developer keyのmissing、invalid、revokedなどです。
429の理由は?
Account/model rate limitです。Console確認とbackoffを行います。
ChatはxAIへ送られますか?
Active model routeならgeneration promptがxAIへ送られます。
LumiChatを代わりに使えますか?
Managed browser character chatが目的なら使えますが別platformです。
LumiChat で続ける
キャラクターを選んで会話を始める
公開中のキャラクターから相性のよい人物と場面を選び、すぐにチャットできます。
続きを読む
Janitor AI Prompt workflow
Janitor AI Advanced Prompts(2026):テンプレートと修正
Agency、Voice、Pacing、Scene stateのテンプレートと6ターンA/Bテスト。
チャット記憶ガイド
Janitor AI Chat Memoryガイド2026:要約テンプレート・Prompt・忘却対策
Chat Memory、Persona、直近履歴、Lorebookの役割を分け、実際に想起できるかを検証する方法です。
状態とトラブル対処
Janitor AIが動かない?障害確認と修正方法(2026)
症状から失敗層を特定し、最小の修正を行い、危険な「unblocked」手段を避けるガイドです。
AIコンパニオン徹底比較
Grok Ani vs JanitorAI(2026):spicyロールプレイに強いのは?
完成済みのアニメーション伴侶と、柔軟なコミュニティカード型文章ロールプレイを比較。
