LumiChat AI

إعداد model في Janitor AI

دليل Janitor AI + Grok API: الإعداد والكلفة والأخطاء

اربط Janitor AI بواجهة xAI Grok الرسمية واختر model حديثا وقدر token cost وأصلح 401 و429 واحم API key.

الكاتب: LumiChat AI Teamتاريخ النشر:

قراءة 12 دقيقة

إجابة سريعة

ما الذي يشرحه هذا الدليل

تطبيق Grok للمستهلك وxAI developer API منفصلان. يحتاج custom proxy الحالي في Janitor AI إلى developer API key و`https://api.x.ai/v1/chat/completions` وmodel ID فعال مثل grok-4.6 أو grok-4.3. API تحاسب tokens ولا تشملها consumer free allowance. تحقق من live fields قبل الحفظ.

  • ماذا يعني Grok على Janitor AI
  • إعداد xAI المباشر في ست خطوات
  • أي Grok model تختار

شخصيات مختارة

تتغير الشخصيات الثلاث عند كل تحديث؛ يظهر الفيديو أولاً عند توفره، وإلا تظهر صورة الشخصية.

Rei Kurosaki

مخططة ليلية

Rei Kurosaki

باردة وخطيرة، مناسبة للمطاردة والتشويق والكيمياء اللفظية الحادة.

غموضتوترحوار
ابدأ الدردشة
Cassian Vale

صياد ليلي

Cassian Vale

طاقة المطاردة والمنافسة لمن يحب الانعكاسات والتشويق وشريكاً يرد بقوة.

ليلمنافستشويق
ابدأ الدردشة

DJ تحت الأرض في أوساكا

Takahashi Nozomi

DJ Techno من شينسايباشي، بإيقاع قوي وحديث مباشر، مناسبة لمن يحب أجواء الموسيقى والليل والدردشة الحيوية.

DJTechnoليل
ابدأ الدردشة
مكتبة شخصيات LumiChat حقيقية لمقارنة hosted chat وإعداد Janitor AI Grok API

نية Janitor AI Grok هي URL وmodel ID وbilling وإصلاح 401/404/429 وليست مقارنة Ani. تغطي مقارنة Grok Ani وJanitorAI المنصات ويغطي Advanced Prompts behavior rules.

ماذا يعني Grok على Janitor AI

تقدم xAI developer API نماذج Grok عبر URL متوافق مع OpenAI وChat Completions. يصبح Janitor AI frontend للcard/chat وتولد xAI reply دون دمج الحسابين. Consumer subscription لا تنشئ developer key ولا تدفع Janitor requests ولا تنقل card. افصل provider وfrontend وcard.

RouteWhat it gives youWhat it does not give you
Grok consumer appGrok chat with consumer-plan limitsAn API key for Janitor AI
Direct xAI APIOfficial OpenAI-compatible endpoint and usage billingA free unlimited model
Third-party model gatewayOne key for several model providersThe same privacy, price or uptime as direct xAI
LumiChatHosted character discovery and managed chatJanitor AI proxy controls or xAI account access

إعداد xAI المباشر في ست خطوات

أنشئ developer key مخصصة وضعها فقط في provider control. Base الرسمي https://api.x.ai/v1 والمسار /v1/chat/completions؛ full proxy URL يستخدم endpoint المدمج. قد تتغير قوائم Janitor، فتحقق من live labels واختبر fictional adult character مؤقتة دون private history.

  1. Create an API key in the xAI developer console; never paste a consumer account password.
  2. Open the current Janitor AI chat model or proxy settings.
  3. Choose the OpenAI-compatible or custom endpoint path exposed by the current interface.
  4. Enter the full Chat Completions endpoint: https://api.x.ai/v1/chat/completions.
  5. Enter an active model ID and the API key.
  6. Save, refresh the chat if required, then test a disposable fictional character.

أي Grok model تختار

