واجهة برمجة النموذج thedrummer/unslopnemo-12b لدى OpenRouter, $0.4 / $0.4 لكل مليون رمز, سياق 1,024,000 رمز. أمثلة بـ curl وPython وJavaScript، واختبار مباشر.
UnslopNemo v4.1 is the latest addition from the creator of Rocinante, designed for adventure writing and role-play scenarios.
- النوع
- نموذج
- المزوّد
- OpenRouter
- معرّف النموذج
thedrummer/unslopnemo-12b- التسعير
- مدفوع
- سعر الإدخال / الإخراج
- $0.4 / $0.4 لكل مليون رمز
- الوصول دون مفتاح
- لا
- متغيّر المفتاح
OPENROUTER_API_KEY- عنوان URL الأساسي (متوافق مع OpenAI)
https://openrouter.ai/api/v1- السياق
- 1,024,000 رمز
- المدخلات
- نص
- الميزات
- مخرجات JSON
- تقييم المطوّرين
- لم يُقيَّم بعد
- التوثيق
- https://openrouter.ai/thedrummer/unslopnemo-12b
أمثلة برمجية
cURL
curl https://openrouter.ai/api/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-d '{"model":"thedrummer/unslopnemo-12b","messages":[{"role":"user","content":"مرحبًا، عرّف بنفسك في جملة واحدة."}]}'Python
# pip install openai
import os
from openai import OpenAI
client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key=os.environ["OPENROUTER_API_KEY"])
r = client.chat.completions.create(
model="thedrummer/unslopnemo-12b",
messages=[{"role": "user", "content": "مرحبًا، عرّف بنفسك في جملة واحدة."}],
)
print(r.choices[0].message.content)JavaScript
// npm install openai
import OpenAI from 'openai'
const client = new OpenAI({ baseURL: 'https://openrouter.ai/api/v1', apiKey: process.env.OPENROUTER_API_KEY })
const r = await client.chat.completions.create({
model: 'thedrummer/unslopnemo-12b',
messages: [{ role: 'user', content: 'مرحبًا، عرّف بنفسك في جملة واحدة.' }],
})
console.log(r.choices[0].message.content)
عمليات بحث شائعة
الأسئلة الشائعة
هل واجهة TheDrummer: UnslopNemo 12B مجانية؟
لا: TheDrummer: UnslopNemo 12B واجهة مدفوعة ($0.4 / $0.4 لكل مليون رمز).
كيف أستدعي TheDrummer: UnslopNemo 12B من شيفرتي؟
يوفّر TheDrummer: UnslopNemo 12B واجهة متوافقة مع OpenAI على العنوان https://openrouter.ai/api/v1: استخدم أي مكتبة OpenAI (Python أو JavaScript…) مع عنوان URL الأساسي هذا. معرّف النموذج: thedrummer/unslopnemo-12b. تتوفّر شيفرة جاهزة (بث، JSON، إعادة محاولة) في صندوق أدوات المطوّر.
ما حجم نافذة السياق في TheDrummer: UnslopNemo 12B؟
يقبل TheDrummer: UnslopNemo 12B حتى 1,024,000 رمز من السياق (الرسالة والسجل).
ما بدائل TheDrummer: UnslopNemo 12B؟
واجهات مشابهة في الفهرس: TheDrummer: Cydonia 24B V4.1, TheDrummer: Skyfall 36B V2.
بدائل
- TheDrummer: Cydonia 24B V4.1 — مدفوع
- TheDrummer: Skyfall 36B V2 — مدفوع