مصادقة واحدة لكل مزود
مفتاح RunAPI واحد يفتح الوصول إلى الكتالوج بالكامل. لا حسابات منفصلة، ولا تدوير مفاتيح لكل تكامل.
It looks like you may prefer a different language. Switch anytime.
استخدم GPT API عبر RunAPI مع model skill ومصادقة موحدة وتسعير حسب الاستخدام.
# Base URL
https://runapi.ai
# Endpoints
POST /v1/chat/completions
POST /v1/responses
POST /v1/messages
POST /v1beta/models/{model}:generateContent
POST /v1beta/models/{model}:streamGenerateContent
curl https://runapi.ai/v1/chat/completions \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6-astra",
"messages": [
{
"role": "user",
"content": "Analyze this quarterly revenue data and produce a summary with key trends, anomalies, and three recommendations."
}
]
}'
from openai import OpenAI
client = OpenAI(
base_url="https://runapi.ai/v1",
api_key="your-runapi-key"
)
response = client.chat.completions.create(
model="gpt-6-astra",
messages=[{"role": "user", "content": "Analyze this quarterly revenue data and produce a summary with key trends, anomalies, and three recommendations."}]
)
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://runapi.ai/v1",
apiKey: "your-runapi-key"
});
const response = await client.chat.completions.create({
model: "gpt-6-astra",
messages: [{ role: "user", content: "Analyze this quarterly revenue data and produce a summary with key trends, anomalies, and three recommendations." }]
});
GPT is OpenAI's flagship large language model series, with the GPT-5 family delivering state-of-the-art performance in chat, code generation, and multi-step reasoning. Available in multiple capability tiers.
| Endpoint | Protocol |
|---|---|
POST /v1/chat/completions | OpenAI compatible |
POST /v1/responses | OpenAI Responses |
POST /v1/messages | Anthropic compatible |
POST /v1beta/models/{model}:generateContent | Gemini generateContent |
POST /v1beta/models/{model}:streamGenerateContent | Gemini streamGenerateContent |
| المتغير | الفوترة | الأسعار | |
|---|---|---|---|
| codex-auto-review | 1K tokens | Input $2.50 / 1M tokens | Output $15.00 / 1M tokens | عرض → |
| gpt-5.2 | 1K tokens | Input $0.88 / 1M tokens | Output $7.00 / 1M tokens · Input $1.75 / 1M tokens | Output $14.00 / 1M tokens | عرض → |
| gpt-5.2-pro | 1K tokens | Input $10.50 / 1M tokens | Output $84.00 / 1M tokens | عرض → |
| gpt-5.3-codex | 1K tokens | Input $1.05 / 1M tokens | Output $8.40 / 1M tokens | عرض → |
| gpt-5.3-codex-spark | 1K tokens | Input $1.05 / 1M tokens | Output $8.40 / 1M tokens | عرض → |
| gpt-5.4 | 1K tokens | Input $2.50 / 1M tokens | Output $15.00 / 1M tokens | عرض → |
| gpt-5.4-mini | 1K tokens | Input $0.45 / 1M tokens | Output $2.70 / 1M tokens | عرض → |
| gpt-5.4-nano | 1K tokens | Input $0.10 / 1M tokens | Output $0.63 / 1M tokens | عرض → |
| gpt-5.4-pro | 1K tokens | Input $30.00 / 1M tokens | Output $180.00 / 1M tokens | عرض → |
| gpt-5.5 | 1K tokens | Input $5.00 / 1M tokens | Output $30.00 / 1M tokens | عرض → |
| gpt-5.5-pro | 1K tokens | Input $30.00 / 1M tokens | Output $180.00 / 1M tokens | عرض → |
| gpt-5.6-luna | 1K tokens | Input $0.20-$0.40 / 1M tokens | Output $1.20-$1.80 / 1M tokens | عرض → |
| gpt-5.6-sol | 1K tokens | Input $5.00 / 1M tokens | Output $30.00 / 1M tokens | عرض → |
| gpt-5.6-terra | 1K tokens | Input $2.00-$4.00 / 1M tokens | Output $12.00-$18.00 / 1M tokens | عرض → |
| gpt-6-astra | 1K tokens | Input $5.00-$10.00 / 1M tokens | Output $25.00-$37.50 / 1M tokens | عرض → |
| Endpoint | الدقة | المدة | السعر | |
|---|---|---|---|---|
| chat_completion | — | — | Input $2.50 / 1M tokens | Output $15.00 / 1M tokens | |
| response | — | — | Input $2.50 / 1M tokens | Output $15.00 / 1M tokens |
الأسعار المعروضة للمتغير codex-auto-review. المتغيرات الأخرى لها أسعار endpoint خاصة بها.
اختر النموذج والإصدار المناسبين لنوع المخرجات ومستوى الجودة وزمن الاستجابة المستهدف.
اضبط مفتاح RunAPI وثبّت model skill في مساحة عمل الكود.
استخدم تعليمات المهارة لإضافة ميزة النموذج داخل تطبيقك.
استعلم عبر task ID أو استخدم البث عند دعمه أو عالج webhook callback.
GPT is OpenAI's frontier LLM family, spanning standard and mini variants for different cost-performance trade-offs. Through RunAPI, all GPT models share the same API shape and billing.
مفتاح RunAPI واحد يفتح الوصول إلى الكتالوج بالكامل. لا حسابات منفصلة، ولا تدوير مفاتيح لكل تكامل.
تسعير لكل استدعاء بالدولار الأمريكي، ويُفوتر شهريًا. لا تُحتسب التوليدات الفاشلة.
تأتي الـschemas المعرّفة وملاحظات الإعداد داخل model skill حتى يبدأ التنفيذ من العقد الصحيح.
GPT-5.6 — the sol, terra, and luna tiers — is the current flagship generation. GPT-5.4 remains a strong choice for coding and agentic workflows, GPT-5.5 for long-horizon autonomous tasks, and GPT-5.4-mini is the cost-effective option for simpler tasks.
Yes — all GPT-5 variants support structured function calling with JSON schemas, enabling agentic tool-use workflows.
Thinking mode lets GPT reason step-by-step before responding. Available on GPT-5.2 and above, it improves accuracy on complex reasoning tasks.
Context windows vary by variant. GPT-5.4 and above support large context windows suitable for multi-file code analysis and long documents.
Codex is specialized for multi-file code generation, editing, and analysis — purpose-built for developer workflows and CI/CD integration.
اختر أرخص نسخة تفي بمعيار الجودة لديك. يبدأ معظم الفرق بالنسخة السريعة ثم ينتقلون إلى pro للإنتاج.