/TEXT/gpt-4o-mini
Chat
OpenAI

GPT-4o Mini API

Compact GPT-4o model for chat and routine text tasks.

Starting at

$0.18

input price per 1M tokens

3 token price options

GPT-4o Mini API pricing

OptionPrice per 1M tokens
input$0.18
output$0.72
cacheRead$0.09
1curl -X POST https://api.api-stock.com/api/v1/chat/completions \
2 -H "Authorization: Bearer $API_STOCK_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "model": "gpt-4o-mini",
6 "messages": [
7 {
8 "role": "user",
9 "content": "A cinematic shot of a city at dusk"
10 }
11 ]
12 }'

Frequently asked questions

How much does GPT-4o Mini cost?

GPT-4o Mini starts at $0.18 per 1M input tokens on API Stock. The final charge depends on the selected settings.

When was GPT-4o Mini released?

GPT-4o Mini was released on July 18, 2024 and is available through API Stock.

How do I get an API key for GPT-4o Mini?

Create an account and API key on API Stock, then fund your balance. The same key works with GPT-4o Mini and other catalog models.

How do I call the GPT-4o Mini API?

Send a POST request to https://api.api-stock.com/api/v1/chat/completions with your API key and the model "gpt-4o-mini", using the openai-compatible request format shown in the quick start above.

What happens if a GPT-4o Mini request fails?

API Stock automatically retries the request on a reserve provider. If every provider fails, the charge is refunded to your balance.

Can I use GPT-4o Mini with the same API key as other models?

Yes. Use your API Stock API key and balance for GPT-4o Mini and other catalog models.