← Back to all generators

openai/gpt-4o-mini

Low latency, low cost version of OpenAI's GPT-4o model

Capabilities

Reference ImagesSystem PromptTop-P

Cost

Community model (estimated from hardware time)

Input Parameters

frequency_penaltynumber

Frequency penalty parameter - positive values penalize the repetition of tokens.

Default: 0min: -2, max: 2
image_inputarray

List of images to send to the model

Default:
max_completion_tokensinteger

Maximum number of completion tokens to generate

Default: 4096
messagesarray

A JSON string representing a list of messages. For example: [{"role": "user", "content": "Hello, how are you?"}]. If provided, prompt and system_prompt are ignored.

Default:
presence_penaltynumber

Presence penalty parameter - positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.

Default: 0min: -2, max: 2
promptstring

The prompt to send to the model. Do not use if using messages.

system_promptstring

System prompt to set the assistant's behavior

temperaturenumber

Sampling temperature between 0 and 2

Default: 1min: 0, max: 2
top_pnumber

Nucleus sampling parameter - the model considers the results of the tokens with top_p probability mass. (0.1 means only the tokens comprising the top 10% probability mass are considered.)

Default: 1min: 0, max: 1
Version: 86d7f12d34e3Updated: 7/25/202630.5M runs