Xlera8

The ultimate LLM showdown begins

The world of technology is no stranger to showdowns and we have yet another exciting race: Gemini vs ChatGPT.

Artificial Intelligence (AI) is a rapidly evolving field, and in the domain of language models, we’re witnessing an exciting showdown. Two heavyweights dominate the scene: ChatGPT, from OpenAI, and Google’s own powerful Gemini. What are these models, how do they stack up, and which reigns supreme? Let’s dive in with a Gemini vs ChatGPT comparison!

Who will stand victorious in Gemini vs ChatGPT showdown?

ChatGPT and Gemini are both examples of large language models (LLMs). These are sophisticated AI systems trained on colossal amounts of text data.

They can perform a stunning array of tasks like:

  • Conversation: Engage in realistic, fluent discussions, mimicking human dialogue
  • Translation: Seamlessly switch between multiple languages
  • Writing: Produce creative text formats like poems, code, scripts, or email
  • Summarization: Condensing information into concise overviews
  • Question answering: Provide knowledgeable responses even to complex questions
Gemini vs ChatGPT
Our Gemini vs ChatGPT comparison aims to define the best commercially available LLM in 2024 (Image credit)

Although both LLMs are undeniably impressive, they possess unique strengths and weaknesses. The release of OpenAI’s ChatGPT in November 2022 ushered in a new era of generative AI competition. Google responded with Gemini, its most advanced AI system to date, with an initial rollout in December 2023 and the powerful Ultra 1.0 LLM becoming available in 2024. As developers and businesses seek the best AI solutions, it’s crucial to understand the nuances of these two powerful systems, so without further ado, let’s dive into the Gemini vs ChatGPT comparison in detail.

Here is a table that showcases the key features and pricing of each LLM side-by-side:

Feature Gemini ChatGPT
Notable editions Gemini Nano (on-device); Gemini Pro; Gemini Ultra (2024) GPT-3.5 (Nov. 2022); GPT-4 (March 2023)
Free chatbot access Google Gemini for Pro trial; requires a Google account ChatGPT (GPT-3.5); requires OpenAI account
Paid chatbot access Google One AI Premium ($19.99/month – includes Ultra access) ChatGPT Plus ($20/month – GPT-4, DALL-E, browsing); Teams; Enterprise
API access Yes, Gemini Pro Yes, GPT-4 Turbo, GPT-4, GPT-3.5, DALL-E, and others
Developer pricing Initial free limits, then varies by usage Pay-per-use, model-dependent

Gemini vs ChatGPT: Pros and cons that caught our eye

AI is a rapidly evolving field. It’s essential for organizations to continuously monitor and experiment with both Gemini and ChatGPT as they iterate and add features. Being locked into a single vendor carries risks in the dynamic field of AI. But which model should you start with? Let’s take a look at both of the models’ strong and weak sides.

Gemini

Pros:

Multimodality: Seamlessly processes text, code, images, and data without explicit mode switching.

  • Google ecosystem integration: Accesses info from Flights, Hotels, Maps, Gmail, Drive, YouTube (requires enabling extensions)
  • Three tiers: Provides flexibility for diverse use cases
  • Google Research backing: Leverages Google’s established AI expertise

Cons:

  • New to market: Less user familiarity and fewer readily available resources compared to ChatGPT
  • Ultra availability: The most powerful version isn’t widely available until 2024
  • Data transparency: Potential concerns about source data and how it influences responses

ChatGPT

Pros:

  • Proven track record: GPT models, especially GPT-4, have historically excelled in benchmarks
  • Extensive resources: Wide user base means abundant guides, tutorials, and examples
  • API maturity: Established API access options for various models
  • Free tier: Allows initial experimentation with the older GPT-3.5 model

Cons:

  • OpenAI uncertainty: Recent internal leadership issues may raise concerns about the company’s stability
  • Data transparency: Lacks clarity on the origins of training data

And of course, a Gemini vs ChatGPT comparison would be incomplete without examples. Let’s test these models in creativity, coding, calculation, and translation, the areas where we use AI technologies the most with the same prompts.

Gemini vs ChatGPT
We have decided to divide our Gemini vs ChatGPT comparison into four sub-categories (Image credit)

