Simon Willison’s Weblog

Subscribe

Wednesday, 23rd October 2024

OpenAI’s monthly revenue hit $300 million in August, up 1,700 percent since the beginning of 2023, and the company expects about $3.7 billion in annual sales this year, according to financial documents reviewed by The New York Times. [...]

The company expects ChatGPT to bring in $2.7 billion in revenue this year, up from $700 million in 2023, with $1 billion coming from other businesses using its technology.

Mike Isaac and Erin Griffith, New York Times, Sep 27th 2024

# 1:20 am / new-york-times, ai, openai, generative-ai, llms

According to a document that I viewed, Anthropic is telling investors that it is expecting a billion dollars in revenue this year.

A CNBC Money Movers broadcast screenshot showing financial data. A news anchor in a green blazer appears on the left with the San Francisco Bay Bridge visible behind her. The screen displays ANTHROPIC EST. 2024 REV DOCUMENT SEEN BY CNBC: with a breakdown showing Third-party API: 60-75% of sales, Direct sales API: 10-25%, Chatbot subs: 15%, Professional services: 2%. The lower third chyron reads ANTHROPIC REV EXPECTED TO SURGE

Third-party API is expected to make up the majority of sales, 60% to 75% of the total. That refers to the interfaces that allow external developers or third parties like Amazon's AWS to build and scale their own AI applications using Anthropic's models. [Simon's guess: this could mean Anthropic model access sold through AWS Bedrock and Google Vertex]

That is by far its biggest business, with direct API sales a distant second projected to bring in 10% to 25% of revenue. Chatbots, that is its subscription revenue from Claude, the chatbot, that's expected to make up 15% of sales in 2024 at $150 million.

Deirdre Bosa, CNBC Money Movers, Sep 24th 2024

# 1:26 am / ai, generative-ai, llms, anthropic

Claude Artifact Runner (via) One of my least favourite things about Claude Artifacts (notes on how I use those here) is the way it defaults to writing code in React in a way that's difficult to reuse outside of Artifacts. I start most of my prompts with "no react" so that it will kick out regular HTML and JavaScript instead, which I can then copy out into my tools.simonwillison.net GitHub Pages repository.

It looks like Cláudio Silva has solved that problem. His claude-artifact-runner repo provides a skeleton of a React app that reflects the Artifacts environment - including bundling libraries such as Shadcn UI, Tailwind CSS, Lucide icons and Recharts that are included in that environment by default.

This means you can clone the repo, run npm install && npm run dev to start a development server, then copy and paste Artifacts directly from Claude into the src/artifact-component.tsx file and have them rendered instantly.

I tried it just now and it worked perfectly. I prompted:

Build me a cool artifact using Shadcn UI and Recharts around the theme of a Pelican secret society trying to take over Half Moon Bay

Then copied and pasted the resulting code into that file and it rendered the exact same thing that Claude had shown me in its own environment.

A dashboard showing pelican activity metrics and locations. Header reads "Pelican Illuminati Control Center" with "Threat Level: HIGH". Contains an emergency alert about pelicans at Mavericks Beach, two line graphs tracking "Membership Growth" and "Fish Acquisition Metrics" from Jan-Jun, and a list of "Known Pelican Strongholds" including Pillar Point Harbor, Mavericks Beach, Dunes Beach, Poplar Beach, and Half Moon Bay State Beach, each with designated roles in parentheses.

I tried running npm run build to create a built version of the application but I got some frustrating TypeScript errors - and I didn't want to make any edits to the code to fix them.

After poking around with the help of Claude I found this command which correctly built the application for me:

npx vite build

This created a dist/ directory containing an index.html file and assets/index-CSlCNAVi.css (46.22KB) and assets/index-f2XuS8JF.js (542.15KB) files - a bit heavy for my liking but they did correctly run the application when hosted through a python -m http.server localhost server.

# 2:34 am / javascript, ai, react, generative-ai, llms, anthropic, claude, claude-artifacts

We enhanced the ability of the upgraded Claude 3.5 Sonnet and Claude 3.5 Haiku to recognize and resist prompt injection attempts. Prompt injection is an attack where a malicious user feeds instructions to a model that attempt to change its originally intended behavior. Both models are now better able to recognize adversarial prompts from a user and behave in alignment with the system prompt. We constructed internal test sets of prompt injection attacks and specifically trained on adversarial interactions.

With computer use, we recommend taking additional precautions against the risk of prompt injection, such as using a dedicated virtual machine, limiting access to sensitive data, restricting internet access to required domains, and keeping a human in the loop for sensitive tasks.

Model Card Addendum: Claude 3.5 Haiku and Upgraded Sonnet

# 4:23 am / ai, prompt-injection, generative-ai, llms, anthropic, claude, claude-3-5-sonnet

2024 » October

MTWTFSS
 123456
78910111213
14151617181920
21222324252627
28293031