GPT-4o-mini
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 other recent frontier models, and more than 60% cheaper than [GPT-3.5 Turbo](/models/openai/gpt-3.5-turbo). It maintains SOTA intelligence, while being significantly more cost-effective. GPT-4o mini achieves an 82% score on MMLU and presently ranks higher than GPT-4 on chat preferences [common leaderboards](https://arena.lmsys.org/). Check out the [launch announcement](https://openai.com/index/gpt-4o-mini-advancing-cost-efficient-intelligence/) to learn more. #multimodal
Specifications
Modalities
Supported Parameters
Max Output Tokens
16,384Data policy
- Prompt retention
- Unknown — we could not confirm
- Training
- Not used for training
"Unknown" does not mean "safe". It means we could not confirm it.
Whether a provider trains on prompts is a declared value from our terms with them. Retention is determined from the upstream listing for every host this model can reach. Neither is guessed.
Measured performance
Measured through FastMetal's own gateway over the last 30 days (661 first-response samples).
Throughput is sampled once a day: the median of 27 observations over the last 30 days.
Time to first response is measured to the first streamed chunk; throughput counts all output tokens, including reasoning tokens. These are observations, not a performance guarantee.
Code Examples
curl https://api.fastmetal.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "gpt-4o-mini",
"messages": [{"role": "user", "content": "Hello!"}]
}'How GPT-4o-mini actually answers
Real responses to our standard prompts, recorded on FastMetal.
Count the number of 'r's in 'strawberry'
Count the number of 'r's in 'strawberry'. Explain your reasoning step by step.
Debug This Error
I'm getting the following error in my Node.js application: TypeError: Cannot read properties of undefined (reading 'map') at UserList (/app/components/UserList.js:12:25) at renderWithHooks (/app/node_modules/rea…
Code Review
Please review the following Python function and suggest improvements for readability, performance, and best practices: def get_data(url, retries=3): import requests import time for i in range(retries):…
Frequently asked questions
- How much does the GPT-4o-mini API cost?
- On FastMetal, GPT-4o-mini is billed per token: $0.1583 per 1M input tokens and $0.633 per 1M output tokens on a US-dollar account, before tax. Usage is drawn from a prepaid balance; there is no subscription or monthly fee.
- Can I call GPT-4o-mini with the OpenAI SDK?
- Yes. Point base_url at https://api.fastmetal.ai/v1 and pass "gpt-4o-mini" as the model; existing OpenAI-style code works unchanged, including streaming, tool calls and structured output.
- What is the context window of GPT-4o-mini?
- 128,000 tokens, shared between the prompt and the response.
- What do I need to try GPT-4o-mini?
- Create an account and add credit; the model is then available both in the browser chat and over the API. There is no contract or minimum spend.
Try GPT-4o-mini right now
GPT-4o-mini is available on FastMetal through one API key. Start in the browser, or call it from the OpenAI SDK.