# GPT-4o mini > OpenAI's small GPT-4o model for fast, lightweight tasks with text and image input. ## Key facts - Model author: OpenAI - Input: $0.15 per 1M tokens - Output: $0.60 per 1M tokens - Cached input: $0.075 per 1M tokens - Context window: 128,000 tokens - Maximum output: 16,384 tokens - Input modalities: image, text - Output modalities: text - Capabilities: fine_tuning, structured_output, tools, vision - Released: 2024-07-18 - Knowledge cutoff: Oct 01, 2023 - Model IDs: `openai/gpt-4o-mini` - Model page: https://www.realrelay.ai/model/openai/gpt-4o-mini ## Overview GPT-4o mini is OpenAI's small model for fast, lightweight and focused tasks. It accepts text and image input, supports tool calling and structured output, and returns text. It has a context window of 128,000 tokens and was released on July 18, 2024. GPT-4o mini has a context window of 128,000 tokens and can generate up to 16,384 output tokens. It accepts text and image input and returns text output. Its knowledge cutoff is October 1, 2023, and it was released on July 18, 2024. ## Capabilities GPT-4o mini supports tool calling, structured output and image input, and it returns text. It can generate up to 16,384 output tokens per request. Its knowledge cutoff is October 1, 2023. Cached input reads have their own lower price, which helps when many requests share the same long prompt. ## Pricing GPT-4o mini is billed per token: $0.15 per 1M input tokens and $0.60 per 1M output tokens. Cached input reads cost $0.075 per 1M tokens. GPT-4o mini is available through RealRelay's OpenAI-compatible API. ## Use cases Use GPT-4o mini for high-volume, focused jobs such as short answers, classification-style labeling of text, or extracting fields from an image into structured output. Its tool calling suits lightweight assistants that call a few functions per request, where fast, low-priced replies matter more than long reasoning. Up to 16,384 output tokens are available per reply. ## Call it OpenAI-compatible chat completions: ```bash curl https://www.realrelay.ai/v1/chat/completions \ -H "Authorization: Bearer $REALRELAY_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "openai/gpt-4o-mini", "messages": [{"role": "user", "content": "Hello"}]}' ``` ## FAQ ### What is GPT-4o mini? GPT-4o mini is OpenAI's small model for fast, lightweight and focused tasks. It accepts text and image input, supports tool calling and structured output, and returns text. It has a context window of 128,000 tokens and was released on July 18, 2024. ### How much does GPT-4o mini cost? GPT-4o mini costs $0.15 per 1M input tokens and $0.60 per 1M output tokens, with cached input reads at $0.075 per 1M tokens. ### What is the context window of GPT-4o mini? GPT-4o mini has a context window of 128,000 tokens and can generate up to 16,384 output tokens. ### What inputs and outputs does GPT-4o mini support? GPT-4o mini accepts text and image input and returns text output. ### Which features does GPT-4o mini support? GPT-4o mini supports tool calling, structured output and image input. ### When was GPT-4o mini released? GPT-4o mini was released on July 18, 2024. Its knowledge cutoff is October 1, 2023. ### How do I call GPT-4o mini through the API? To call GPT-4o mini, send a request to RealRelay's OpenAI-compatible API with the model ID openai/gpt-4o-mini.