Skip to main content
HomeBlogArtificial Intelligence (AI)

What Is Claude 3.5 Sonnet? How It Works, Use Cases, and Artifacts

Claude 3.5 Sonnet outperforms GPT-4o and Gemini Pro 1.5 in several benchmarks and introduces a cool new feature: Artifacts.
Jun 2024  · 8 min read

GPT-4o and Gemini 1.5 Pro have some serious competition: Claude 3.5 Sonnet.

Anthropic announced Claude 3.5 Sonnet as part of the larger Claude 3.5 family—which will be complete later this year, with the release of Claude 3.5 Haiku and Claude 3.5 Opus.

Claude 3.5 Sonnet not only beats GPT-4o and Gemini 1.5 Pro in several benchmarks but also introduces a new awesome feature called Artifacts.

At DataCamp, we love to break down the latest news in AI—if you want to read more about recent developments, I recommend these articles:

I’m excited to show you how cool the Artifacts feature is, so let’s begin!

Claude 3.5 Sonnet: First Impressions

I was intrigued by the benchmark results, so I went straight to Claude.ai to test the new Claude 3.5 Sonnet model.

I first asked Claude 3.5 Sonnet to create a graph using the data in the table below:

Claude 3.5 Sonnet benchmark results

I reckon I didn’t put much thinking effort into the prompt I used—Generate a graph for this table—and yet the model generated this interactive grouped bar chart:

Claude 3.5 Sonnet generates interactive graphs.

Claude 3.5 Sonnet implemented the chart as a React component using the Recharts library. We can see and copy the code by switching to the Code tab from the top right corner:

Claude 3.5 Sonnet code view

One thing that bothered me about the generated bar chart is that the color legend at the bottom overlaps with the x-axis labels. Besides that, there’s just too much information to consume for one single graph. I thought it might be a cool idea to have a separate infographic for each benchmark, so I prompted Claude 3.5 Sonnet with this:

For the code benchmark, generate an infographic where you add a very short explanation about what the benchmark is and what it measures and a little comparison graph on the side to show how each LLM scores on that benchmark

I have to say, the result was pretty impressive, considering how bad my prompt was:

Claude 3.5 Sonnet infographic

The infographic is well organized, with a good choice of colors and font properties. I already see so many applications here—with detailed prompting, we could tailor the design to our needs and add brand-specific customizations, for example.

If you haven’t yet tried Claude 3.5 Sonnet yourself, you might be wondering what’s that UI component that shows both the graph and the code. Enter Artifacts.

Artifacts: Claude AI’s New Feature

There’s no point in me explaining what Artifacts are when the official video does it so much better. The reason I encourage you to watch this is because they show how to create a side-scrolling game in HTML 5 in one minute:

Artifacts feel so dynamic!

And what excites me is Antrophic’s promise to design it for team collaboration:

It’s just the beginning of a broader vision for Claude.ai, which will soon expand to support team collaboration. In the near future, teams—and eventually entire organizations—will be able to securely centralize their knowledge, documents, and ongoing work in one shared space, with Claude serving as an on-demand teammate.

Anthropic AI

How to Access Claude 3.5 Sonnet

The most straightforward way to access Claude 3.5 Sonnet is to go to Claude.ai and have fun in their friendly graphical user interface:

Claude AI graphical user interface

Claude 3.5 Sonnet is free to use on Claude.ai, but I do need to mention that I reached usage limits very quickly (after about ten prompts).

Claude 3.5 Sonnet Usage Limits

If you want to use Claude 3.5 Sonnet regularly, there’s no doubt that you’ll need to buy a Pro subscription.

Claude 3.5 Sonnet is also available via the Anthropic API, Google Cloud’s Vertex AI, and Amazon Bedrock.

Price Comparison: Sonnet vs. GPT-4o vs. Gemini Pro 1.5

Since I brought up Antrophic’s API, let’s look at how the prices compare to those of OpenAI and Google. Of course, this is a good opportunity to ask Claude 3.5 Sonnet to create a graph:

Claude AI price comparison with Open AI and Google

For personal use, all three platforms charge about $20/month.

Claude 3.5 Sonnet Use Cases

Claude 3.5 Sonnet is Anthropic’s strongest vision model, and it’s no surprise it does so well on tasks that require visual reasoning—like interpreting and creating graphs. However, it’s also marketed as a great coding or writing partner, so let’s take a closer look.

Visual presentations

If you have data you need to present visually, Claude 3.5 Sonnet seems to be able to really work magic.

