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-4.1 Mini

openai/gpt-4.1-mini

Try GPT-4.1 Mini for free in your browser, and add it to your app for free with Puter.js AI API.

Try it free Add to your app
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.chat("Explain quantum computing in simple terms", {
    model: "openai/gpt-4.1-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-4.1-mini"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>

Model Card

GPT-4.1 Mini is a smaller, faster version of GPT-4.1 that matches or exceeds GPT-4o performance while reducing latency by nearly half and cost by 83%. It features a 1M token context window and strong coding capabilities.

Context Window 1M

tokens

Max Output 33K

tokens

Input Cost $0.4

per million tokens

Output Cost $1.6

per million tokens

Input text, image

modalities

Tool Use Yes

 

Knowledge Cutoff Apr 2024

 

Release Date Apr 14, 2025

 

Try GPT-4.1 Mini for free

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

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

Benchmarks

How GPT-4.1 Mini performs on standard evaluations.

Artificial Analysis
Intelligence Index
10.2
Better than 42% of tracked models
Artificial Analysis
Coding Index
20.2
Better than 21% of tracked models
Artificial Analysis
Math Index
46.3
Better than 44% of tracked models
BenchmarkScore
GPQA Diamond Graduate-level science Q&A
66.4%
Humanity's Last Exam Cross-domain reasoning
5.0%
LiveCodeBench Recent coding problems
48.3%
MATH-500 Competition math
92.5%
AIME 2024 Advanced math exam
43.0%
AIME 2025 Advanced math exam
46.3%
IFBench Instruction following
38.3%
LCR Long-context reasoning
44.0%
Terminal-Bench Hard Agentic terminal tasks
7.6%
τ²-Bench Tool use / agents
52.9%

Scores sourced from Artificial Analysis.

Find other OpenAI models →

Chat

GPT-6.1 Sol

GPT-6.1 Sol is OpenAI's mid-tier model in the GPT-6 family, released September 29, 2026 as an update to GPT-6 Sol. It sits below the flagship GPT-6 Astra, takes text and image input, supports tool calling, and has a 1,050,000-token context window with 128,000 max output tokens. Pricing is unchanged from GPT-6 Sol at $2 per million input tokens and $10 per million output tokens, while scores are higher. It reaches 75.2% on DeepSWE 1.1 (68.8% for GPT-6 Sol), 71.4% on OSWorld 2.0 (64.4%), and 32.0% on GDP.pdf (28.0%). Its factual error rate at low reasoning effort fell from 11.4% to 7.7%. In one third-party comparison table, GPT-6 Astra scores 74.8% on DeepSWE and 73.5% on OSWorld at roughly five times the price. GPT-6.1 Sol suits coding agents, computer use, document question answering, and workflow automation where cost per task matters.

Chat

GPT-6.1 Sol Pro

GPT-6.1 Sol Pro is OpenAI's higher-effort configuration of GPT-6.1 Sol, the mid-tier model in the GPT-6 family. Based on how OpenAI handled GPT-6 Sol Pro, it is likely the same underlying model with reasoning mode set to pro, though OpenAI's documentation for the 6.1 release does not confirm this. It has a 1,050,000-token context window and 128,000 max output tokens, at $2 per million input tokens and $10 per million output tokens. Supported parameters include reasoning effort, tools, tool choice, structured response formats, seed, and streaming. Sol Pro is intended for complex requests such as agentic coding, computer use, and workflow automation, where answer quality matters more than latency. We found no published benchmarks for the Pro configuration itself.

Chat

GPT-6 Sol

GPT-6 Sol is OpenAI's mid-tier model in the GPT-6 family, released September 22, 2026 as a faster, cheaper counterpart to the flagship GPT-6 Astra, built on the same training methods. OpenAI positions it for complex development work that developers run repeatedly, such as building features, reviewing code, debugging, and analyzing data. OpenAI reports Sol scoring 68.8% on the DeepSWE 1.1 coding benchmark, 60.5% on OSWorld 2.0 for computer use at xhigh effort, and 56.4% on Agents' Last Exam, a test of professional work across 55 sub-industries. The company says Sol makes about half as many factual errors as GPT-5.6 Sol, approaching Astra-level reliability at a lower cost. At $2 per million input tokens and $10 per million output tokens, half of GPT-5.6 Sol's rate, Sol matches Claude Sonnet 5's standard pricing, though no published benchmark compares the two models directly.

Frequently Asked Questions

How do I use GPT-4.1 Mini?

You can access GPT-4.1 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.

Can I try GPT-4.1 Mini for free?

GPT-4.1 Mini is free to try with a Puter account. Every account includes a free AI allowance, and you can chat with it in the playground on this page. You can upgrade your account anytime for a larger allowance.

Is the GPT-4.1 Mini API free for developers?

GPT-4.1 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-4.1 Mini?
GPT-4.1 Mini costs $0.4 per 1M input tokens and $1.6 per 1M output tokens.
Price per 1M tokens
Input$0.4
Output$1.6
Who created GPT-4.1 Mini?

GPT-4.1 Mini was created by OpenAI and released on Apr 14, 2025.

What is the context window of GPT-4.1 Mini?

GPT-4.1 Mini supports a context window of 1M tokens. For reference, that is roughly equivalent to 2,095 pages of text.

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

GPT-4.1 Mini can generate up to 33K tokens in a single response.

What is the knowledge cutoff of GPT-4.1 Mini?

GPT-4.1 Mini has a knowledge cutoff date of Apr 2024. This means the model was trained on data available up to that date.

What types of input can GPT-4.1 Mini process?

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

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

Yes, GPT-4.1 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-4.1 Mini perform on benchmarks?

GPT-4.1 Mini scores 10.2 on the Artificial Analysis Intelligence Index, outperforming 42% of tracked models. On coding, it scores 20.2 (outperforms 21% of models). On math, it scores 46.3 (outperforms 44% of models).

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

Yes — the GPT-4.1 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-4.1 Mini to your app for free

Developers can integrate GPT-4.1 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