You're looking at a specific version of this model. Jump to the model overview.

openai /gpt-4.1-mini:4579ccfd

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
The prompt to send to the model
image_input
array
List of images to send to the model
system_prompt
string
You are a helpful assistant.
System prompt to set the assistant's behavior
temperature
number
1

Max: 2

Sampling temperature between 0 and 2
max_completion_tokens
integer
Maximum number of completion tokens to generate
top_p
number

Max: 1

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.)
frequency_penalty
number

Min: -2

Max: 2

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

Min: -2

Max: 2

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.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'title': 'Output', 'type': 'string'}