GET
/v1/models/cloudflare-ai-gateway/cloudflare-ai-gateway-openai-gpt-4o
Accept:
| rawId | openai/gpt-4o |
| displayName | GPT-4o |
| id | cloudflare-ai-gateway-openai-gpt-4o |
| activity | chat |
| schemaEndpointId | openai/gpt-4o |
| releasedAt | no release date reported by the provider |
| firstSeenAt | 1715558400 — May 13, 2024 |
| lastSeenAt | 1794561392 — 15m ago |
| pricing | $1.25 / 1M input · $5 / 1M output → open calculator input_tokens (usage) · output_tokens (usage) · cache_read_tokens (usage) |
| contextWindow | 128000 |
| maxOutput | 16384 |
| modalities · capabilities · 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-4o | 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-4o.json listing context_length Source trace722e6b725a905f09ecfee768712f121754b07874ea1dff86b1a07e5cadb0d11c |
| maxOutput | https://raw.githubusercontent.com/cloudflare/cloudflare-docs/production/src/content/catalog-models/openai-gpt-4o.json listing max_output_tokens Source trace722e6b725a905f09ecfee768712f121754b07874ea1dff86b1a07e5cadb0d11c |
| pricing | Source linked above. listing pricing Source trace722e6b725a905f09ecfee768712f121754b07874ea1dff86b1a07e5cadb0d11c |
| schemaEndpointId | https://raw.githubusercontent.com/cloudflare/cloudflare-docs/production/src/content/catalog-models/openai-gpt-4o.json listing schema.input Source trace722e6b725a905f09ecfee768712f121754b07874ea1dff86b1a07e5cadb0d11c |
| activity | Source unknown — no source URL recorded. |
| modalities | Source unknown — no source URL recorded. |
| capabilities | Source unknown — no source URL recorded. |
| reasoning | 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-4o # request schema
$ curl -X POST https://modelschemas.com/v1/validate -d '{"provider":"cloudflare-ai-gateway","endpointId":"openai/gpt-4o","payload":{…}}'
$ curl -X POST https://modelschemas.com/v1/estimate -d '{"provider":"cloudflare-ai-gateway","model":"openai/gpt-4o","usage":{"input_tokens":1200,"output_tokens":400}}'