# OpenAI: GPT-4.1

- Model id: `openai/gpt-4.1`
- Served by: -
- List price per 1M tokens, input / output, from: -, with 0% platform fee. A request is billed at the list price of the host that served it.
- Context: 1.05M, max output 943K
- Prices read 2026-11-15 09:33 UTC
- Page: https://plaingateway.com/models/openai/gpt-4.1

GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. It supports a 1 million token context window and outperforms GPT-4o and...

## Hosts

| Host | Endpoint | In / out /M | Cache read /M | Context | Served |
|---|---|---|---|---|---|
| Azure | `azure` | $2.00 / $8.00 | $0.50 | 1.05M | no |
| OpenAI | `openai` | $2.00 / $8.00 | $0.50 | 1.05M | no |
| Azure | `azure/swedencentral` | $2.20 / $8.80 | $0.55 | 1.05M | no |

## First request

```sh
curl https://api.plaingateway.com/api/v1/chat/completions \
  -H "Authorization: Bearer $PLAINGATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "openai/gpt-4.1", "messages": [{"role": "user", "content": "Say hello in five words."}]}'
```

Sign up at https://plaingateway.com/signup (no card), create a key, send a test call, and add credits when you want more. New accounts may get a small starting credit. The whole bootstrap for agents: https://plaingateway.com/llms.txt
