AI Model APIs
AI Model APIsProviders
AI Model APIs

The complete platform for comparing AI models. Find pricing, capabilities, and the perfect model for your use case.

contact@aimodelapis.com

Resources

  • AI Models APIs
  • Providers

About

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 AI Model APIs. All rights reserved.

Back to Models
Vertex (Anthropic)

Claude Sonnet 4 API

Vertex (Anthropic)
About

Build advanced reasoning agents with Claude Sonnet 4, a specialized AI model optimized for complex logic and chain-of-thought tasks. This model delivers cost-effective pricing at $3.00/1M input and $15.00/1M output tokens, native tool calling support. Access Claude Sonnet 4 via the Vertex (Anthropic) API with up to 64K output tokens.

Capabilities

Input Modalities

textimagepdf

Output Modalities

text
Reasoning
Yes
Structured Output
No
Tool Use
Yes
WeightsClosed
Temperature
Adjustable
Attachment
Supported
Limits
Context Window
200K

Tokens

Input Limit
200K

Tokens

Max Output
64K

Tokens

Pricing

Standard (per 1M tokens)

Input
$3.00
Output
$15.00

Caching (per 1M tokens)

Read
$0.30
Write
$3.75
Frequently Asked Questions

Claude Sonnet 4 by Vertex (Anthropic) costs $3.00 per 1M input tokens and $15.00 per 1M output tokens. Cached reads cost $0.30 per 1M tokens. Cache writes cost $3.75 per 1M tokens.

Model Details
ID
claude-sonnet-4@20250514
Provider
Vertex (Anthropic)
Family
claude-sonnet
Release Date
May 22, 2025
Knowledge Cutoff
Mar 31, 2025
API Integration
NPM Package
@ai-sdk/google-vertex/anthropic
Environment Variables
GOOGLE_VERTEX_PROJECT
GOOGLE_VERTEX_LOCATION
GOOGLE_APPLICATION_CREDENTIALS
Documentation