Prompting ChatGPT vs Claude vs Gemini
What works where — key differences explained
Different AI models were trained differently and respond differently to the same prompts. Using Claude the way you would use ChatGPT often gives suboptimal results, and vice versa. Understanding each model's preferences lets you get significantly better outputs from each tool.
What You'll Learn
- Key differences in how each model interprets prompts
- When to use XML tags (Claude) vs markdown (GPT) vs conversational text (Gemini)
- 5 side-by-side prompt examples showing each model's strengths
- Which model to choose for specific task types
- Tips for switching between models without rewriting your prompts
Claude — Prefers Structure and XML Tags
Claude (Anthropic) is trained to follow instructions with high precision. It responds particularly well to:
XML tags for structure: Claude explicitly recognizes XML-like tags as structural elements:
<task>
Analyze the following customer feedback and identify the top 3 issues.
</task>
<feedback>
[paste customer feedback here]
</feedback>
<output_format>
For each issue:
1. Issue name (2-4 words)
2. Frequency (how many times mentioned)
3. Severity (Low/Medium/High)
4. One-line suggestion
</output_format>
Explicit instructions: Claude is very good at following a long list of specific rules without getting confused. If you have 8 constraints, list all 8.
Long context: Claude's 200K token window lets you include entire documents. Feed it a full legal contract, codebase, or research paper and ask specific questions.
Best Claude prompt pattern:
- Define the task clearly
- Provide context or materials
- Specify any constraints or rules
- Define the output format explicitly
🇮🇳 India Note: Claude handles Indian languages reasonably well but not as well as Gemini. For prompts involving Hindi content, Gemini is usually the better choice. For English-language tasks requiring precision and instruction-following, Claude leads.
GPT-5 — Natural Language and Markdown
GPT-5 (ChatGPT) handles conversational, natural language prompts very well. It responds to:
Markdown formatting: GPT produces well-formatted markdown naturally and also interprets markdown instructions well:
Write a comparison of Zomato and Swiggy for Indian investors. Format as:
## Overview
## Business Model
## Key Metrics
## Risks
## Conclusion
Use bullet points within each section. Include actual numbers where available.
Role assignment: GPT responds well to simple role assignments at the beginning:
You are a senior marketing strategist with 10 years of experience in Indian consumer markets.
Analyze the marketing strategy for [brand] and identify 3 opportunities for improvement.
Creative tasks: GPT's creative writing output is among the most natural-sounding. For stories, social media copy, and creative content, GPT's voice is usually more fluid than Claude's.
Best GPT-5 prompt pattern:
- Role assignment (optional but helpful)
- Task description in natural language
- Key constraints as bullet points or inline
- Desired output format
Gemini — Multimodal Context and Google Integration
Gemini (Google) is trained for multimodal tasks and has deep integration with Google's data. It responds best to:
Image and document context: Give Gemini an image and ask questions about it — this is where it leads:
[Attach image of a product]
Analyze this product photo for:
1. Visual quality issues that might affect customer perception
2. Packaging information completeness (name, ingredients, weight, barcode)
3. Shelf placement recommendations
4. Competitor comparison if you recognize the product category
Current information: Gemini with Search grounding returns current information. Use it for anything time-sensitive:
What are the current SEBI regulations for retail investor participation in IPOs in India?
Include any changes from the past 6 months.
Google Workspace tasks: Gemini in Gmail/Docs understands the context of your actual documents:
[In Gmail] Summarize this email thread and draft a response accepting the meeting
but proposing Thursday instead of Wednesday.
Best Gemini prompt pattern:
- State the task
- Provide the image/document/context directly
- Ask specific questions
- For current events: explicitly ask for recent information
5 Side-by-Side Examples
Example 1: Document Analysis
For Claude (structured):
<document>
[paste the full document]
</document>
<task>
Identify all contractual obligations that must be completed within 30 days.
List them in a table with: Obligation | Responsible Party | Deadline | Consequence of Non-Compliance
</task>
For GPT-5 (natural language):
Read this contract and find everything that must be done within 30 days.
Make a table: what needs to be done, who is responsible, when, and what happens if it is missed.
[paste document]
For Gemini (if it is a PDF or image):
[attach the contract PDF or image]
List all obligations that must be completed within 30 days as a table.
Example 2: Code Generation
For Claude (explicit constraints):
<task>Write a FastAPI endpoint</task>
<requirements>
- Method: POST /api/v1/users/register
- Input: { email: str, password: str, name: str }
- Validate: email format, password minimum 8 chars
- On success: return 201 with user_id
- On duplicate email: return 409 with error message
- Hash the password with bcrypt
- Never return the password in any response
</requirements>
<style>
Use Pydantic v2 for request validation.
Async function.
Type hints on all parameters.
</style>
For GPT-5 (direct):
Write a FastAPI POST endpoint at /api/v1/users/register that:
- Takes email, password, name
- Validates email format and password length (8+ chars)
- Returns 201 with user_id on success, 409 on duplicate email
- Hashes password with bcrypt
Use Pydantic v2, async, TypeScript style type hints.
Both approaches work for code, but Claude's structured version tends to produce fewer omissions.
Example 3: Creative Writing
GPT-5 is usually best here:
Write an Instagram caption for an Indian fashion brand launching a Diwali collection.
Target: urban women aged 22-35.
Tone: celebratory, aspirational, subtly modern.
Include 3-4 relevant hashtags.
Under 150 characters for the caption itself.
GPT-5's creative writing tends to feel more natural and fresh for marketing copy.
Example 4: Current Events
Gemini with Search is best:
What are the latest developments in India's Digital Personal Data Protection Act implementation?
Focus on: current compliance deadlines, recent MEITY announcements, and practical implications for SaaS companies operating in India.
Use current sources from the last 3 months.
Example 5: Image Analysis
Gemini (or Claude with vision):
[attach screenshot of app UI]
Review this mobile app interface for:
1. Accessibility issues
2. Usability problems for users aged 50+
3. Inconsistent design elements
4. Missing typical e-commerce UI patterns
Prioritize findings by impact.
Quick Selection Guide
| Task | Best Model | Why | |------|-----------|-----| | Complex document analysis | Claude | XML structure, 200K context | | Creative writing and copy | GPT-5 | Most natural prose style | | Current events and news | Gemini | Search grounding | | Image and visual analysis | Gemini or Claude | Strong multimodal | | Coding (complex) | Claude Sonnet | Best coding benchmark | | Hindi/regional language | Gemini | Best Indic language training | | Following long instruction lists | Claude | Precise rule following | | Conversational tasks | GPT-5 | Natural dialogue flow |
Official Resources
- Anthropic Prompt Library — Claude-specific prompt examples
- OpenAI Prompt Engineering Guide — GPT prompting strategies
- Google Gemini Prompting Guide — Gemini best practices
- Learn Prompting — Model-agnostic prompt techniques
- PromptAndSkills Library — Community-tested prompts for all models
Community Questions
0No questions yet. Be the first to ask!