Swap GPT for Claude in the same app and it starts refusing different requests. That isn't a bug in your code: each model was taught how to behave in a different way, long before you ever called it.
GPT's line started with RLHF (reinforcement learning from human feedback). People compare pairs of answers and pick the better one, and those picks train a second model that scores new answers automatically. The chatbot is then tuned to chase high scores.
Claude took a route Anthropic calls Constitutional AI. Instead of leaning mainly on human raters, an AI model judges answers against a written set of principles. In January 2026 Anthropic published a much longer version of that document, Claude's constitution, and it ranks what should generally win when goals clash: broadly safe first, then broadly ethical, then following Anthropic's guidelines, then genuinely helpful.
Gemini's headline difference sits somewhere else. Google trained it on text, images, audio and video together from the start, on its own TPU chips (custom processors built for AI), rather than bolting vision onto a text-only model later.
The tempting shortcut is "Claude has a public rulebook, the others are a black box." Not quite. OpenAI publishes one too, the Model Spec, first released in May 2024, and it says plainly that its production models don't yet fully reflect it.
So read any of these documents as a prediction of how a model should behave, then check it. The check is an eval: a fixed set of your own real prompts with known good answers, rerun every time you switch models.