# GPT-5 Mini

GPT-5 Mini نموذج ذكاء اصطناعي من OpenAI، صدر في 2025-08-07. تبلغ سعة نافذة السياق 400,000 رمز. يبلغ الحد الأقصى للإخراج 128,000 رمز. السعر لكل مليون رمز هو $0.25 للإدخال و$2.00 للإخراج.

- المطوّر: OpenAI
- Id: gpt-5-mini
- حسب التقارير: 2025-08-07T00:00:00.000Z
- صدر: 2025-08-07T00:00:00.000Z
- رصد: 2026-10-07T16:22:11.205Z
  - [رابط مصدر](https://github.com/truefoundry/models/blob/main/providers/microsoft-foundry/gpt-5-mini.yaml)
- الحالة: صدر
- توفر API: 2025-08-07
  - [رابط مصدر](https://openai.com/index/introducing-gpt-5-for-developers/)
  - [رابط مصدر](https://openai.com/index/introducing-gpt-5-for-developers)
- الرابط الأساسي: https://alexgetman.com/ar/models/openai/gpt-5-mini/

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

### ما حجم نافذة السياق في GPT-5 Mini؟

تبلغ سعة نافذة السياق 400,000 رمز. يبلغ الحد الأقصى للإخراج 128,000 رمز.

### ما سعر GPT-5 Mini؟

السعر لكل مليون رمز هو $0.25 للإدخال و$2.00 للإخراج. سعر الإدخال المخزّن مؤقتًا هو $0.025 لكل مليون رمز.

### متى تم إصدار GPT-5 Mini؟

2025-08-07.

## التسلسل الزمني

- 2026-11-10T17:58:10.980Z · [GitHub · openai/openai-agents-js · code](https://github.com/openai/openai-agents-js/blob/7589b9c40120b89a7d2d28a5a60b4defe1ed7bf5/packages/agents-core/src/sandbox/capabilities/compaction.ts)
>  'gpt-5.4-pro-2026-03-05',
>   'gpt-4.1',
>   'gpt-4.1-2025-04-14',
>   'gpt-4.1-mini',
>   'gpt-4.1-mini-2025-04-14',
>   'gpt-4.1-nano',
>   'gpt-4.1-nano-2025-04-14',
> ]);
> 
> const SANDBOX_CONTEXT_WINDOWS_400K = new Set([
>   'gpt-5',
>   'gpt-5-codex',
>   'gpt-5-mini',
>   'gpt-5-nano',
>   'gpt-5-pro',
>   'gpt-5.1',
>   'gpt-5.1-codex',
>   'gpt-5.1-codex-max',
>   'gpt-5.1-codex-mini',
>   'gpt-5.2',
>   'gpt-5.2-codex',
>   'gpt-5.2-codex-cyber',
>   'gpt-5.2-pro',
>   'gpt-5.3-codex',
>   'gpt-5.3-codex-spark',
>   'gpt-5.4-mini',
>   'gpt-5.4-nano',
> ]);
> 
> const SANDBOX_CONTEXT_WINDOWS_200K = new Set([
>   'codex-mini-latest',
>   'o1',
>   'o1-2024-12-17',
>   'o1-pro',
>   'o3',
>   'o3-2025-04-16',
>   'o3-mini',
>   'o3-pro',
>   'o3-deep-research',
>   'o4-mini',
>   'o4-mini-2025-04-16',
>   'o4-mini-deep-research',
> ]);
> 
> const SANDBOX_CONTEXT_WINDOWS_128K = new Set([
>   'gpt-4o',
>   'gpt-4o-2024-08-06',
>   'gpt-4o-mini',
>   'gpt-4o-mini-20
- 2026-11-10T17:58:16.002Z · [GitHub · openai/openai-python · code](https://github.com/openai/openai-python/blob/0ebd00647f6088fb100b03440c6c4554bbab549d/src/openai/types/beta/beta_responses_client_event.py)
>      "gpt-5.2-pro",
>             "gpt-5.2-pro-2025-12-11",
>             "gpt-5.1",
>             "gpt-5.1-2025-11-13",
>             "gpt-5.1-codex",
>             "gpt-5.1-mini",
>             "gpt-5.1-chat-latest",
>             "gpt-5",
>             "gpt-5-mini",
>             "gpt-5-nano",
>             "gpt-5-2025-08-07",
>             "gpt-5-mini-2025-08-07",
>             "gpt-5-nano-2025-08-07",
>             "gpt-5-chat-latest",
>             "gpt-4.1",
>             "gpt-4.1-mini",
>             "gpt-4.1-nano",
>             "gpt-4.1-2025-04-14",
>             "gpt-4.1-mini-2025-04-14",
>             "gpt-4.1-nano-2025-04-14",
>             "o4-mini",
>             "o4-mini-2025-04-16",
>             "o3",
>             "o3-2025-04-16",
>             "o3-mini",
>             "o3-mini-2025-01-31",
>             "o1",
>             "o1-2024-12-17",
>             "o1-preview",
>             "o1-preview-2024-09-12",
>           
- 2026-11-10T17:59:50.472Z · [GitHub · openai/openai-agents-python · code](https://github.com/openai/openai-agents-python/blob/d68961657843c7d81dfc25834484f8aac2957eb3/docs/ja/models/index.md)
> 、使用するすべての機能が両方で利用可能であることを確認してください。
> 
> ```python
> import asyncio
> 
> from agents import Agent, Runner, AsyncOpenAI, OpenAIChatCompletionsModel
> 
> spanish_agent = Agent(
>     name="Spanish agent",
>     instructions="You only speak Spanish.",
>     model="gpt-5-mini",  # (1)!
> )
> 
> english_agent = Agent(
>     name="English agent",
>     instructions="You only speak English",
>     model=OpenAIChatCompletionsModel(  # (2)!
>         model="gpt-5-nano", openai_client=AsyncOpenAI()
>     ),
> )
> 
> triage_agent = Agent(
>     name="Triage agent",
>     instructions="Handoff to the appropriate agent based on the language of the request.",
>     handoffs=[spanish_agent, english_agent],
>     model="gpt-5.6-sol",
> )
> 
> 
> async def main():
>     result = await Runner.run(triage_agent, input="Hola, ¿cómo estás?")
>     print(result.final_output)
> 
> 
> if __name__ == "__main__":
>     asyncio.run(main())
> ```
> 
> 1.  OpenAI モデルの名前を直接設定します。
> 2.  
هذا المرجع في الشفرة لا يثبت وجود معرّف نموذج مستخدم فعليًا.
- 2026-11-10T18:00:44.369Z · [GitHub · openai/codex · code](https://github.com/openai/codex/blob/82e6bacb9c6950d3b56cb153847fa80bdd698053/codex-rs/core/src/config/config_tests.rs)
> _memories = false
> dedicated_tools = true
> max_raw_memories_for_consolidation = 512
> max_unused_days = 21
> max_rollout_age_days = 42
> max_rollouts_per_startup = 9
> min_rollout_idle_hours = 24
> min_rate_limit_remaining_percent = 12
> extract_model = "gpt-5-mini"
> consolidation_model = "gpt-5.2"
> consolidation_service_tier = "fast"
> "#;
>     let memories_cfg =
>         toml::from_str::<ConfigToml>(memories).expect("TOML deserialization should succeed");
>     assert_eq!(
>         Some(MemoriesToml {
>             dual_write: None,
>             version: None,
>             disable_on_external_context: Some(true),
>             generate_memories: Some(false),
>             use_memories: Some(false),
>             dedicated_tools: Some(true),
>             max_raw_memories_for_consolidation: Some(512),
>             max_unused_days: Some(21),
>             max_rollout_age_days: Some(42),
>             max_rollouts_per_
هذا المرجع في الشفرة لا يثبت وجود معرّف نموذج مستخدم فعليًا.
- 2026-11-10T20:40:17.231Z · [GitHub · openai/openai-agents-python · code](https://github.com/openai/openai-agents-python/blob/d68961657843c7d81dfc25834484f8aac2957eb3/src/agents/sandbox/capabilities/compaction.py)
> 4",
>             "gpt-4.1-nano",
>             "gpt-4.1-nano-2025-04-14",
>         ),
>         1_047_576,
>     ),
>     **_model_context_windows(
>         (
>             "gpt-5",
>             "gpt-5-2025-08-07",
>             "gpt-5-codex",
>             "gpt-5-mini",
>             "gpt-5-mini-2025-08-07",
>             "gpt-5-nano",
>             "gpt-5-nano-2025-08-07",
>             "gpt-5-pro",
>             "gpt-5-pro-2025-10-06",
>             "gpt-5.1",
>             "gpt-5.1-2025-11-13",
>             "gpt-5.1-codex",
>             "gpt-5.1-codex-max",
>             "gpt-5.1-codex-mini",
>             "gpt-5.2",
>             "gpt-5.2-2025-12-11",
>             "gpt-5.2-codex",
>             "gpt-5.2-pro",
>             "gpt-5.2-pro-2025-12-11",
>             "gpt-5.3-codex",
>             "gpt-5.4-mini",
>             "gpt-5.4-mini-2026-03-17",
>             "gpt-5.4-nano",
>             "gpt-5.4-nano-2026-03-17",
>         )
- 2026-11-12T18:45:20.401Z · [GitHub · openai/openai-node · code](https://github.com/openai/openai-node/blob/b579bcb3e586d22269ffe6fe504653a0e05acbe8/src/resources/beta/assistants.ts)
> urces/models/methods/list)
>    * API to see all of your available models, or see our
>    * [Model overview](https://developers.openai.com/api/docs/models) for descriptions
>    * of them.
>    */
>   model?:
>     | (string & {})
>     | 'gpt-5'
>     | 'gpt-5-mini'
>     | 'gpt-5-nano'
>     | 'gpt-5-2025-08-07'
>     | 'gpt-5-mini-2025-08-07'
>     | 'gpt-5-nano-2025-08-07'
>     | 'gpt-4.1'
>     | 'gpt-4.1-mini'
>     | 'gpt-4.1-nano'
>     | 'gpt-4.1-2025-04-14'
>     | 'gpt-4.1-mini-2025-04-14'
>     | 'gpt-4.1-nano-2025-04-14'
>     | 'o3-mini'
>     | 'o3-mini-2025-01-31'
>     | 'o1'
>     | 'o1-2024-12-17'
>     | 'gpt-4o'
>     | 'gpt-4o-2024-11-20'
>     | 'gpt-4o-2024-08-06'
>     | 'gpt-4o-2024-05-13'
>     | 'gpt-4o-mini'
>     | 'gpt-4o-mini-2024-07-18'
>     | 'gpt-4.5-preview'
>     | 'gpt-4.5-preview-2025-02-27'
>     | 'gpt-4-turbo'
>     | 'gpt-4-turbo-2024-04-09'
>     | 'gpt-4-0125-preview'
>     | 'gpt-4-turbo-preview'
> 
- 2026-11-14T01:20:31.106Z · [OpenAI · official articles](https://openai.com/index/introducing-gpt-5)

## روابط المصادر

- [review](https://developers.openai.com/api/docs/models/gpt-5-mini)
- [openai-pricing](https://developers.openai.com/api/docs/pricing)
- [GitHub · openai/codex · code](https://github.com/openai/codex/blob/82e6bacb9c6950d3b56cb153847fa80bdd698053/codex-rs/core/src/config/config_tests.rs)
- [GitHub · openai/openai-agents-js · code](https://github.com/openai/openai-agents-js/blob/7589b9c40120b89a7d2d28a5a60b4defe1ed7bf5/packages/agents-core/src/sandbox/capabilities/compaction.ts)
- [GitHub · openai/openai-agents-python · code](https://github.com/openai/openai-agents-python/blob/d68961657843c7d81dfc25834484f8aac2957eb3/docs/ja/models/index.md)
- [GitHub · openai/openai-agents-python · code](https://github.com/openai/openai-agents-python/blob/d68961657843c7d81dfc25834484f8aac2957eb3/src/agents/sandbox/capabilities/compaction.py)
- [GitHub · openai/openai-node · code](https://github.com/openai/openai-node/blob/b579bcb3e586d22269ffe6fe504653a0e05acbe8/src/resources/beta/assistants.ts)
- [GitHub · openai/openai-python · code](https://github.com/openai/openai-python/blob/0ebd00647f6088fb100b03440c6c4554bbab549d/src/openai/types/beta/beta_responses_client_event.py)
- [truefoundry-azure](https://github.com/truefoundry/models/blob/main/providers/microsoft-foundry/gpt-5-mini.yaml)
- [openai-articles](https://openai.com/index/introducing-gpt-5)
- [openai-articles](https://openai.com/index/introducing-gpt-5-for-developers)
- [review](https://openai.com/index/introducing-gpt-5-for-developers/)

## الإشارات

