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.2 Chat

openai/gpt-5.2-chat

Try GPT-5.2 Chat 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-5.2-chat"
}).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.2-chat"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>

Model Card

GPT-5.2 Chat is the ChatGPT-optimized variant of GPT-5.2 with an August 2025 knowledge cutoff. It provides conversational interactions with the latest world knowledge before requiring web search.

Context Window 128K

tokens

Max Output 32K

tokens

Input Cost $1.75

per million tokens

Output Cost $14

per million tokens

Input file, image, text

modalities

Tool Use Yes

 

Knowledge Cutoff Aug 31, 2025

 

Release Date Dec 10, 2025

 

Output Speed 70

tokens / sec

Latency 1.61s

time to first token

Try GPT-5.2 Chat for free

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

Chat openai/gpt-5.2-chat
OpenAI
Chat with GPT-5.2 Chat
Powered by Puter.js

Benchmarks

How GPT-5.2 Chat performs on standard evaluations.

BenchmarkScore
GPQA Diamond Graduate-level science Q&A
71.2%
Humanity's Last Exam Cross-domain reasoning
8.0%
LiveCodeBench Recent coding problems
66.9%
AIME 2025 Advanced math exam
51.0%
IFBench Instruction following
47.4%
LCR Long-context reasoning
45.7%
Terminal-Bench Hard Agentic terminal tasks
31.8%
τ²-Bench Tool use / agents
46.5%

Scores sourced from Artificial Analysis.

Find other OpenAI models →

Chat

GPT-6.2 Astra

GPT-6.2 Astra is OpenAI's most capable GPT-6 model, built for long, multi-step work in coding, professional tasks, and scientific research. It accepts text and image input, returns text, and supports function calling, structured outputs, and a 1,050,000-token context window. OpenAI reports that it scores 5.2 points higher than GPT-6 Astra on Agents' Last Exam at under one-third the cost per task. It also scores 9 points higher on Terminal-Bench Science and 6.2 points higher on GDPval v2, using 22% fewer output tokens. Artificial Analysis gives it 62 on its Intelligence Index, behind Claude Fable 5.2 (65) and ahead of Gemini 4 Carbon (60). At $8 input and $40 output per million tokens, it costs 20% less than GPT-6 Astra. GPT-6.2 Sol ($2/$10) is OpenAI's lower-cost option and comes close to Astra on many tasks.

Chat

GPT-6.2 Sol

GPT-6.2 Sol is OpenAI's efficient, general-purpose model for everyday work, released alongside the higher-end GPT-6.2 Astra. It replaces GPT-6.1 Sol at the same price of $2 per million input tokens and $10 per million output tokens, with cached input at $0.10. OpenAI positions it for multistep agentic workflows, clear and natural writing, and both technical and non-technical tasks. It accepts text and image input, supports tool calling, and offers a 1.05M-token context window with up to 128K output tokens. On Cognition's FrontierCode 2.0, Sol scores within 0.5 points of Astra at about one-fifth the cost, according to OpenAI. On the Vals Index it ranks 1.6 points behind Astra, at less than a third of Astra's cost per task. Choose it when you want most of Astra's coding and agent performance at a lower cost per task.

Image

GPT Image 2.6 Flare

GPT Image 2.6 Flare is OpenAI's speed-oriented image generation and editing model, released November 4, 2026 in the GPT Image 2.6 family alongside GPT Image 2.6 Sunburst. OpenAI says both 2.6 models generate images 50% faster than before, and Flare can produce an image in as little as six seconds at low quality. OpenAI positions Flare for posters, product imagery, and other layout-focused work. The API supports image markup, so requests can mark specific areas to change, and a complexity setting that controls how much planning the model does. OpenAI recommends low complexity for most quick edits and medium or high for scenes with many elements or constraints. At low quality and 1024x1024 resolution, an image costs $0.0247.

Frequently Asked Questions

How do I use GPT-5.2 Chat?

You can access GPT-5.2 Chat 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-5.2 Chat for free?

GPT-5.2 Chat 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-5.2 Chat API free for developers?

GPT-5.2 Chat 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.2 Chat?
GPT-5.2 Chat costs $1.75 per 1M input tokens and $14 per 1M output tokens.
Price per 1M tokens
Input$1.75
Output$14
Who created GPT-5.2 Chat?

GPT-5.2 Chat was created by OpenAI and released on Dec 10, 2025.

What is the context window of GPT-5.2 Chat?

GPT-5.2 Chat supports a context window of 128K tokens. For reference, that is roughly equivalent to 256 pages of text.

What is the max output length of GPT-5.2 Chat?

GPT-5.2 Chat can generate up to 32K tokens in a single response.

What is the knowledge cutoff of GPT-5.2 Chat?

GPT-5.2 Chat 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.2 Chat process?

GPT-5.2 Chat accepts the following input types: file, image, text. It produces: text.

Does GPT-5.2 Chat support tool use (function calling)?

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

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

Yes — the GPT-5.2 Chat 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.2 Chat to your app for free

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