GPT 4o Mini
API model name: gpt-4o-mini
GPT 4o Mini is OpenAI's chat model, served on the Api.Airforce unified API. It has a 128K-token context window. Beyond text, it accepts image as input. Capabilities include Vision, Tool calling, Documents, Prompt caching. It is priced at $0.08 per million input tokens and $0.33 per million output tokens. That is below the provider's $0.15 official input rate. Knowledge cutoff: 2023-10. Access it through the OpenAI-compatible API with one key, alongside 100+ other models on Api.Airforce.
Pricing
Api.Airforce price vs. the provider's official rate.-45%
Specifications
- Provider
- OpenAI
- Type
- chat model
- Context window
- 128K tokens
- Max output
- 16K tokens
- Knowledge cutoff
- 2023-10
- Input
- text, image
- Output
- text
- Prompt caching
- Supported
Capabilities
Benchmarks
Independent evaluations and measured speed from Artificial Analysis.
GPT-4o mini
Source: Benchmark data by Artificial Analysis (artificialanalysis.ai)
What is GPT 4o Mini used for?
- Chatbots & assistants — conversational AI, drafting, summarizing and Q&A.
- Image understanding — analyze photos, screenshots, charts and scanned documents.
- Agents & automation — function calling and tool use for multi-step workflows.
- Document analysis — summarize and answer questions across long files.
- Real-time experiences — stream tokens for responsive chat and apps.
GPT 4o Mini vs. similar models
| Model | Intelligence | Context | Input / 1M | Output / 1M |
|---|---|---|---|---|
| GPT 4o Mini | 6.7 | 128K | $0.08 | $0.33 |
| Babbage 002 | — | — | $0.34 | $0.34 |
| Chatgpt 4o Latest | — | — | $2.19 | $7.50 |
| Codex Auto Review | — | — | $0.33 | $1.99 |
Prices are Api.Airforce pay-as-you-go rates per 1M tokens. Context is the maximum input length.
Related models
GPT 4o Mini — frequently asked questions
- How much does GPT 4o Mini cost?
- GPT 4o Mini is billed pay-as-you-go at $0.08 per 1M input tokens and $0.33 per 1M output tokens. There is no subscription — you only pay for what you use.
- What is the context window of GPT 4o Mini?
- GPT 4o Mini supports a context window of up to 128K tokens. It can return up to 16K tokens in a single response.
- What can GPT 4o Mini do?
- GPT 4o Mini supports Vision, Tool calling, Documents, Prompt caching.
- Is GPT 4o Mini free to use?
- GPT 4o Mini is a paid, pay-as-you-go model — no subscription, you are only charged for usage.
- How do I use GPT 4o Mini via the API?
- GPT 4o Mini is OpenAI-compatible. Point any OpenAI SDK at https://api.airforce/v1 and pass the model ID gpt-4o-mini with your Api.Airforce API key.
- Who makes GPT 4o Mini?
- GPT 4o Mini is OpenAI's chat model, served through the unified Api.Airforce gateway alongside 100+ other models.
Use GPT 4o Mini via the API
OpenAI-compatible — point any OpenAI SDK at https://api.airforce/v1 and pass gpt-4o-mini as the model.
curl https://api.airforce/v1/chat/completions \
-H "Authorization: Bearer $AIRFORCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4o-mini",
"messages": [{ "role": "user", "content": "Hello!" }]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.airforce/v1", api_key="$AIRFORCE_API_KEY")
r = client.chat.completions.create(
model="gpt-4o-mini",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.airforce/v1", apiKey: process.env.AIRFORCE_API_KEY });
const r = await client.chat.completions.create({
model: "gpt-4o-mini",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(r.choices[0].message.content);