استخدم exact model ID من xAI console. صدر grok-4.6 في 12 أغسطس 2026 مع 500K context ويقدم grok-4.3 نحو 1M. Context الأكبر لا يضمن roleplay أفضل. Card وexamples وlore وhistory تستهلك input tokens، فقارن voice وcorrection وrepetition وlatency في عشر جولات متطابقة.

ModelContext listed by xAIInput / 1M tokensOutput / 1M tokensPractical note
grok-4.6500K$2.00$6.00Current frontier model; prices increase above 200K prompt tokens
grok-4.5500K$2.00$6.00Current model, but 4.6 is newer
grok-4.31M$1.25$2.50Lower listed token price and larger context

تقدير كلفة chat

تحاسب xAI API input/output tokens وconsumer free start ليس API credit. Estimates تستخدم base rates دون cache أو tools أو tax أو region أو أكثر من 200K. تحقق من usage وconsole. قد يعيد chat Janitor الطويل إرسال context متزايد فتتجاوز الكلفة latest message.

Example requestgrok-4.6 estimated token chargegrok-4.3 estimated token charge
5K input + 300 outputabout $0.0118about $0.0070
20K input + 300 outputabout $0.0418about $0.0258
50K input + 500 outputabout $0.1030about $0.0638

إصلاح 401 و404 و429 والرد السيئ

اختبر endpoint/key ثم model ID ثم short request ثم card/prompt. لا تصلح authentication بإضافة prompt ولا تسم فشل الوصول memory failure. تجنب public reverse proxy بلا operator وprivacy وbilling واضح. قارن slug وmarkup وpolicy وlogs مع direct xAI.

SymptomMost likely layerFirst check
401 / unauthorizedAPI keyCreate or copy an active xAI developer key
404 / model not foundURL or model IDVerify the full endpoint and current model slug
429 / rate limitxAI account tier or request volumeWait, reduce requests and check console limits
Blank or generic replyCard, prompt or contextTest one small card and inspect prompt conflicts
Cost climbs over timeGrowing chat contextCompare input-token usage and summarize only when needed
Works in Grok app, fails in JanitorConsumer access is not API accessVerify console billing, key and endpoint separately

Prompt وmemory بعد الاتصال

ضع stable identity في card وchanging fact في Chat Memory وworld facts في lore وbehavior في Advanced Prompt. غير متغيرا واحدا. أصلح كتابة المستخدم بتقليل conflicting examples، والكلفة بفحص context، والتكرار بـfresh chat لنفس card.

Direct API أم gateway أم LumiChat

اختر direct xAI للمسار الرسمي وconsole billing وexact model، وgateway إذا استحق دمج النماذج processor إضافيا، وJanitor AI إذا كان card/provider setup هو الهواية. لبدء hosted character دون API key افتح مكتبة LumiChat. LumiChat service منفصل.

الأسئلة الشائعة

هل يستخدم Janitor AI Grok؟

نعم عندما يقبل provider control الحالي endpoint وkey وmodel ID.

ما proxy URL؟

https://api.x.ai/v1/chat/completions هو Chat Completions الرسمي.

هل هو مجاني؟

Developer API تحاسب tokens بشكل منفصل عن consumer Grok.

أي model؟

قارن grok-4.6 الحالي مع grok-4.3 الأقل سعرا والأكبر context.

سبب 401؟

Developer key مفقودة أو غير صالحة أو ملغاة.

سبب 429؟

Rate limit للحساب أو model؛ افحص console واستخدم backoff.

هل ترسل chat إلى xAI؟

يرسل generation prompt إلى provider النشط.

هل أستخدم LumiChat؟

نعم لـmanaged browser character chat كمنصة منفصلة.

Aurora Quinn

تابع في LumiChat

اختر شخصية وابدأ المحادثة

تصفح الشخصيات المتاحة واختر الأسلوب والمشهد المناسبين ثم ابدأ الدردشة فوراً.

دخول الدردشة