# GPT-5.1

> GPT-5.1 is the OpenAI's best model for coding and agentic tasks across industries.

Agent resources: the index of everything machine-readable is https://www.ohmygpt.com/llms.txt; the integration skill (endpoints, auth, SDK and coding-tool setup) is https://www.ohmygpt.com/skill.md.

- Model ID: `openai/gpt-5.1`
- Status: available
- Released: 2025-11-13
- Context: 400K tokens
- Max output: 128K tokens
- Input: text, image, audio; output: text, image, audio
- Knowledge cutoff: 2024-09-30
- Capability score: 150 (as of 2026-11-02, see https://www.ohmygpt.com/rankings.md)
- Human preference rating (LMArena text): 1422

## Prices (USD)

| Item | Price | Unit |
| --- | --- | --- |
| Input | $1.125 | per 1M tokens |
| Output | $9.00 | per 1M tokens |
| Cache read | $0.1125 | per 1M tokens |
| Image output | $36.00 | per 1M tokens |
| Web search | $0.009–$0.0126 | per request |

## Providers

This model chooses its provider itself; a provider prefix is not accepted.

| Provider | Pinned model ID | Location | Input | Output | Trains on your data |
| --- | --- | --- | --- | --- | --- |
| Azure AI Foundry | — | Global | $1.125 | $9.00 | no |
| OpenAI | — | United States | $1.125 | $9.00 | no |

## Endpoints

| API | Request | model |
| --- | --- | --- |
| OpenAI Chat | POST https://api.ohmygpt.com/v1/chat/completions | `openai/gpt-5.1` |
| OpenAI Responses | POST https://api.ohmygpt.com/v1/responses | `openai/gpt-5.1` |
| Anthropic Messages | POST https://api.ohmygpt.com/v1/messages | `openai/gpt-5.1` |
| Google Gemini | POST https://api.ohmygpt.com/v1/models/openai/gpt-5.1:generateContent | `openai/gpt-5.1` |

## Example

```bash
curl https://api.ohmygpt.com/v1/chat/completions \
  -H "Authorization: Bearer $OHMYGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.1",
    "messages": [
      {
        "role": "user",
        "content": "Hello"
      }
    ]
  }'
```

Web page: https://www.ohmygpt.com/models/openai/gpt-5.1