Here are our prompts to use in the Gemini vs ChatGPT comparison:

  • Creativity: “Write a short, whimsical story about a squirrel who dreams of being an astronaut”. We will look for originality, unexpected plot twists, and the ability to maintain a playful tone
  • Coding: ”Using libraries like ‘requests’ and ‘BeautifulSoup’, create a script that extracts specific information from a website, such as article titles or product prices”
  • Calculation: “A train travels at 80 kilometers per hour for 3 hours, then at 100 kilometers per hour for 2 hours. What is the total distance traveled”. We will focus on correctness, including accurate handling of units throughout the calculation
  • Translation: ”Translate the idiom “It’s raining cats and dogs” into its equivalent in other languages (if one exists)” to test how the models handle non-literal language and cultural understanding

Gemini vs ChatGPT: Creativity

Here are both of the LLMs’ responses to our prompt so that you can make a better decision on which model is the winner of the Gemini vs ChatGPT comparison in the creativity category:

Gemini:

Prompt: Write a short, whimsical story about a squirrel who dreams of being an astronaut.

”Chip wasn’t your average squirrel. While his kin chased acorns and gossiped with the sparrows, Chip stared up at the night sky, a tiny fire burning in his furry chest. He wasn’t meant to just scurry in the treetops – he was destined to leave Earth itself!

One autumn morning, a particularly vivid dream painted a clear picture: he was weightless, floating amongst the stars, a bright white acorn-shaped space helmet protecting his head. Chip wasn’t just going to daydream anymore; he’d make the stars his home.

First, he needed a suit. An old gardening glove, meticulously chewed into shape, became his spacesuit. Next, rocket fuel – an energetic blend of the spiciest seeds and crushed fireflies for bioluminescent effects. Finally, the ship… an upside-down flowerpot, decorated with shimmering bottlecaps and acorn-tip thrusters.

The grand launch day arrived. Chip, resplendent in his suit, climbed into his flowerpot ship. “Blast off!” he squeaked, and with a mighty leap, executed a perfect arc and landed… atop the bird feeder. Not quite space, but closer than yesterday. Passersby stopped and laughed, but amidst the giggles, Chip heard it – a tiny voice whispered, “Believe.”

With every jump, every ‘rocket’ test, and every starlit night, Chip felt the universe pulling him closer. The other squirrels called him ‘Chip the Dreamer’, but the dream – that was real. And sometimes, just maybe, that is all an astronaut really needs”.

ChatGPT:

Prompt: Write a short, whimsical story about a squirrel who dreams of being an astronaut.

”Once upon a time, nestled in the heart of a lush forest, there lived a curious little squirrel named Nutty. While other squirrels busied themselves with gathering acorns and scampering up trees, Nutty had a secret dream that twinkled in his eyes brighter than the stars themselves. Nutty dreamt of becoming an astronaut!

Every night, Nutty would gaze up at the vast expanse of the night sky, imagining himself floating amidst the sea of stars, his fluffy tail trailing behind him like a comet’s tail. He’d scurry around the forest, sharing his dreams with anyone who would listen, though most of the animals simply chuckled and went about their business.

But Nutty was undeterred. He knew that to reach the stars, he needed to learn all he could about space and science. So, he spent his days studying under the wise old owl who lived in a hollowed-out tree. He read every book he could find on space exploration, gravity, and rocket propulsion.

As Nutty’s knowledge grew, so did his determination. He began to gather materials from the forest – twigs, leaves, and even a discarded tin can – to build his very own spaceship. Day and night, he toiled away, crafting and perfecting his creation with the precision of a seasoned engineer.

Finally, the day of Nutty’s great adventure arrived. With a heart full of hope and excitement, he climbed into his makeshift spacecraft and prepared for liftoff. As the countdown began – “Three… Two… One…” – Nutty held his breath and pressed the launch button.

With a mighty whoosh, the rocket soared into the sky, leaving behind a trail of stardust and dreams. Nutty felt the rush of exhilaration as he broke through the Earth’s atmosphere, his paws gripping the controls with determination.

Up, up, up he went, until he reached the velvet embrace of space itself. Through the window of his spacecraft, Nutty gazed in awe at the swirling galaxies and glittering constellations that stretched out before him. He had done it! He was an astronaut!

