AIWorkflow AutomationOperationsn8n

Prompt Works in ChatGPT but Not Through the API

A prompt that works in ChatGPT or the Claude app usually does worse through the API because the app adds inputs an API call never receives: a long product system prompt with today's date, saved memory and custom instructions, files and connected apps, web search, and a model and thinking level picked from a menu rather than a model string. As of November 2026 none of these carry over, so the fix is to retest the prompt in an unpersonalized chat, list what the good answer depended on, and send each of those inputs explicitly in the API request.

Alexey YushkinFounder, GENERAL INFORMATICS2 min read

A prompt that works in ChatGPT or the Claude app and falls flat through the API is almost never a weaker model. The app sends far more than your message: a product system prompt (about 3,900 words for Claude Sonnet 5.5 on claude.ai as of November 9, 2026), today's date, your saved memory and custom instructions, sometimes files, connected apps, and web search, all on a model and thinking level chosen from a menu. Your n8n node or Make module sends only the text you give it. Find what the good answer depended on, then send each of those inputs explicitly.

The forum threads that rank for this question mostly say "ChatGPT has a hidden system prompt, set your temperature." The first half is true and incomplete. The second half is out of date: on OpenAI's current reasoning models you cannot set temperature at all.

What does the app send that your API call does not?

Six inputs, and each one has a direct replacement in a workflow. This is the map we work from when a client says "it worked when I tried it in ChatGPT."

Hidden inputWhere it lives in the app (November 2026)What your API call getsHow to rebuild it
Product system promptClaude.ai publishes one version per model; the Sonnet 5.5 prompt covers formatting, tone, and its knowledge cutoff. OpenAI does not publish ChatGPT's.Nothing, unless you write a system or developer message.Write the few instructions your task actually needs.
Today's dateThe published Claude.ai prompt carries a date placeholder filled in per conversation.No date. The model guesses from training data.Pass the date and the business timezone in every call.
Memory and personal contextChatGPT can draw on past chats, saved memories, custom instructions, files in Library or Space, and connected apps such as Gmail.None. Each call starts empty.Put the facts the answer needs into the prompt or retrieved context.
Web search and filesChatGPT memory can shape the search query itself. Claude.ai chats with web search use prompt versions Anthropic does not publish.No tools unless you enable them.Enable the tool, or fetch the content in the workflow and pass it in.
Model and thinking levelChatGPT's "GPT-6" menu entry runs GPT-6 Sol from Instant to Extra High, GPT-6 Astra at Pro, and GPT-5.6 Luna on Free and Go.Exactly the model string and settings you send, or the model's defaults.Choose the model and reasoning effort on purpose and pin them.
Answer renderingChatGPT's Intelligent UI can mix text with visuals and interactive elements.Raw text, usually markdown.Ask for the exact format the next step parses.

The date row bites more often than people expect. We wrote up the details in why the AI gets dates wrong, and the short version is that "next Tuesday" means nothing to a model that does not know what today is. The search row has its own trap, covered in why the AI summarizes a link it never opened.

The model name in ChatGPT is a menu, not a model

When you pick "GPT-6" in ChatGPT, you are not choosing something you can type into an API request. OpenAI's help page for the current lineup says GPT-6 Sol powers Instant, Medium, High, and Extra High, while Pro uses GPT-6 Pro powered by GPT-6 Astra. Free and Go accounts get GPT-5.6 Luna. And if you reach a Thinking limit, the same page says ChatGPT may continue with another available model. The answer you screenshotted may not have come from the model you think.

The API has a chat-latest model that points to the latest Instant model used in ChatGPT, which sounds like the fix. It is not. OpenAI says the snapshot behind it is updated regularly and recommends GPT-6.2 Astra for production. A business workflow should not depend on an alias whose behavior changes without a version bump.

This is also where the old temperature advice falls apart. OpenAI's latest-model guide tells you to omit temperature, top_p, and top_logprobs for gpt-6.2-astra on the Responses API. The setting that matters now is reasoning.effort, and a model that thought at "High" in the app will behave differently at whatever default your node sends. We covered the full set of settings that change meaning between models in changed the AI model and now the API returns a 400.

The answer you liked may have come from your own memory

Here is the pattern we see most, as an illustrative example. An owner pastes a customer complaint into ChatGPT and asks for a reply. The draft is excellent: it signs off with the company name, mentions the 30-day return window, and offers a callback during business hours. They paste the same prompt into an automation, and the API reply is generic, invents a 14-day window, and signs off "Best regards, [Your Name]."

Nothing went wrong with the model. Months earlier the owner had told ChatGPT the company name, the return policy, and the hours, and memory carried those facts into every chat since. The prompt never contained them. The API was asked a harder question than ChatGPT was, because it was missing the answer key.

