# GPT-5 Mini

- Model ID for the API: `openai/gpt-5-mini`
- Privacy tier: Incognito. NEAR AI's TEE router hides your account, and the model runs at the provider. No hardware privacy guarantee.
- Input price: $0.25 per 1M tokens
- Output price: $2 per 1M tokens
- Cache read price: $0.025 per 1M tokens
- Context window: 400K tokens
- Input modalities: Text
- Output modalities: Text
- API base URL: https://cloud-api.near.ai/v1

Canonical page: https://near.ai/models/openai/gpt-5-mini
Generated: 2026-11-18T10:03:07.139Z

## About this model

GPT-5 Mini is a compact version of GPT-5, designed to handle lighter-weight reasoning tasks. It provides the same instruction-following and safety-tuning benefits as GPT-5, but with reduced latency and cost....

## Make your first request

Send `POST https://cloud-api.near.ai/v1/responses` over HTTPS. Get an API key at https://cloud.near.ai/signin, then replace the API key placeholder below.

```bash
curl https://cloud-api.near.ai/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <YOUR-NEAR-AI-CLOUD-API-KEY>" \
  -d '{
    "model": "openai/gpt-5-mini",
    "input": "What is the meaning of life?",
    "store": false
  }'
```

## Verify

- How verification works: https://docs.near.ai/cloud/verification
- Inference SDK, which verifies Gateway signatures for you: https://docs.near.ai/cloud/inference-sdk

## More

- Try it in the Playground: https://cloud.near.ai/playground?model=openai%2Fgpt-5-mini
- All models: https://near.ai/models.md
- Pricing: https://near.ai/pricing.md
- Documentation: https://docs.near.ai/cloud/introduction
