# GPT-5 nano

GPT-5 nano — модель ШІ від OpenAI, випущена 2025-08-07. Контекстне вікно — 400 000 токенів. Максимальна довжина відповіді — 128 000 токенів. Ціна за мільйон токенів: $0,05 на вході та $0,40 на виході.

- Розробник: OpenAI
- Id: gpt-5-nano
- Випущено: 2025-08-07T00:00:00.000Z
- Виявлення: 2026-10-07T16:22:11.205Z
  - [посилання на джерело](https://github.com/truefoundry/models/blob/main/providers/microsoft-foundry/gpt-5-nano.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/uk/models/openai/gpt-5-nano/

## Питання

### Яке контекстне вікно у GPT-5 nano?

Контекстне вікно — 400 000 токенів. Максимальна довжина відповіді — 128 000 токенів.

### Скільки коштує GPT-5 nano?

Ціна за мільйон токенів: $0,05 на вході та $0,40 на виході. Кешований вхід — $0,005 за мільйон токенів.

### Коли було випущено GPT-5 nano?

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)
> 26-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-2024-07-18',
>   'gp
- 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-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",
>             "o1-mini",
>             "
- 2026-11-10T17:59:50.472Z · [GitHub · openai/openai-agents-python · code](https://github.com/openai/openai-agents-python/blob/d68961657843c7d81dfc25834484f8aac2957eb3/docs/agents.md)
> tool
> def get_weather(city: str) -> str:
>     """returns weather info for the specified city."""
>     return f"The weather in {city} is sunny"
> 
> 
> agent = Agent(
>     name="Haiku agent",
>     instructions="Always respond in haiku form",
>     model="gpt-5-nano",
>     tools=[get_weather],
> )
> ```
> 
> Everything in this section applies to `Agent`. `SandboxAgent` builds on the same ideas, then adds `default_manifest`, `base_instructions`, `capabilities`, and `run_as` for workspace-scoped runs. See [Sandbox agent concepts](sandbox/guide.md).
> 
> ## Prompt templates
> 
> You can reference a prompt template created in the OpenAI platform by setting `prompt`. This works when OpenAI models are accessed through the Responses API.
> 
> To use it, please:
> 
> 1. Go to https://platform.openai.com/playground/prompts
> 2. Create a new prompt variable, `poem_style`.
> 3. Create a system prompt with the content:
> 
>     ```
>     W
Ця згадка в коді не підтверджує робочий ідентифікатор моделі.
- 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)
> 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",
>         ),
>         400_000,
>     ),
>     **_model_context_windows(
>        
- 2026-11-12T18:45:20.401Z · [GitHub · openai/openai-node · code](https://github.com/openai/openai-node/blob/b579bcb3e586d22269ffe6fe504653a0e05acbe8/src/resources/beta/assistants.ts)
> s/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'
>     | 'gpt-4-1106-p

## Посилання на джерела

- [Artificial Analysis · benchmarks](https://artificialanalysis.ai/models)
- [review](https://developers.openai.com/api/docs/models/gpt-5-nano)
- [openai-pricing](https://developers.openai.com/api/docs/pricing)
- [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/agents.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-nano.yaml)
- [models.dev · catalogue](https://models.dev/#databricks-gpt-5-nano)
- [models.dev · catalogue](https://models.dev/#gpt-5-nano)
- [openai-articles](https://openai.com/index/introducing-gpt-5-for-developers)
- [review](https://openai.com/index/introducing-gpt-5-for-developers/)
- [OpenCode · discovery](https://opencode.ai/data/openai/gpt-5-nano)
- [OpenRouter](https://openrouter.ai/openai/gpt-5-nano)
- [OpenRouter](https://openrouter.ai/openai/gpt-5-nano:batch)
- [OpenAI · deprecations](https://platform.openai.com/docs/deprecations)
- [Arena · leaderboards](https://platform.openai.com/docs/models/gpt-5-nano)
- [Vercel AI Gateway](https://vercel.com/ai-gateway)

## Сигнали

- [GPT-5 nano: Доступність API](https://alexgetman.com/uk/signals/2026/09/13/gpt-5-nano-high/)