OpenAI's memory documentation is candid about how hard this is to see. Sources may appear under a personalized answer, but they "may not show every factor that shaped a response." So you cannot reliably read the gap off the screen. You have to remove the personalization and look again.

Run the comparison that isolates the gap

Five steps, in this order. The first one is the one nobody does.

  1. Rerun the prompt with personalization off. In ChatGPT, start a temporary chat and choose Unpersonalized before the first message, since OpenAI says that choice cannot be changed after the conversation starts. Turn off web search for this test. If the answer gets worse here, the app's quality was coming from your memory, not your prompt.
  2. List what the good answer used that the prompt did not contain. Facts about the business, today's date, a format, a length, a tone. Write them down as plain sentences.
  3. Put those into the request. A system or developer message with the business facts, the date and timezone, and the output format. Copy specific instructions, not the 3,900-word Claude.ai prompt, which is mostly about product information and how to behave in an open-ended chat.
  4. Set the model and effort explicitly. Do not assume a slider level in the app maps to an API value. Try two effort settings on the same inputs and keep the cheaper one that passes. Then pin the version, as described in why you should pin your AI model version.
  5. Compare on 20 real inputs, not the one you tuned. The prompt that won one demo in ChatGPT is overfit to that demo. Grade both versions against the same set, the way we lay out in how to test an AI automation before you trust it.

If the API still trails after step 3, check whether the app was using a tool, such as search or file analysis, that your call does not have. That is the remaining difference in most cases we have traced.

Why the app drifts while your workflow stays put

Anthropic is explicit that its system prompt updates for claude.ai and the Claude apps do not apply to the Claude API. The published Sonnet 5.5 prompt has four dated entries: September 28, October 7, October 27, and November 9, 2026. Four behavior updates in six weeks, none of them visible to an API caller. OpenAI does not publish ChatGPT's prompt, so you cannot see its changes at all.

That cuts both ways. A comparison you ran in October may not reproduce in November, because the app moved. But it also means the API is the more stable surface. Once your request carries its own instructions, date, facts, model, and effort, it behaves the same way until you change it. Whatever variation remains is the ordinary kind described in why the same AI prompt gives different answers, and you design around that with validation, not with more prompt tweaking.

Our position: stop treating the chat app as the reference implementation. It is a good place to sketch a prompt and a bad place to approve one. Approve prompts in the same shape they will run in, through the API, against real inputs.

What to do next

Take the one prompt that worked in the app and failed in your workflow, and rerun it today in an unpersonalized temporary chat with search off. If it still works there, the gap is the model and effort setting. If it gets worse, write down what your memory was supplying and move those facts into the request. If you want a second pair of eyes on an AI step that has to hold up in production, that is the kind of system we build under custom software platforms, and you can reach us here.

Frequently Asked Questions

Usually not. The app wraps your message in inputs the API never sees: a product system prompt, the date, your memory and custom instructions, and sometimes web search or files. An API call gets only what your workflow sends, so it answers with less context, not less intelligence. Rebuild the missing inputs and most of the gap closes.

OpenAI does not publish the ChatGPT system prompt. Anthropic does publish one version of the Claude app's system prompt per model, but it is about 3,900 words for Claude Sonnet 5.5 and mostly covers product information and chat behavior. Copy the specific instructions your task depends on, such as the date, the format, and the tone, rather than the whole prompt.

No, and on current OpenAI models you cannot set it. OpenAI's latest-model guide says to omit temperature and top_p for gpt-6.2-astra. The gap between the app and the API comes from missing context and a different model and thinking level, not from sampling settings.

It gives you the latest Instant model used in ChatGPT, but not the app's system prompt, memory, or tools. OpenAI says the snapshot behind chat-latest is updated regularly and recommends GPT-6.2 Astra for production instead. Use it for comparison, not as the model a business workflow depends on.

No. Anthropic states that its system prompt updates for claude.ai and the Claude apps do not apply to the Claude API. The published Sonnet 5.5 prompt alone has four dated versions between September 28 and November 9, 2026, so the app can change behavior while an API call stays the same.

SOURCES & CITATIONS

  1. System prompts — Anthropichttps://platform.claude.com/docs/en/release-notes/system-prompts/overview
  2. Memory in ChatGPT — OpenAIhttps://help.openai.com/en/articles/8590148-memory-in-chatgpt
  3. GPT-6 and other models in ChatGPT — OpenAIhttps://help.openai.com/en/articles/20001354-gpt-6-and-other-models-in-chatgpt
  4. Chat Latest — OpenAIhttps://developers.openai.com/api/docs/models/chat-latest

About Alexey Yushkin

Alexey is the founder of GENERAL INFORMATICS LLC. He designs and ships AI and automation systems for businesses and operators across the US.

Connect on LinkedIn

Related reading

Want this kind of system in your business?

We build practical AI and automation systems for operators. Send us your current workflow and we will show you what to automate first.