GET
/v1/models/cloudflare-ai-gateway/cloudflare-ai-gateway-openai-gpt-4-1
Accept:
| rawId | openai/gpt-4.1 |
| displayName | GPT-4.1 |
| id | cloudflare-ai-gateway-openai-gpt-4-1 |
| activity | chat |
| schemaEndpointId | openai/gpt-4.1 |
| releasedAt | no release date reported by the provider |
| firstSeenAt | 1744588800 — Apr 14, 2025 |
| lastSeenAt | 1794564095 — 2m ago |
| pricing | $2 / 1M input · $8 / 1M output → open calculator input_tokens (usage) · output_tokens (usage) · cache_read_tokens (usage) |
| contextWindow | 1047576 |
| maxOutput | 32768 |
| capabilities | {"reasoning":true} |
| modalities · knowledgeCutoff · openWeights · weightsUrl · requestMap · providerMetadata | not published by this provider’s list endpoint |
Endpoints & schemas
GET /v1/schemas/cloudflare-ai-gateway →| endpoint | activity |
|---|---|
| openai/gpt-4.1 | chat |
endpoints matching this model — the provider has more, see /v1/schemas/cloudflare-ai-gateway
Sources
| field | recorded source |
|---|---|
| contextWindow | https://raw.githubusercontent.com/cloudflare/cloudflare-docs/production/src/content/catalog-models/openai-gpt-4.1.json listing context_length Source trace3c2aa63b2499d49f6e1a755ad9189d9baebaa0cad43c25e017b53935c67d7520 |
| maxOutput | https://raw.githubusercontent.com/cloudflare/cloudflare-docs/production/src/content/catalog-models/openai-gpt-4.1.json listing max_output_tokens Source trace3c2aa63b2499d49f6e1a755ad9189d9baebaa0cad43c25e017b53935c67d7520 |
| pricing | Source linked above. listing pricing Source trace3c2aa63b2499d49f6e1a755ad9189d9baebaa0cad43c25e017b53935c67d7520 |
| capabilities.reasoning | https://raw.githubusercontent.com/cloudflare/cloudflare-docs/production/src/content/catalog-models/openai-gpt-4.1.json listing tags Source trace3c2aa63b2499d49f6e1a755ad9189d9baebaa0cad43c25e017b53935c67d7520 |
| schemaEndpointId | https://raw.githubusercontent.com/cloudflare/cloudflare-docs/production/src/content/catalog-models/openai-gpt-4.1.json listing schema.input Source trace3c2aa63b2499d49f6e1a755ad9189d9baebaa0cad43c25e017b53935c67d7520 |
| reasoning | https://raw.githubusercontent.com/cloudflare/cloudflare-docs/production/src/content/catalog-models/openai-gpt-4.1.json Value unknown (null); not published in the checked source · checked 2026-10-09. |
| requestMapFields.replayReasoningContent | https://raw.githubusercontent.com/cloudflare/cloudflare-docs/production/src/content/catalog-models/openai-gpt-4.1.json Value unknown (null); not published in the checked source · checked 2026-10-09. |
| activity | Source unknown — no source URL recorded. |
| modalities | Source unknown — no source URL recorded. |
| requestMap | Source unknown — no source URL recorded. |
Use it
shell
$ curl https://modelschemas.com/v1/schemas/cloudflare-ai-gateway/chat/openai/gpt-4.1 # request schema
$ curl -X POST https://modelschemas.com/v1/validate -d '{"provider":"cloudflare-ai-gateway","endpointId":"openai/gpt-4.1","payload":{…}}'
$ curl -X POST https://modelschemas.com/v1/estimate -d '{"provider":"cloudflare-ai-gateway","model":"openai/gpt-4.1","usage":{"input_tokens":1200,"output_tokens":400}}'