← All Models
GPT-5.4 Mini
OpenAI's compact GPT-5.4 variant. Fast, affordable reasoning for everyday coding and chat tasks with 400K context.
Specifications
| Provider | OpenAI |
| Category | Text |
| Context window | 400K tokens |
Pricing (Starter tier)
75.00 credits / 1M input tokens
450.00 credits / 1M output tokens
Higher tiers get volume discounts. See tiers
Quick Start
curl -X POST https://query.genx.sh/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.4-mini",
"params": {
"prompt": "Write a TypeScript function that validates email addresses"
}
}'
Example Request Body
// POST /api/v1/generate
{
"model": "gpt-5.4-mini",
"params": {
"prompt": "Write a TypeScript function that validates email addresses"
}
}