OpenAI-compatible

For any provider that speaks the OpenAI /chat/completions API shape — OpenRouter, Groq, Together AI, Mistral, Azure OpenAI, DeepSeek, and others. You type the base URL yourself.

EndpointWhatever base URL you enter, e.g. https://openrouter.ai/api/v1
Needs a keyUsually yes (provider-dependent) — the field is optional here since some self-hosted OpenAI-compatible servers don't require one
Structured outputAttempted via response_format: {type: "json_schema"} where the provider supports it; falls back gracefully otherwise

Setup

  1. Get an API key and base URL from your chosen provider's docs.
  2. In BerryStudio: Settings → AI Provider → choose OpenAI-compatible.
  3. Enter the base URL and key, fetch or type a model name, then Test Connection.
Because this adapter accepts any URL you type, BerryStudio's CSP allows outbound requests to https: generally (plus localhost) rather than a short fixed list — see the AI setup overview's security note.

متوافق مع OpenAI

لأي مزوّد يتحدث بنفس شكل واجهة /chat/completions الخاصة بـOpenAI — OpenRouter، Groq، Together AI، Mistral، Azure OpenAI، DeepSeek، وغيرها. تكتب العنوان الأساسي بنفسك.

نقطة النهايةأي عنوان أساسي تُدخله، مثل https://openrouter.ai/api/v1
يحتاج مفتاحًاعادةً نعم (يعتمد على المزوّد) — الحقل اختياري هنا لأن بعض خوادم OpenAI المتوافقة ذاتية الاستضافة لا تتطلب مفتاحًا
مخرجات منظّمةتُحاوَل عبر response_format: {type: "json_schema"} حيث يدعمها المزوّد؛ وإلا فتراجع سلس بدونها

الإعداد

  1. احصل على مفتاح API وعنوان أساسي من وثائق المزوّد الذي اخترته.
  2. في BerryStudio: الإعدادات ← مزوّد الذكاء الاصطناعي ← اختر متوافق مع OpenAI.
  3. أدخل العنوان الأساسي والمفتاح، اجلب أو اكتب اسم نموذج، ثم Test Connection.
بما أن هذا المحوّل يقبل أي عنوان تكتبه، فإن سياسة أمان المحتوى في BerryStudio تسمح بطلبات صادرة إلى https: عمومًا (إضافة إلى localhost) بدلًا من قائمة قصيرة ثابتة — راجع ملاحظة الأمان في نظرة عامة على إعداد الذكاء الاصطناعي.