واجهة برمجة النموذج deepseek-ai/DeepSeek-V4.1-Flash-1017:digitalocean لدى Hugging Face Inference, $0.195 / $0.78 لكل مليون رمز, سياق 1,048,576 رمز. أمثلة بـ curl وPython وJavaScript، واختبار مباشر.
deepseek-ai/DeepSeek-V4.1-Flash-1017 served by DigitalOcean through the Hugging Face router.
- النوع
- نموذج
- المزوّد
- Hugging Face Inference
- الاستضافة
- DigitalOcean
- معرّف النموذج
deepseek-ai/DeepSeek-V4.1-Flash-1017:digitalocean- التسعير
- مدفوع
- سعر الإدخال / الإخراج
- $0.195 / $0.78 لكل مليون رمز
- الوصول دون مفتاح
- لا
- متغيّر المفتاح
HF_TOKEN- عنوان URL الأساسي (متوافق مع OpenAI)
https://router.huggingface.co/v1- السياق
- 1,048,576 رمز
- المدخلات
- نص, صورة
- الميزات
- استدعاء الأدوات, مخرجات JSON
- زمن الاستجابة
- أول رمز 637 ms · 173 رمز/ث · التوافر 100%
- تقييم المطوّرين
- لم يُقيَّم بعد
- التوثيق
- https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017
أمثلة برمجية
cURL
curl https://router.huggingface.co/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HF_TOKEN" \
-d '{"model":"deepseek-ai/DeepSeek-V4.1-Flash-1017:digitalocean","messages":[{"role":"user","content":"مرحبًا، عرّف بنفسك في جملة واحدة."}]}'Python
# pip install openai
import os
from openai import OpenAI
client = OpenAI(base_url="https://router.huggingface.co/v1", api_key=os.environ["HF_TOKEN"])
r = client.chat.completions.create(
model="deepseek-ai/DeepSeek-V4.1-Flash-1017:digitalocean",
messages=[{"role": "user", "content": "مرحبًا، عرّف بنفسك في جملة واحدة."}],
)
print(r.choices[0].message.content)JavaScript
// npm install openai
import OpenAI from 'openai'
const client = new OpenAI({ baseURL: 'https://router.huggingface.co/v1', apiKey: process.env.HF_TOKEN })
const r = await client.chat.completions.create({
model: 'deepseek-ai/DeepSeek-V4.1-Flash-1017:digitalocean',
messages: [{ role: 'user', content: 'مرحبًا، عرّف بنفسك في جملة واحدة.' }],
})
console.log(r.choices[0].message.content)
عمليات بحث شائعة
الأسئلة الشائعة
هل واجهة DeepSeek-V4.1-Flash-1017 · DigitalOcean مجانية؟
لا: DeepSeek-V4.1-Flash-1017 · DigitalOcean واجهة مدفوعة ($0.195 / $0.78 لكل مليون رمز).
كيف أستدعي DeepSeek-V4.1-Flash-1017 · DigitalOcean من شيفرتي؟
يوفّر DeepSeek-V4.1-Flash-1017 · DigitalOcean واجهة متوافقة مع OpenAI على العنوان https://router.huggingface.co/v1: استخدم أي مكتبة OpenAI (Python أو JavaScript…) مع عنوان URL الأساسي هذا. معرّف النموذج: deepseek-ai/DeepSeek-V4.1-Flash-1017:digitalocean. تتوفّر شيفرة جاهزة (بث، JSON، إعادة محاولة) في صندوق أدوات المطوّر.
ما حجم نافذة السياق في DeepSeek-V4.1-Flash-1017 · DigitalOcean؟
يقبل DeepSeek-V4.1-Flash-1017 · DigitalOcean حتى 1,048,576 رمز من السياق (الرسالة والسجل).
ما بدائل DeepSeek-V4.1-Flash-1017 · DigitalOcean؟
واجهات مشابهة في الفهرس: DeepSeek-V4.1-Flash-1017 · Cloudflare, DeepSeek-V4.1-Flash-1017 · Cohere, DeepSeek-V4.1-Flash-1017 · CoreWeave, DeepSeek-V4.1-Flash-1017 · Crusoe, DeepSeek-V4.1-Flash-1017 · DeepInfra.
بدائل
- DeepSeek-V4.1-Flash-1017 · Cloudflare — مدفوع
- DeepSeek-V4.1-Flash-1017 · Cohere — مدفوع
- DeepSeek-V4.1-Flash-1017 · CoreWeave — مدفوع
- DeepSeek-V4.1-Flash-1017 · Crusoe — مدفوع
- DeepSeek-V4.1-Flash-1017 · DeepInfra — مدفوع
- DeepSeek-V4.1-Flash-1017 · Doubleword — مدفوع
- DeepSeek-V4.1-Flash-1017 · Fireworks — مدفوع
- DeepSeek-V4.1-Flash-1017 · Inceptron — مدفوع
- DeepSeek-V4.1-Flash-1017 · InferenceNet — مدفوع
- DeepSeek-V4.1-Flash-1017 · Krea — مدفوع
- DeepSeek-V4.1-Flash-1017 · Makora — مدفوع
- DeepSeek-V4.1-Flash-1017 · Mistral — مدفوع