by OpenAI
Lightweight, high-performance model with million-token context and near-flagship-level encoding and image understanding capabilities, while reducing costs by 83%. It is suitable for rapid development and small to medium-sized applications. The automatic caching mechanism provides a 75% cost reduction on cache hits.
Lightweight, high-performance model with million-token context and near-flagship-level encoding and image understanding capabilities, while reducing costs by 83%. It is suitable for rapid development and small to medium-sized applications. The automatic caching mechanism provides a 75% cost reduction on cache hits.
gpt-4.1-mini has a 1,047,576 token context window.
On AIHubMix, gpt-4.1-mini costs $0.4 per million input tokens and $1.6 per million output tokens. Cached input reads are billed at $0.1 per million tokens.
gpt-4.1-mini accepts text and image input.
gpt-4.1-mini supports tool calling, function calling, structured outputs and long context. Per-protocol parameter support is listed in the capability table on this page.
gpt-4.1-mini is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to gpt-4.1-mini — no other code changes needed.
gpt-4.1-mini is developed by OpenAI. AIHubMix aggregates it alongside models from other providers behind one API and one bill.
Free version: gpt-4.1-mini-free
GPT-5.6 Luna is designed for cost-sensitive, high-volume workloads. It roughly…
GPT‑5.6 Sol sets a new standard for both intelligence and efficiency, achieving…
GPT-5.6 Terra is designed for workloads that balance intelligence and cost. It roughly…
GPT-4o Transcribe Diarize is an automatic speech recognition (ASR) model with built-in…
The gpt-audio model is OpenAI's first officially released (generally available) audio…
GPT-image-2 is OpenAI's latest cutting-edge image generation model. Key value adds…
Use gpt-4.1-mini via the AIHubMix unified API — one interface for every major LLM.