GPT-4o-mini
Released by OpenAI in 2024, GPT-4o-mini is an image-generation model. 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...
by OpenAI · 128K token context window
Best for
- image generation from text
- creative design and ideation
Ways to use GPT-4o-mini in osFoundry
Connect with your own key (BYOK)
Open the key dialog and paste your OpenAI API key. osFoundry discovers GPT-4o-mini automatically — assign it to a Maestro role (router, direct, orchestrator, or fallback) in the Pipeline tab and it is live in every chat. Your key, your provider account — no token markup.
Use it in a Room App
Room Apps declare AI features in their manifest, then call them with invokeAI:
import { invokeAI } from '@osfoundry/app-sdk'
// 'summarize' is an AI feature declared in your app manifest.
const result = await invokeAI('summarize', userText)
Call it from your own apps
Once a model is wired into your workspace you can host it as an API and reach it from your own services, scripts, or CI — outside osFoundry.
GPT-4o-mini vs similar models
Licence
Hosted — usage subject to provider terms — Hosted-only model — usage governed by the provider's API terms. Bring your own provider key.
No weights distributed; usage subject to provider terms.
Frequently asked about GPT-4o-mini
How much does GPT-4o-mini cost?
GPT-4o-mini is metered at $ 0.150 /1M for input, and $ 0.600 /1M for output. Bring your own OpenAI API key — osFoundry passes through provider pricing without markup.
Can I use GPT-4o-mini commercially?
Commercial use is allowed with conditions. Hosted-only model — usage governed by the provider's API terms. Bring your own provider key. No weights distributed; usage subject to provider terms.
What is the context window of GPT-4o-mini?
GPT-4o-mini supports a 128K token context window.
Can I run GPT-4o-mini locally?
No — GPT-4o-mini is hosted only and accessed via the OpenAI API.
What is GPT-4o-mini best at?
GPT-4o-mini is well-suited to image generation from text, creative design and ideation.
How do I use GPT-4o-mini in osFoundry?
Paste your OpenAI API key in the key dialog (or deploy the open weights for self-hostable models), assign GPT-4o-mini to a Maestro role in the Pipeline tab, then use it in chat, Room Apps via invokeAI, or your own apps.
Published by OpenAI on July 18, 2024. Source: https://openrouter.ai/openai/gpt-4o-mini