GET

/v1/models/llmgateway/llmgateway-xai-grok-4

provider llmgatewaystatus activefirst seen Jul 9, 2025last seen 46s ago
rawIdxai/grok-4
displayNameGrok 4 (xai)
idllmgateway-xai-grok-4
activitychat
schemaEndpointIdv1/chat/completions
releasedAt1752019200 — Jul 9, 2025
firstSeenAt1752019200 — Jul 9, 2025
lastSeenAt1794655968 — 46s ago
pricing
$3 / 1M input · $15 / 1M output · base rate; long prompts re-quote → open calculator
input_tokens (usage) · output_tokens (usage) · cache_read_tokens (usage) · content_filtered_requests (usage)
contextWindow256000
maxOutput256000
modalities{"input":["text","image"],"output":["text"]}
capabilities{"temperature":true,"max_tokens":true,"top_p":true,"response_format":true,"tools":true,"tool_choice":true,"reasoning_effort":true,"reasoning":true,"frequency_penalty":false,"presence_penalty":false,"seed":false,"stop":false}
requestMap{"thinking":null,"maxTokensField":"max_tokens","developerRole":null,"replayReasoningContent":null,"store":null,"strictTools":null,"sessionAffinity":null,"cacheControl":null,"toolStream":null,"reasoningEffort":null}
knowledgeCutoff · openWeights · weightsUrl · providerMetadatanot published by this provider’s list endpoint
endpointactivity
v1/chat/completionschat

endpoints matching this model — the provider has more, see /v1/schemas/llmgateway

Sources

fieldrecorded source
contextWindowSource unknown — no source URL recorded.

listing

maxOutputSource unknown — no source URL recorded.

listing

modalitiesSource unknown — no source URL recorded.

listing

pricingSource linked above.

listing

data[].providers[providerId=xai].pricing

Source trace
7b966d2d38e91e7db277563d21ce819d084b046c1d4f284fce3be0bf7983e750
capabilities.temperatureSource unknown — no source URL recorded.

listing

capabilities.max_tokensSource unknown — no source URL recorded.

listing

capabilities.top_pSource unknown — no source URL recorded.

listing

capabilities.response_formatSource unknown — no source URL recorded.

listing

capabilities.toolsSource unknown — no source URL recorded.

listing

capabilities.tool_choiceSource unknown — no source URL recorded.

listing

capabilities.reasoning_effortSource unknown — no source URL recorded.

listing

capabilities.reasoningSource unknown — no source URL recorded.

listing

capabilities.frequency_penaltySource unknown — no source URL recorded.

listing

unlisted

capabilities.presence_penaltySource unknown — no source URL recorded.

listing

unlisted

capabilities.seedSource unknown — no source URL recorded.

listing

unlisted

capabilities.stopSource unknown — no source URL recorded.

listing

unlisted

activitySource unknown — no source URL recorded.
reasoningSource unknown — no source URL recorded.
requestMapSource unknown — no source URL recorded.
schemaEndpointIdSource unknown — no source URL recorded.

Use it

shell
$ curl https://modelschemas.com/v1/schemas/llmgateway/chat/v1/chat/completions # request schema
$ curl -X POST https://modelschemas.com/v1/validate -d '{"provider":"llmgateway","endpointId":"v1/chat/completions","payload":{…}}'
$ curl -X POST https://modelschemas.com/v1/estimate -d '{"provider":"llmgateway","model":"xai/grok-4","usage":{"input_tokens":1200,"output_tokens":400}}'