techlist.io

Gpt 4o Mini

1 posts

OpenAI2024-07-173 min readCurated summary

GPT-4o mini: advancing cost-efficient intelligence

GPT-4o mini is OpenAI's most cost-efficient small model, designed to make AI intelligence far more affordable for building applications. It scores 82% on MMLU, outperforms GPT-3.5 Turbo and other small models on reasoning, math, coding, and multimodal benchmarks, and costs 15 cents per million input tokens and 60 cents per million output tokens. OpenAI also says it is the first model to apply its instruction hierarchy method, which improves resistance to jailbreaks and prompt injections. ## Pricing and Availability - Priced at $0.15 per 1M input tokens and $0.60 per 1M output tokens, over 60% cheaper than GPT-3.5 Turbo and an order of magnitude cheaper than previous frontier models - Available as a text and vision model through the Assistants API, Chat Completions API, and Batch API, with fine-tuning planned in the coming days - Context window of 128K tokens, up to 16K output tokens per request, and knowledge up to October 2023 - Replaces GPT-3.5 in ChatGPT for Free, Plus, and Team users, with Enterprise access the following week - Improved tokenizer shared with GPT-4o makes non-English text more cost-effective ## Benchmark Performance - **Reasoning:** 82.0% on MMLU, compared with 77.9% for Gemini Flash and 73.8% for Claude Haiku - **Math:** 87.0% on MGSM, compared with 75.5% for Gemini Flash and 71.7% for Claude Haiku - **Coding:** 87.2% on HumanEval, compared with 71.5% for Gemini Flash and 75.9% for Claude Haiku - **Multimodal reasoning:** 59.4% on MMMU, compared with 56.1% for Gemini Flash and 50.2% for Claude Haiku - Strong function calling and improved long-context performance over GPT-3.5 Turbo - An early version reportedly outperforms GPT-4T (01-25) on chat preferences in the LMSYS leaderboard ## Real-World Use Cases - Partners Ramp and Superhuman found it significantly better than GPT-3.5 Turbo at extracting structured data from receipts and generating high-quality email replies from thread history - Its low cost and latency suit workflows that chain or parallelize many model calls, process large contexts such as full codebases or long conversation histories, and power real-time customer support chatbots ## Safety Measures - Pre-training filters out hate speech, adult content, sites that mainly aggregate personal information, and spam - Post-training uses RLHF to align behavior with OpenAI's policies - Shares the same safety mitigations as GPT-4o, assessed through automated and human evaluations under OpenAI's Preparedness Framework - Over 70 external experts in areas such as social psychology and misinformation tested GPT-4o for risks, and their insights informed improvements to both models ## Cost Trajectory The cost per token of GPT-4o mini has dropped 99% since text-davinci-003, released in 2022. OpenAI says it intends to keep reducing costs while improving capabilities, with the goal of embedding models in more apps and websites.