Blog

GPT-5.4 Mini and Nano Are Now Available in Puter.js

On this page

Puter.js now supports GPT-5.4 Mini and GPT-5.4 Nano, the latest small models from OpenAI that bring GPT-5.4-level capabilities to faster, more efficient form factors. Add them to your application for free without any API keys.

What are GPT-5.4 Mini and Nano?

GPT-5.4 Mini is a fast, efficient distillation of GPT-5.4 that significantly improves over GPT-5 Mini across coding, reasoning, multimodal understanding, and tool use while running 2x faster. It approaches GPT-5.4-level performance on several benchmarks — scoring 54.4% on SWE-Bench Pro (vs 57.7% for the full GPT-5.4) and 72.1% on OSWorld-Verified. Both models feature a 400K context window.

GPT-5.4 Nano is the smallest and cheapest model in the GPT-5.4 family, ideal for high-volume, low-latency workloads. It outperforms GPT-5 Mini on SWE-Bench Pro (52.4% vs 45.7%) and excels at classification, data extraction, ranking, and coding sub-agent tasks — making it perfect for multi-model architectures where speed and cost matter most.

GPT-5.4 Mini GPT-5.4 Nano
SWE-Bench Pro 54.4% 52.4%
Context Window 400K 400K
Input Cost $0.75 / 1M tokens $0.20 / 1M tokens
Output Cost $4.50 / 1M tokens $1.25 / 1M tokens

Examples

Basic Chat with GPT-5.4 Mini

puter.ai.chat("Explain how gradient descent works in simple terms",
    { model: "gpt-5.4-mini" }
)

Coding with GPT-5.4 Mini

puter.ai.chat("Write a Python function that finds the longest common subsequence of two strings",
    { model: "gpt-5.4-mini" }
)

Fast Classification with GPT-5.4 Nano

puter.ai.chat("Classify the following text as positive, negative, or neutral: 'The product works fine but shipping was slow'",
    { model: "gpt-5.4-nano" }
)

Data Extraction with GPT-5.4 Nano

puter.ai.chat("Extract all names, dates, and locations from this text: 'John met Sarah in Paris on March 15th to discuss the Berlin conference scheduled for April.'",
    { model: "gpt-5.4-nano" }
)

Get Started Now

Just add one library to your project:

// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

Or add one script tag to your HTML:

<script src="https://js.puter.com/v2/"></script>

No API keys or infrastructure setup needed. Start building with GPT-5.4 Mini and Nano immediately.

Learn more:

Free, Serverless AI and Cloud

Start creating powerful web applications with Puter.js in seconds!

Get Started Now

Read the Docs Try the Playground