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-4o-mini (2024-07-18)

openai/gpt-4o-mini-2024-07-18
  • Language
Released Jul 18, 2024

GPT-4o mini is OpenAI's newest model after [GPT-4 Omni](/models/openai/gpt-4o), supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable...

Specifications

Context window
128,000 tokens
Max output
16,384 tokens
Input
text, image, file
Output
text
Tokenizer
GPT
Knowledge cutoff
2023-10-31
Moderation
provider-moderated

Supported parameters

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

  • frequency_penalty
  • logit_bias
  • logprobs
  • max_tokens
  • prediction
  • 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-4o-mini-2024-07-18","messages":[{"role":"user","content":"Hello"}],"max_tokens":300}'