{
  "key": "claude-sonnet-4",
  "name": "Claude Sonnet 4 (latest)",
  "description": "Balanced Claude model for coding, analysis, agent workflows, and cost control",
  "lab": "anthropic",
  "family": "claude-sonnet",
  "release_date": "2025-05-22",
  "knowledge": "2025-03-31",
  "open_weights": false,
  "has_free_offering": false,
  "published": true,
  "modalities": {
    "input": [
      "text",
      "image",
      "pdf"
    ],
    "output": [
      "text"
    ]
  },
  "capabilities": {
    "reasoning": true,
    "tool_call": true,
    "structured_output": true,
    "attachment": true,
    "reasoning_options": [
      {
        "type": "effort",
        "values": [
          "low",
          "medium",
          "high"
        ]
      },
      {
        "type": "budget_tokens",
        "min": 1024
      }
    ]
  },
  "limit": {
    "context": 1000000,
    "output": 65000
  },
  "offerings": [
    {
      "provider": "cortecs",
      "provider_model_id": "claude-sonnet-4",
      "name": "Claude Sonnet 4 (latest)",
      "variants": [],
      "free": false,
      "priced": true,
      "cost": {
        "input": 2.898,
        "output": 14.493,
        "cache_read": 0.29,
        "cache_write": 3.624,
        "reasoning": null,
        "context_over_200k": null,
        "tiers": null
      },
      "limit": {
        "context": 200000,
        "output": 65000,
        "input": null
      },
      "status": null,
      "last_updated": "2025-05-22"
    },
    {
      "provider": "digitalocean",
      "provider_model_id": "anthropic-claude-sonnet-4",
      "name": "Claude Sonnet 4",
      "variants": [
        {
          "org": "anthropic"
        }
      ],
      "free": false,
      "priced": true,
      "cost": {
        "input": 3,
        "output": 15,
        "cache_read": 0.3,
        "cache_write": 3.75,
        "reasoning": null,
        "context_over_200k": {
          "input": 6,
          "output": 22.5
        },
        "tiers": [
          {
            "input": 6,
            "output": 22.5,
            "cache_read": 0.3,
            "cache_write": 3.75,
            "tier": {
              "type": "context",
              "size": 200000
            }
          }
        ]
      },
      "limit": {
        "context": 1000000,
        "output": 64000,
        "input": null
      },
      "status": null,
      "last_updated": "2025-05-22"
    },
    {
      "provider": "fastrouter",
      "provider_model_id": "anthropic/claude-sonnet-4",
      "name": "Claude Sonnet 4",
      "variants": [],
      "free": false,
      "priced": true,
      "cost": {
        "input": 3,
        "output": 15,
        "cache_read": 0.3,
        "cache_write": 3.75,
        "reasoning": null,
        "context_over_200k": null,
        "tiers": null
      },
      "limit": {
        "context": 200000,
        "output": 64000,
        "input": null
      },
      "status": null,
      "last_updated": "2025-05-22"
    },
    {
      "provider": "google-vertex",
      "provider_model_id": "claude-sonnet-4@20250514",
      "name": "Claude Sonnet 4",
      "variants": [
        {
          "region": "20250514"
        }
      ],
      "free": false,
      "priced": true,
      "cost": {
        "input": 3,
        "output": 15,
        "cache_read": 0.3,
        "cache_write": 3.75,
        "reasoning": null,
        "context_over_200k": null,
        "tiers": null
      },
      "limit": {
        "context": 200000,
        "output": 64000,
        "input": null
      },
      "status": "deprecated",
      "last_updated": "2025-05-22"
    },
    {
      "provider": "google-vertex-anthropic",
      "provider_model_id": "claude-sonnet-4@20250514",
      "name": "Claude Sonnet 4",
      "variants": [
        {
          "region": "20250514"
        }
      ],
      "free": false,
      "priced": true,
      "cost": {
        "input": 3,
        "output": 15,
        "cache_read": 0.3,
        "cache_write": 3.75,
        "reasoning": null,
        "context_over_200k": null,
        "tiers": null
      },
      "limit": {
        "context": 200000,
        "output": 64000,
        "input": null
      },
      "status": "deprecated",
      "last_updated": "2025-05-22"
    },
    {
      "provider": "helicone",
      "provider_model_id": "claude-sonnet-4",
      "name": "Anthropic: Claude Sonnet 4",
      "variants": [],
      "free": false,
      "priced": true,
      "cost": {
        "input": 3,
        "output": 15,
        "cache_read": 0.30000000000000004,
        "cache_write": 3.75,
        "reasoning": null,
        "context_over_200k": null,
        "tiers": null
      },
      "limit": {
        "context": 200000,
        "output": 64000,
        "input": null
      },
      "status": null,
      "last_updated": "2025-05-14"
    },
    {
      "provider": "kilo",
      "provider_model_id": "anthropic/claude-sonnet-4",
      "name": "Anthropic: Claude Sonnet 4",
      "variants": [],
      "free": false,
      "priced": true,
      "cost": {
        "input": 3,
        "output": 15,
        "cache_read": 0.3,
        "cache_write": 3.75,
        "reasoning": null,
        "context_over_200k": null,
        "tiers": null
      },
      "limit": {
        "context": 200000,
        "output": 64000,
        "input": null
      },
      "status": null,
      "last_updated": "2025-05-22"
    },
    {
      "provider": "nano-gpt",
      "provider_model_id": "anthropic/claude-sonnet-4",
      "name": "Claude 4 Sonnet",
      "variants": [],
      "free": false,
      "priced": true,
      "cost": {
        "input": 3,
        "output": 15,
        "cache_read": 0.3,
        "cache_write": null,
        "reasoning": null,
        "context_over_200k": null,
        "tiers": null
      },
      "limit": {
        "context": 200000,
        "output": 64000,
        "input": 200000
      },
      "status": null,
      "last_updated": "2025-09-29"
    },
    {
      "provider": "nano-gpt",
      "provider_model_id": "anthropic/claude-sonnet-4:thinking",
      "name": "Claude 4 Sonnet Thinking",
      "variants": [
        "thinking"
      ],
      "free": false,
      "priced": true,
      "cost": {
        "input": 3,
        "output": 15,
        "cache_read": 0.3,
        "cache_write": null,
        "reasoning": null,
        "context_over_200k": null,
        "tiers": null
      },
      "limit": {
        "context": 1000000,
        "output": 64000,
        "input": 1000000
      },
      "status": null,
      "last_updated": "2025-02-24"
    },
    {
      "provider": "nano-gpt",
      "provider_model_id": "anthropic/claude-sonnet-4:thinking:1024",
      "name": "Claude 4 Sonnet Thinking (1K)",
      "variants": [
        "thinking",
        {
          "tier": "1024"
        }
      ],
      "free": false,
      "priced": true,
      "cost": {
        "input": 3,
        "output": 15,
        "cache_read": 0.3,
        "cache_write": null,
        "reasoning": null,
        "context_over_200k": null,
        "tiers": null
      },
      "limit": {
        "context": 1000000,
        "output": 64000,
        "input": 1000000
      },
      "status": null,
      "last_updated": "2024-01-01"
    },
    {
      "provider": "nano-gpt",
      "provider_model_id": "anthropic/claude-sonnet-4:thinking:32768",
      "name": "Claude 4 Sonnet Thinking (32K)",
      "variants": [
        "thinking",
        {
          "tier": "32768"
        }
      ],
      "free": false,
      "priced": true,
      "cost": {
        "input": 3,
        "output": 15,
        "cache_read": 0.3,
        "cache_write": null,
        "reasoning": null,
        "context_over_200k": null,
        "tiers": null
      },
      "limit": {
        "context": 1000000,
        "output": 64000,
        "input": 1000000
      },
      "status": null,
      "last_updated": "2024-01-01"
    },
    {
      "provider": "nano-gpt",
      "provider_model_id": "anthropic/claude-sonnet-4:thinking:64000",
      "name": "Claude 4 Sonnet Thinking (64K)",
      "variants": [
        "thinking",
        {
          "tier": "64000"
        }
      ],
      "free": false,
      "priced": true,
      "cost": {
        "input": 3,
        "output": 15,
        "cache_read": 0.3,
        "cache_write": null,
        "reasoning": null,
        "context_over_200k": null,
        "tiers": null
      },
      "limit": {
        "context": 1000000,
        "output": 64000,
        "input": 1000000
      },
      "status": null,
      "last_updated": "2024-01-01"
    },
    {
      "provider": "nano-gpt",
      "provider_model_id": "anthropic/claude-sonnet-4:thinking:8192",
      "name": "Claude 4 Sonnet Thinking (8K)",
      "variants": [
        "thinking",
        {
          "tier": "8192"
        }
      ],
      "free": false,
      "priced": true,
      "cost": {
        "input": 3,
        "output": 15,
        "cache_read": 0.3,
        "cache_write": null,
        "reasoning": null,
        "context_over_200k": null,
        "tiers": null
      },
      "limit": {
        "context": 1000000,
        "output": 64000,
        "input": 1000000
      },
      "status": null,
      "last_updated": "2024-01-01"
    },
    {
      "provider": "opencode",
      "provider_model_id": "claude-sonnet-4",
      "name": "Claude Sonnet 4",
      "variants": [],
      "free": false,
      "priced": true,
      "cost": {
        "input": 3,
        "output": 15,
        "cache_read": 0.3,
        "cache_write": 3.75,
        "reasoning": null,
        "context_over_200k": {
          "input": 6,
          "output": 22.5
        },
        "tiers": [
          {
            "input": 6,
            "output": 22.5,
            "cache_read": 0.6,
            "cache_write": 7.5,
            "tier": {
              "type": "context",
              "size": 200000
            }
          }
        ]
      },
      "limit": {
        "context": 1000000,
        "output": 64000,
        "input": null
      },
      "status": null,
      "last_updated": "2025-05-22"
    },
    {
      "provider": "openrouter",
      "provider_model_id": "anthropic/claude-sonnet-4",
      "name": "Claude Sonnet 4",
      "variants": [],
      "free": false,
      "priced": true,
      "cost": {
        "input": 3,
        "output": 15,
        "cache_read": 0.3,
        "cache_write": 3.75,
        "reasoning": null,
        "context_over_200k": {
          "input": 6,
          "output": 22.5
        },
        "tiers": [
          {
            "input": 6,
            "output": 22.5,
            "cache_read": 0.6,
            "cache_write": 7.5,
            "tier": {
              "type": "context",
              "size": 200000
            }
          }
        ]
      },
      "limit": {
        "context": 1000000,
        "output": 64000,
        "input": null
      },
      "status": null,
      "last_updated": "2025-05-22"
    },
    {
      "provider": "poe",
      "provider_model_id": "anthropic/claude-sonnet-4",
      "name": "Claude-Sonnet-4",
      "variants": [],
      "free": false,
      "priced": true,
      "cost": {
        "input": 2.6,
        "output": 13,
        "cache_read": 0.26,
        "cache_write": 3.2,
        "reasoning": null,
        "context_over_200k": null,
        "tiers": null
      },
      "limit": {
        "context": 983040,
        "output": 64000,
        "input": null
      },
      "status": null,
      "last_updated": "2025-05-21"
    },
    {
      "provider": "requesty",
      "provider_model_id": "claude-sonnet-4@eu",
      "name": "Claude Sonnet 4 (latest) (EU)",
      "variants": [
        {
          "region": "eu"
        }
      ],
      "free": false,
      "priced": true,
      "cost": {
        "input": 3,
        "output": 15,
        "cache_read": 0.3,
        "cache_write": 3.75,
        "reasoning": null,
        "context_over_200k": {
          "input": 6,
          "output": 22.5
        },
        "tiers": [
          {
            "input": 6,
            "output": 22.5,
            "cache_read": 0.6,
            "cache_write": 7.5,
            "tier": {
              "type": "context",
              "size": 200000
            }
          }
        ]
      },
      "limit": {
        "context": 1000000,
        "output": 64000,
        "input": null
      },
      "status": null,
      "last_updated": "2025-05-22"
    },
    {
      "provider": "vercel",
      "provider_model_id": "anthropic/claude-sonnet-4",
      "name": "Claude Sonnet 4",
      "variants": [],
      "free": false,
      "priced": true,
      "cost": {
        "input": 3,
        "output": 15,
        "cache_read": 0.3,
        "cache_write": 3.75,
        "reasoning": null,
        "context_over_200k": null,
        "tiers": null
      },
      "limit": {
        "context": 1000000,
        "output": 8192,
        "input": null
      },
      "status": null,
      "last_updated": "2025-05-22"
    },
    {
      "provider": "zenmux",
      "provider_model_id": "anthropic/claude-sonnet-4",
      "name": "Claude Sonnet 4",
      "variants": [],
      "free": false,
      "priced": true,
      "cost": {
        "input": 3,
        "output": 15,
        "cache_read": 0.3,
        "cache_write": 3.75,
        "reasoning": null,
        "context_over_200k": null,
        "tiers": null
      },
      "limit": {
        "context": 1000000,
        "output": 64000,
        "input": null
      },
      "status": null,
      "last_updated": "2025-05-22"
    }
  ]
}