هوش مصنوعی هرمزهوش مصنوعی هرمزهرمزورود

Mistral Small 4 (batch): مدل هوش مصنوعی

پنجره زمینه:
262,144 توکن
ورودی:
$0.07 / هر ۱M توکن
خروجی:
$0.3 / هر ۱M توکن
نوع:
text, image
  • بینایی
  • ابزار
  • زمینه بلند

سطح‌های تفکر: high · none

Mistral Small 4 (batch) یک مدل هوش مصنوعی از Mistral AI است که از طریق هرمز با یک API سازگار با OpenAI و دسترسی پایدار از داخل ایران در دسترس است.

Mistral Small 4 is the next major release in the Mistral Small family, unifying the capabilities of several flagship Mistral models into a single system. It combines strong reasoning from...

شروع سریع

# 1. Submit (up to 1,000 requests)
curl https://api.hormouz.net/v1/batches \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"endpoint": "/v1/chat/completions", "model": "mistralai/mistral-small-2603:batch", "requests": [{"custom_id": "q1", "body": {"messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 200}}]}'

# 2. Poll until "status" is "completed", then read "results"
curl https://api.hormouz.net/v1/batches/BATCH_ID \
  -H "Authorization: Bearer ng-YOUR_API_KEY"

مشخصات

سازندهMistral AI
نوعمتن، تصویر
پنجره زمینه۲۶۲٬۱۴۴ توکن
قیمت$0.07/M in · $0.30/M out
نوع APIbatches
قابلیت‌هابینایی · ابزارها

بنچمارک‌ها

۱۱٫۳
شاخص هوشمندی
بهتر از 17٪ مدل‌هایی که مقایسه کردیم
۲۶٫۶
شاخص کدنویسی
بهتر از 29٪ مدل‌هایی که مقایسه کردیم
۰٫۸
شاخص عامل‌محوری
بهتر از 4٪ مدل‌هایی که مقایسه کردیم

استدلال

GPQA Diamond
استدلال علمی در سطح تحصیلات تکمیلی
۷۶٫۹%
HLE
آزمون «آخرین امتحان بشریت»
۹٫۹%
IFBench
پیروی از دستورالعمل‌ها
۴۸٫۲%
AA-LCR
استدلال روی زمینه‌ی طولانی
۴۹٫۷%
CritPt
استدلال فیزیکی در سطح پژوهشی
۰٫۳%
AA Omniscience
دقت دانش واقعی گسترده
۲۱٫۷%
نرخ عدم توهم
نرخ پرهیز از پاسخ‌های ساختگی
۳۳٫۵%

کدنویسی

SciCode
پایتون برای محاسبات علمی
۳۸٫۸%
Terminal-Bench Hard
کدنویسی عامل‌محور و کار با ترمینال
۱۷٫۴%

عامل‌محور

τ²-Bench
عامل‌های ابزارمحور در سناریوهای کنترل دوگانه
۴۱٫۲%
GDPval
کارهای دارای ارزش اقتصادی
۰%

منبع: Artificial Analysis

نمونه کد

cURL
# 1. Submit (up to 1,000 requests)
curl https://api.hormouz.net/v1/batches \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"endpoint": "/v1/chat/completions", "model": "mistralai/mistral-small-2603:batch", "requests": [{"custom_id": "q1", "body": {"messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 200}}]}'

# 2. Poll until "status" is "completed", then read "results"
curl https://api.hormouz.net/v1/batches/BATCH_ID \
  -H "Authorization: Bearer ng-YOUR_API_KEY"
Python
import requests, time

BASE = "https://api.hormouz.net/v1"
H = {"Authorization": "Bearer ng-YOUR_API_KEY"}

batch = requests.post(f"{BASE}/batches", headers=H, json={
    "endpoint": "/v1/chat/completions",
    "model": "mistralai/mistral-small-2603:batch",
    "requests": [{"custom_id": "q1", "body": {"messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 200}}],
}).json()

while batch["status"] not in ("completed", "failed", "expired", "cancelled"):
    time.sleep(60)
    batch = requests.get(f"{BASE}/batches/{batch['id']}", headers=H).json()

for item in batch.get("results", []):  # unordered: match by custom_id
    print(item["custom_id"], item.get("body") or item.get("error"))
JavaScript
const BASE = "https://api.hormouz.net/v1";
const H = { Authorization: "Bearer ng-YOUR_API_KEY", "Content-Type": "application/json" };

let batch = await (await fetch(BASE + "/batches", {
  method: "POST",
  headers: H,
  body: JSON.stringify({
    endpoint: "/v1/chat/completions",
    model: "mistralai/mistral-small-2603:batch",
    requests: [{"custom_id": "q1", "body": {"messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 200}}],
  }),
})).json();

while (!["completed", "failed", "expired", "cancelled"].includes(batch.status)) {
  await new Promise((r) => setTimeout(r, 60000));
  batch = await (await fetch(BASE + "/batches/" + batch.id, { headers: H })).json();
}
for (const item of batch.results ?? []) console.log(item.custom_id, item.body ?? item.error);

خرید API Mistral Small 4 (batch) با پرداخت ریالی

  • با کارت بانکی ایرانی اعتبار بخرید؛ کارت ارزی و حساب خارجی لازم نیست.
  • با یک کلید هرمز به Mistral Small 4 (batch) و نزدیک به ۷۰۰ مدل دیگر دسترسی دارید و فقط به اندازه‌ی مصرف می‌پردازید.
  • بدون فیلترشکن و بدون خطر بن شدن حساب؛ کافی است آدرس پایه را به api.hormouz.net/v1 تغییر دهید.
ساخت حساب

استفاده از طریق هرمز

با یک کلید API به این مدل و نزدیک به ۷۰۰ مدل دیگر وصل شوید و مصرف هر مدل را تا سطح هر درخواست ببینید.

درخواست دسترسی شرکتی

به‌روزرسانی: 2026-11-27