Skip to contentx402 is live on Robinhood Chain: agents can now pay for any model, per call, in USDG →
OmniRail
← All models

OpenAI · Language model

GPT-4 Turbo

openai/gpt-4-turbo
  • Language
Released Apr 9, 2024

The latest GPT-4 Turbo model with vision capabilities. Vision requests can now use JSON mode and function calling.

Training data: up to December 2023.

Specifications

Context window
128,000 tokens
Max output
4,096 tokens
Input
text, image
Output
text
Tokenizer
GPT
Knowledge cutoff
2023-12-31
Moderation
provider-moderated

Supported parameters

Accepted by the model and forwarded as-is by the gateway.

  • frequency_penalty
  • logit_bias
  • logprobs
  • max_tokens
  • presence_penalty
  • response_format
  • seed
  • stop
  • structured_outputs
  • temperature
  • tool_choice
  • tools
  • top_logprobs
  • top_p

Use it

POST /api/v1/chat/completions · MCP chat · full reference

curl https://omnirail.org/api/v1/chat/completions \
  -H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-4-turbo","messages":[{"role":"user","content":"Hello"}],"max_tokens":300}'