OpenAI modelsResponses API model

openai/gpt-4o-mini-2024-07-18

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 than othe...

Input⌘ / Ctrl + Enter

Try a prompt

16.4K max outputVision
Input $0.15/M · Output $0.60/M · Cache read $0.07/M
OutputReady

Your response will appear here

Choose an example or write a prompt, then click Run.

API details and access

Model Details

ProviderOpenAI
TypeLlm
Model IDopenai/gpt-4o-mini-2024-07-18

Capabilities

InputTextImage
OutputText
Context-
Max Output16,384
VisionSupported
Function CallingSupported

Access details

Responses API
Base URLhttps://api.sandbase.ai
API Endpoint/v1/responses
{
  "model": "openai/gpt-4o-mini-2024-07-18",
  "instructions": "You are a helpful assistant.",
  "input": "Hello",
  "max_output_tokens": 512
}

Pricing

Input$0.15 / 1M tokens
Output$0.60 / 1M tokens
Cache read$0.07 / 1M tokens

Related Models

openai/gpt-3.5-turboGPT-3.5 Turbo is OpenAI's fastest model. It can understand and generate natural language or code, and is optimized for chat and traditional completion tasks. Training data up to Sep 2021.openai/gpt-3.5-turbo-0613GPT-3.5 Turbo is OpenAI's fastest model. It can understand and generate natural language or code, and is optimized for chat and traditional completion tasks. Training data up to Sep 2021.openai/gpt-3.5-turbo-16kThis model offers four times the context length of gpt-3.5-turbo, allowing it to support approximately 20 pages of text in a single request at a higher cost. Training data: up to Sep 2021.openai/gpt-3.5-turbo-instructThis model is a variant of GPT-3.5 Turbo tuned for instructional prompts and omitting chat-related optimizations. Training data: up to Sep 2021.openai/gpt-4OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning capabilities. Training data: up to Sep 2021.openai/gpt-4-0314GPT-4-0314 is the first version of GPT-4 released, with a context length of 8,192 tokens, and was supported until June 14. Training data: up to Sep 2021.openai/gpt-4-1106-previewThe latest GPT-4 Turbo model with vision capabilities. Vision requests can now use JSON mode and function calling. Training data: up to April 2023.openai/gpt-4-turboThe latest GPT-4 Turbo model with vision capabilities. Vision requests can now use JSON mode and function calling. Training data: up to December 2023.