All models
OpenAI Platform API
GPT-4.1 Preview
openai/gpt-4.1-preview
OpenAI Platform API catalog entry.
Preview pricing onlytext
Input / million tokens
$2.00
Output / million tokens
$8.00
Cached input / million tokens
$0.50
Billing notes
- Currency: USD. Platform service fee: 10% of confirmed usage.
- Supplier earns the remaining 90% after verified usage settles.
- Context window: 1.05M. Credits are a liability until consumed.
- This row is illustrative. Checkout and routing stay closed until authorization is confirmed.
Call examples
Replace the bearer token with a platform key that includes this model in its scope. Always send an Idempotency-Key.
curl https://api.example.com/v1/responses \
-H "Authorization: Bearer tas_live_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"model":"openai/gpt-4.1-preview","input":"Explain how token reservations protect concurrent budgets.","max_output_tokens":256,"stream":false}'
# Streaming
curl -N https://api.example.com/v1/responses \
-H "Authorization: Bearer tas_live_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-H "Accept: text/event-stream" \
-d '{"model":"openai/gpt-4.1-preview","input":"Explain how token reservations protect concurrent budgets.","max_output_tokens":256,"stream":true}'