unitysvc
O

gpt-4.1-mini

OPENAI · LANGUAGE MODELS · 1M CTX

Mid-tier OpenAI model. Solid reasoning, multimodal input, broad tool support.

TOOLSVISIONBYOK
$0.10 / $0.50 per 1M in/out

Try it — chat completion

live
REQUEST
curl https://gw.unitysvc.com/v1/chat/completions \
  -H "Authorization: Bearer $UNITYSVC_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4.1-mini",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "stream": false
  }'

Parameters

temperature
0.0 – 2.0 · default 1.0
max_tokens
1 – 8192
stream
boolean · default false
tools
function[] · optional
user
string · optional

Pricing

Input
$0.10 / 1M
Output
$0.50 / 1M
Cached input
$0.03 / 1M
Streaming
no surcharge

Calculator

estimate
ESTIMATED$30.63 /mo