Skip to main content
POST
gpt-5.4-nano: Responses
OpenAI’s GPT-5.4 nano is the most cost-efficient model in the GPT-5.4 family, served on ZeroGPU for high-volume and latency-sensitive workloads such as classification, extraction, routing, and sub-agent tasks. It supports function calling and structured outputs across a 400,000-token context window.
References: TermsPrivacy

Authorizations

x-api-key
string
header
required

Headers

x-project-id
string

Optional project identifier. Scopes the request to a specific project when provided.

Body

application/json
model
string
default:gpt-5.4-nano
required

Model identifier (fixed for this playground). Use request examples to change use cases.

Allowed value: "gpt-5.4-nano"
Example:

"gpt-5.4-nano"

input
string<textarea>
required

Multi-line text or document content to send to the model.

Required string length: 1 - 131072
instructions
string
max_tokens
integer

Maximum number of tokens to generate in the response.

Required range: x >= 1
Example:

800

metadata
object

Response

Success

The response is of type object.