For days, Nutty explored the wonders of space, drifting weightlessly amidst the cosmic ballet of celestial bodies. But as much as he enjoyed his adventure, he knew that his heart belonged back home in the forest.

And so, with a bittersweet farewell to the stars, Nutty guided his spacecraft back to Earth, where he landed safely amidst the welcoming arms of his fellow forest dwellers. Though his journey to the stars was over, Nutty knew that his dreams would continue to inspire him, filling his days with endless possibilities and the boundless magic of imagination”.

Gemini vs ChatGPT: Coding

Coding geeks, we haven’t forgotten you! Gemini vs ChatGPT, you vs machine. Let’s see who can code better and give a better answer to the prompt we will use in our coding category.

Gemini:

Prompt: Using libraries like ‘requests’ and ‘BeautifulSoup’, create a script that extracts specific information from a website, such as article titles or product prices.

”import requests
from bs4 import BeautifulSoup

# Website to scrape (Replace with your target website)
url = “https://www.bbc.com/news”

# Fetch the HTML content
response = requests.get(url)
response.raise_for_status() # Check for HTTP errors

# Parse the HTML
soup = BeautifulSoup(response.content, ‘html.parser’)

# Find the elements containing article titles (adapt this to your website)
title_elements = soup.find_all(‘a’, class_=’gs-c-promo-heading’)

# Extract and print titles
if title_elements:
for title_element in title_elements:
title = title_element.getText().strip()
print(title)
else:
print(“No article titles found.”)”

Apart from the Phyton code itself, Gemini has also provided us with instructions on how to install libraries if we haven’t already and made explanations on how each line of code affects the final product.

ChatGPT:

Prompt: Using libraries like ‘requests’ and ‘BeautifulSoup’, create a script that extracts specific information from a website, such as article titles or product prices.

”import requests
from bs4 import BeautifulSoup

# URL of the website to scrape
url = ‘https://openai.com/blog/’

# Send a GET request to the URL
response = requests.get(url)

# Check if the request was successful (status code 200)
if response.status_code == 200:
# Parse the HTML content of the page using BeautifulSoup
soup = BeautifulSoup(response.content, ‘html.parser’)

# Find all the article titles (assuming they are within <h2> tags)
article_titles = soup.find_all(‘h2’)

# Extract and print the text of each article title
for title in article_titles:
print(title.text.strip())
else:
print(‘Failed to retrieve content from the website.’)”

Same as Gemini, ChatGPT has also provided instructions on how to install the libraries but didn’t provide any detailed explanations of how the code works.

Gemini vs ChatGPT
Gemini is the clear winner of our Gemini vs ChatGPT comparison’s coding sub-category (Image credit)

Gemini vs ChatGPT: Calculation

Yes, math can be confusing at times and we often turn to AI for that too. So who is the winner of the Gemini vs ChatGPT comparison in the calculation field? Let’s test it with the prompt we will use in the calculation part of our comparison.

Gemini:

Prompt: A train travels at 80 kilometers per hour for 3 hours, then at 100 kilometers per hour for 2 hours. What is the total distance traveled.

”Here’s how to calculate the total distance:

Step 1: Calculate the distance for the first part

Speed = 80 km/h
Time = 3 hours
Distance = Speed x Time = 80 km/h * 3 h = 240 km
Step 2: Calculate the distance for the second part

Speed = 100 km/h
Time = 2 hours
Distance = Speed x Time = 100 km/h * 2 h = 200 km
Step 3: Calculate the total distance

Total distance = Distance (part 1) + Distance (part 2)
Total distance = 240 km + 200 km = 440 km
Therefore, the train traveled a total of 440 kilometers”.

ChatGPT:

Prompt: A train travels at 80 kilometers per hour for 3 hours, then at 100 kilometers per hour for 2 hours. What is the total distance traveled.

”To find the total distance traveled by the train, you can calculate the distance traveled during each segment of the journey and then sum them up.

Distance = Speed × Time

For the first segment:
Speed = 80 kilometers per hour
Time = 3 hours

Distance1 = Speed × Time
= 80 km/h × 3 h
= 240 kilometers

For the second segment:
Speed = 100 kilometers per hour
Time = 2 hours

Distance2 = Speed × Time
= 100 km/h × 2 h
= 200 kilometers

Now, to find the total distance traveled, simply add the distances from both segments:

