anthropic/claude-4.5-sonnet 🖼️📝🔢 → 📝

⭐ Official ▶️ 8.9K runs 📅 Sep 2025 ⚙️ Cog 0.16.7 ⚖️ License
code-generation image-analysis image-captioning image-to-text text-generation visual-understanding

About

Claude Sonnet 4.5 is the best coding model to date, with significant improvements across the entire development lifecycle

Example Output

Prompt:

"Give me a recipe for pancakes that could feed all of California."

Output

Pancakes for California (~39 million people)

Ingredients:

  • 312 million eggs (about 26 million dozen)
  • 195 million cups flour (24 million 8-lb bags)
  • 195 million cups milk (12 million gallons)
  • 39 million tablespoons sugar (135,000 50-lb bags)
  • 39 million tablespoons baking powder (17,000 5-lb containers)
  • 19.5 million teaspoons salt (22,000 26-oz containers)
  • 78 million tablespoons melted butter (2.4 million pounds)

Instructions:

  1. In the world's largest mixing vessels, whisk together eggs, milk, and melted butter
  2. In separate industrial silos, combine flour, sugar, baking powder, and salt
  3. Gradually combine wet and dry ingredients (don't overmix)
  4. Heat approximately 2 million griddles to 375°F
  5. Pour batter to make 3 pancakes per person
  6. Cook until bubbles form, flip, cook until golden

Yield:

~117 million pancakes

Logistics note:

You'll need roughly 4,000 football fields worth of cooking surface and about 50,000 semi-trucks to transport ingredients. Start early! 🥞

Performance Metrics

8.49s Prediction Time
8.52s Total Time
All Input Parameters
{
  "prompt": "Give me a recipe for pancakes that could feed all of California.",
  "max_tokens": 8192,
  "system_prompt": "",
  "max_image_resolution": 0.5
}
Input Parameters
image Type: string
Optional input image. Images are priced as (width px * height px)/750 input tokens
prompt (required) Type: string
Input prompt
max_tokens Type: integerDefault: 8192Range: 1024 - 64000
Maximum number of output tokens
system_prompt Type: stringDefault:
System prompt
max_image_resolution Type: numberDefault: 0.5Range: 0.001 - 2
Maximum image resolution in megapixels. Scales down image before sending it to Claude, to save time and money.
Output Schema

Output

Type: arrayItems Type: string

Example Execution Logs
Running prediction... 

Using model: claude-sonnet-4-5@20250929
Version Details
Version ID
459655107e29a683cb6deb73a9640cf9aeae39ea7c87803a2ae81c311f6ef44f
Version Created
September 29, 2025
Run on Replicate →