TensaHub › OpenRouter

Particle AI: Particle-1

واجهة برمجة النموذج particle-ai/particle-1 لدى OpenRouter, $0.07 / $0.5 لكل مليون رمز, سياق 1,048,576 رمز. أمثلة بـ curl وPython وJavaScript، واختبار مباشر.

اختبر وقيّم في الفهرس

Particle-1 is a token-efficient agentic coding model from Particle AI, post-trained on DeepSeek V4.1 Flash. It is suited for software engineering work such as terminal workflows, codebase changes, and data...

النوع
نموذج
المزوّد
OpenRouter
معرّف النموذج
particle-ai/particle-1
التسعير
مدفوع
سعر الإدخال / الإخراج
$0.07 / $0.5 لكل مليون رمز
الوصول دون مفتاح
لا
متغيّر المفتاح
OPENROUTER_API_KEY
عنوان URL الأساسي (متوافق مع OpenAI)
https://openrouter.ai/api/v1
السياق
1,048,576 رمز
المدخلات
نص, صورة
الميزات
الاستدلال, مخرجات JSON, استدعاء الأدوات
تقييم المطوّرين
لم يُقيَّم بعد
التوثيق
https://openrouter.ai/particle-ai/particle-1

أمثلة برمجية

cURL

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -d '{"model":"particle-ai/particle-1","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="particle-ai/particle-1",
    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: 'particle-ai/particle-1',
  messages: [{ role: 'user', content: 'مرحبًا، عرّف بنفسك في جملة واحدة.' }],
})
console.log(r.choices[0].message.content)

توليد شيفرة الدمج →

عمليات بحث شائعة

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

هل واجهة Particle AI: Particle-1 مجانية؟

لا: Particle AI: Particle-1 واجهة مدفوعة ($0.07 / $0.5 لكل مليون رمز).

كيف أستدعي Particle AI: Particle-1 من شيفرتي؟

يوفّر Particle AI: Particle-1 واجهة متوافقة مع OpenAI على العنوان https://openrouter.ai/api/v1: استخدم أي مكتبة OpenAI ‏(Python أو JavaScript…) مع عنوان URL الأساسي هذا. معرّف النموذج: particle-ai/particle-1. تتوفّر شيفرة جاهزة (بث، JSON، إعادة محاولة) في صندوق أدوات المطوّر.

ما حجم نافذة السياق في Particle AI: Particle-1؟

يقبل Particle AI: Particle-1 حتى 1,048,576 رمز من السياق (الرسالة والسجل).

ما بدائل Particle AI: Particle-1؟

واجهات مشابهة في الفهرس: Particle AI: Particle-1 (free), Particle AI: Particle-1 (free).

بدائل