مقارنة · 2026-06-29
GPT-5.1 Codex vs Claude Sonnet 4.5 (latest)
مقارنة الأسعار ونافذة السياق والقدرات بين GPT-5.1 Codex (OpenAI) وClaude Sonnet 4.5 (latest) (Anthropic). التركيز: coding.
| GPT-5.1 Codex | Claude Sonnet 4.5 (latest) | |
|---|---|---|
| الناشر | OpenAI | Anthropic |
| سعر الإدخال / 1M رمز | $1.25 | $3.00 |
| سعر الإخراج / 1M رمز | $10.00 | $15.00 |
| الإجمالي لـ 1M (إدخال + إخراج) | $11.25 | $18.00 |
| نافذة السياق | 400K | 200K |
| أقصى رموز إخراج | 128K | 64K |
| استدعاء الأدوات | ✓ نعم | ✓ نعم |
| إخراج منظم | ✓ نعم | غير معروف |
| تفكير | ✓ نعم | ✓ نعم |
| إدخال صور | ✓ نعم | ✓ نعم |
| أوزان مفتوحة | ✗ لا | ✗ لا |
| توفر لدى المزودين | 19 مزود | 21 مزود |
| تاريخ الإصدار | 2025-11-13 | 2025-09-29 |
| تاريخ المعرفة | 2024-09-30 | 2025-07-31 |
خلاصة سريعة
- GPT-5.1 Codex أرخص بحوالي 1.6× لكل مليون رمز مجمّع (إدخال + إخراج).
- لدى GPT-5.1 Codex نافذة سياق أكبر (400K مقابل 200K).
- فقط GPT-5.1 Codex يدعم المخرجات المنظمة / وضع JSON.
- Claude Sonnet 4.5 (latest) متوفر لدى مزودين أكثر (21 مقابل 19).
How to read this comparison
This page compares GPT-5.1 Codex and Claude Sonnet 4.5 (latest) on the dimensions that matter most for production LLM selection: per-token cost, context window, declared capabilities (tool calling, structured output, reasoning, vision), and provider availability.
Green highlights in the table indicate which model leads on a given row. "Leads" means lower price or higher context/capability — not necessarily "better for your use case". A model that costs 3× more may still be the right choice if it unlocks a capability you need.
What this comparison does NOT tell you
- Quality / accuracy — we have no benchmark data. Declared capabilities ≠ measured performance.
- Latency — time-to-first-token varies by provider, region and load. Test with your actual traffic.
- Prompt caching savings — if you reuse system prompts, the cheaper model on headline rate may not be cheapest in practice.
- Fine-tuning availability — not all models can be fine-tuned, even if they are open-weight.
Data is refreshed daily. If a model's capabilities or pricing change, this page updates automatically on the next build cycle.
Frequently asked questions
هل GPT-5.1 Codex أرخص من Claude Sonnet 4.5 (latest)؟
GPT-5.1 Codex: $1.25/مليون رمز إدخال + $10.00/مليون إخراج؛ Claude Sonnet 4.5 (latest): $3.00/مليون + $15.00/مليون. الأرخص مجموعًا لكل مليون: GPT-5.1 Codex.
أيهما أطول نافذة سياق، GPT-5.1 Codex أم Claude Sonnet 4.5 (latest)؟
GPT-5.1 Codex لديه نافذة أطول — 400,000 مقابل 200,000.
أين يمكنني تشغيل GPT-5.1 Codex وClaude Sonnet 4.5 (latest)؟
GPT-5.1 Codex متوفر لدى 19 مزودًا؛ Claude Sonnet 4.5 (latest) لدى 21. راجع كل صفحة نموذج للقائمة الكاملة.
Explore more
آخر تحديث:
Prices in USD per 1M tokens. Unknown means the provider does not publish per-token pricing.
Pricing and capabilities are refreshed daily and reconciled against each provider's official documentation. Always verify critical production decisions with the provider directly.