Total distance = Distance1 + Distance2
= 240 km + 200 km
= 440 kilometers

So, the total distance traveled by the train is 440 kilometers”.

Yes, this time the question was simple, but both LLMs gave a detailed step-by-step explanation while giving the correct answer.

Gemini vs ChatGPT: Translation

And perhaps the most important issue is multilingualism. Today, English is recognized as the global language, but according to Statista, only 21% of the world’s population can speak English. Therefore, the ability to translate languages is also an important category in the Gemini vs ChatGPT comparison to test the accessibility of the models.

Gemini:

Prompt: Translate the idiom “It’s raining cats and dogs” into its equivalent in other languages (if one exists).

”Absolutely! Here are some fun and fascinating ways to say “it’s raining cats and dogs” in other languages:

European Languages

  • French: Il tombe des cordes (It’s falling ropes)
  • German: Es regnet in Bindfäden (It’s raining in strings)
  • Spanish: Está lloviznando a cántaros (It’s raining from jugs)
  • Italian: Piove a dirotto (It’s raining heavily)
  • Dutch: Het regent pijpenstelen (It’s raining pipe stems)
  • Russian: Льёт как из ведра (L’yot kak iz vedra) (It pours like from a bucket)
  • Polish: Leje jak z cebra (It pours like from a sieve)

Asian Languages

  • Japanese: 土砂降りだ (doshaburi da) (It’s a downpour)
  • Korean: 비가 주룩주룩 내린다 (biga jurukjuruk naerinda) (The rain is pouring down)
  • Chinese: 倾盆大雨 (qīng pén dà yǔ) (傾盆 =傾泻而下的盆子) (Basin-pouring heavy rain)

Other Fun Ones

  • Norwegian: Det regner trollkjerringer (It’s raining troll women)
  • Afrikaans: Dit reen ou vrouens met knopkieries (It’s raining old women with walking sticks)

Let me know if you’d like some from other regions of the world”.

ChatGPT:

Prompt: Translate the idiom “It’s raining cats and dogs” into its equivalent in other languages (if one exists).

”Certainly! Here are translations of the idiom “It’s raining cats and dogs” in several languages:

Spanish: “Está lloviendo a cántaros.” (It’s raining buckets.)

French: “Il pleut des cordes.” (It’s raining ropes.)

Italian: “Piove a catinelle.” (It’s raining buckets.)

Portuguese: “Está chovendo canivetes.” (It’s raining pocket knives.)

Dutch: “Het regent pijpenstelen.” (It’s raining pipe stems.)

Russian: “Льет как из ведра.” (It’s pouring like from a bucket.)

Chinese (Mandarin): “下的像狗拴的.” (It’s raining like dogs on a leash.)

Japanese: “猫と犬が降っている.” (Cats and dogs are falling.)

German: “Es regnet Bindfäden.” (It’s raining ropes.)

These idiomatic expressions convey the same meaning as “It’s raining cats and dogs,” indicating heavy rainfall in a colorful and often humorous way”.

Although both LLMs managed to provide the appropriate answer to our prompt, Gemini gets an extra point for categorizing them.

We also wanted to include rendering in the Gemini vs ChatGPT comparison, but at the time of writing, we couldn’t render on Gemini. Yes, Bard is now Gemini, but all this drastic change happened yesterday, so it wouldn’t be fair to break a point in this category yet.

Gemini vs ChatGPT
Linguistic capabilities are one of the most important aspects in our Gemini vs ChatGPT comparison (Image credit)

Gemini vs ChatGPT: Verdict

How far have AI models come compared to last year, right? We hardly ever encounter errors and inconsistent results anymore. As we can see from the prompt examples above, both Google Gemini and OpenAI ChatGPT are undoubtedly the leading products of the AI industry.

So who is the winner of the Gemini vs ChatGPT showdown? According to our evaluation, ChatGPT is one step ahead in terms of accessibility, popularity, and storytelling, while Google’s Gemini Advanced stands out with its newness, detailed explanations, and slightly more organized results compared to ChatGPT.

Unfortunately, we don’t have a clear answer as to which one you should prefer, but one thing is for sure: AI is truly fascinating and determined to make our lives easier, moment by moment.


Featured image credit: Linkmedya.

Chat with us

Hi there! How can I help you?