Ship a Full-Stack App with One Prompt

Copy this prompt into your AI coding agent, or open it in one below.

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide

OpenAI

OpenAI: GPT-5.4 Mini

Access GPT-5.4 Mini from OpenAI using the Puter.js AI API.

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

puter.ai.chat("Explain quantum computing in simple terms", {
    model: "openai/gpt-5.4-mini"
}).then(response => {
    document.body.innerHTML = response.message.content;
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.chat("Explain quantum computing in simple terms", {
            model: "openai/gpt-5.4-mini"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>

Model Card

GPT-5.4 Mini is OpenAI's fast, efficient distillation of GPT-5.4, significantly improving 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 and features a 400k context window.

Context Window 400K

tokens

Max Output 128K

tokens

Input Cost $0.75

per million tokens

Output Cost $4.5

per million tokens

Input text, image

modalities

Tool Use Yes

 

Knowledge Cutoff Aug 31, 2025

 

Release Date Mar 17, 2026

 

Model Playground

Try GPT-5.4 Mini instantly in your browser.
This playground uses the Puter.js AI API — no API keys or setup required.

Chat openai/gpt-5.4-mini
OpenAI
Chat with GPT-5.4 Mini
Powered by Puter.js

Benchmarks

How GPT-5.4 Mini performs on standard evaluations.

Artificial Analysis
Intelligence Index
24.6
Better than 78% of tracked models
Artificial Analysis
Coding Index
56.1
Better than 62% of tracked models
BenchmarkScore
GPQA Diamond Graduate-level science Q&A
87.5%
Humanity's Last Exam Cross-domain reasoning
28.1%
SciCode Scientific programming
52.1%
IFBench Instruction following
73.3%
LCR Long-context reasoning
77.0%
Terminal-Bench Hard Agentic terminal tasks
52.3%
τ²-Bench Tool use / agents
83.3%

Scores sourced from Artificial Analysis.

Find other OpenAI models

Image

GPT Image 2.5 Flare

GPT Image 2.5 Flare is OpenAI's fast image generation and editing model in the GPT Image 2.5 family, released September 8, 2026 as the successor to GPT Image 2. It takes text and image input and returns generated or edited images. OpenAI reports it produces higher-quality output than GPT Image 2 at up to 50% lower latency, with improvements in lighting, texture, and consistency when editing from reference images. Within the GPT Image 2.5 family, Flare is the speed-oriented tier. OpenAI positions it as the default choice for creator and social content, product imagery, visual search, rapid prototyping, and high-volume generation, while the companion Sunburst model targets premium workflows that need tighter control over detailed edits. The API exposes quality levels low, medium, high, xhigh, max, and auto. At low quality and 1024x1024 resolution, an image costs $0.00588.

Image

GPT Image 2.5 Sunburst

GPT Image 2.5 Sunburst is an image generation and editing model from OpenAI, released September 8, 2026 as part of the GPT Image 2.5 family alongside a faster sibling model, GPT Image 2.5 Flare. It is built for precision editing workflows, with tighter control over edits, better subject preservation from reference images, and the ability to keep unrelated areas of an image unchanged across multiple edit turns. OpenAI positions it for production-ready campaign creative and polished product imagery, in contrast to Flare's focus on high-volume, everyday generation. Sunburst supports quality levels from low through max, plus auto. At low quality and 1024x1024 resolution, an image costs $0.00588. It runs slower than Flare, trading speed for editing precision.

Chat

GPT-6 Astra

GPT-6 Astra is OpenAI's most capable model, released in September 2026 as the successor to GPT-5.6 Sol. It targets complex reasoning, coding, computer use, research, and document creation, taking text and image input over a 1,050,000-token context window and supporting tool calling. OpenAI reports Astra saturates FrontierMath Tier 4 at 97.6% and ARC-AGI-3 at 99.9%, and cuts its hallucination rate from 92% to 51% at max effort versus GPT-5.6 Sol. It is the first OpenAI model to reach the Critical cybersecurity level under OpenAI's Preparedness Framework, scoring 100% on ExploitBench versus 78.5% for GPT-5.6 Sol. Independent testing from Artificial Analysis puts Astra's Intelligence Index at 61.2, roughly level with GPT-5.6 Sol and behind Claude Fable 5.1's 65.7. Input costs $5 per million tokens and output $25 per million, 2.5 times GPT-5.6 Sol's rate.

Frequently Asked Questions

How do I use GPT-5.4 Mini?

You can access GPT-5.4 Mini by OpenAI through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required. You can also use it with Python or cURL via Puter's OpenAI-compatible API.

Is GPT-5.4 Mini free?

GPT-5.4 Mini is free to integrate using the Puter.js AI API. With the User-Pays Model, you can add AI to your app for $0, since users cover their own AI usage through their Puter account.

What is the pricing for GPT-5.4 Mini?
GPT-5.4 Mini costs $0.75 per 1M input tokens and $4.5 per 1M output tokens.
Price per 1M tokens
Input$0.75
Output$4.5
Who created GPT-5.4 Mini?

GPT-5.4 Mini was created by OpenAI and released on Mar 17, 2026.

What is the context window of GPT-5.4 Mini?

GPT-5.4 Mini supports a context window of 400K tokens. For reference, that is roughly equivalent to 800 pages of text.

What is the max output length of GPT-5.4 Mini?

GPT-5.4 Mini can generate up to 128K tokens in a single response.

What is the knowledge cutoff of GPT-5.4 Mini?

GPT-5.4 Mini has a knowledge cutoff date of Aug 31, 2025. This means the model was trained on data available up to that date.

What types of input can GPT-5.4 Mini process?

GPT-5.4 Mini accepts the following input types: text, image. It produces: text.

Does GPT-5.4 Mini support tool use (function calling)?

Yes, GPT-5.4 Mini supports tool use (function calling), allowing it to interact with external tools, APIs, and data sources as part of its response flow.

How does GPT-5.4 Mini perform on benchmarks?

GPT-5.4 Mini scores 24.6 on the Artificial Analysis Intelligence Index, outperforming 78% of tracked models. On coding, it scores 56.1 (outperforms 62% of models).

Does it work with React / Vue / Vanilla JS / Node / etc.?

Yes — the GPT-5.4 Mini API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.

Add GPT-5.4 Mini to your app for free

Developers can integrate GPT-5.4 Mini for free using the Puter.js AI API.
With the User-Pays Model, each user covers their own AI usage instead of the developer.

Get started How pricing works