In Anthropic’s example, a biology professor prompts the model with two graphs and asks Claude to extract relevant information to create a Javascript-based presentation that uses reveal-js, a popular framework for creating HTML presentations. Let’s see if the professor got the slides she wanted:

Coding partner

Let’s say you’re a software engineer who tries to write tests and fix bugs in a code that crops images into circles (so users can have nice profile images). Can Claude 3.5 Sonnet help with that? Let’s see:

Writing partner

Anthropic also showcases Claude 3.5 Sonnet as a writing partner, but their example couldn’t be further from a real-world use case—novels are generally not about “sarcasm-laden crabs that live on bustling reefs.” The genogram Claude creates is awesome, though, and once again showcases its amazing visual abilities.

Conclusion

For the past few years, we’ve all seen so much news and many breakthroughs in the AI space that it’s become harder to get excited about new releases—especially with so many cherry-picked examples in demonstration videos.

However, I am genuinely excited about Claude 3.5 Sonnet's visual capabilities and Artifacts feature. I’ll personally try it for work and keep an eye on its development.

If you’re looking for a curated curriculum for learning AI, check out these AI courses.

FAQs

Is Claude 3.5 free?

While Claude.ai offers limited free access, regular use of Claude 3.5 Sonnet typically requires a Pro subscription. Access through the Anthropic API, Amazon Bedrock, or Google Cloud's Vertex AI incurs usage-based costs.

What is Claude 3.5 Sonnet?

Claude 3.5 Sonnet is the latest model from Anthropic, designed for improved performance, especially in reasoning, coding, and safety. It outperforms previous models and competitors in various benchmarks.

How is Claude 3.5 Sonnet different from other models?

Sonnet stands out due to its advanced reasoning capabilities, strong coding skills, and enhanced safety features. It also introduces a novel feature called "Artifacts," allowing more efficient data handling.

What are Artifacts in Claude 3.5 Sonnet?

Artifacts is a new feature in Claude 3.5 Sonnet that allows you to interact with and manipulate outputs from the model, such as code, text, or data, directly within the chat interface.

How can I use Artifacts in Claude 3.5 Sonnet?

You can enable Artifacts in the feature preview settings of the Claude.ai chat interface. Once enabled, you can interact with generated outputs like editing code or viewing data visualizations directly within the chat.


Photo of Alex Olteanu
Author
Alex Olteanu

I’ve been working in AI since 2017, creating and editing content on statistics, probability, data visualization, and machine learning.

Topics

Learn AI with these courses!

track

AI Business Fundamentals

11hrs hours
Accelerate your AI journey, conquer ChatGPT, and develop a comprehensive Artificial Intelligence strategy.
See DetailsRight Arrow
Start Course
See MoreRight Arrow
Related

blog

Claude vs ChatGPT for Data Science: A Comparative Analysis

We explore Claude vs ChatGPT to determine which Generative AI works best for performing various data science tasks.
Abid Ali Awan's photo

Abid Ali Awan

9 min

blog

GPT-3 and the Next Generation of AI-Powered Services

How GPT-3 expands the world of possibilities for language tasks—and why it will pave the way for designers to prototype more easily, streamline work for data analysts, enable more robust research, and automate content generation.
Adel Nehme's photo

Adel Nehme

7 min

blog

A Beginner's Guide to GPT-3

GPT-3 is transforming the way businesses leverage AI to empower their existing products and build the next generation of products and software.
Sandra Kublik's photo

Sandra Kublik

25 min

tutorial

Getting Started with Claude 3 and the Claude 3 API

Learn about the Claude 3 models, detailed performance benchmarks, and how to access them. Additionally, discover the new Claude 3 Python API for generating text, accessing vision capabilities, and streaming.
Abid Ali Awan's photo

Abid Ali Awan

tutorial

Getting Started with the Claude 2 and the Claude 2 API

The Python SDK provides convenient access to Anthropic's powerful conversational AI assistant Claude 2, enabling developers to easily integrate its advanced natural language capabilities into a wide range of applications.
Abid Ali Awan's photo

Abid Ali Awan

12 min

tutorial

How to Fine Tune GPT 3.5: Unlocking AI's Full Potential

Explore GPT-3.5 Turbo and discover the transformative potential of fine-tuning. Learn how to customize this advanced language model for niche applications, enhance its performance, and understand the associated costs, safety, and privacy considerations.
Moez Ali's photo

Moez Ali

11 min

See MoreSee More