Last refreshed 2026-07-26. Next refresh: weekly.
Why use Claude 3 Sonnet on GCP Vertex AI?
GCP Vertex AI offers Claude 3 Sonnet with pay-as-you-go pricing at $3.00/1M input tokens. Vertex AI is Google Cloud's managed AI platform, offering access to Gemini models and hundreds of partner models alongside tools for fine-tuning, grounding, vector search, and end-to-end MLOps pipelines.
Compare Claude 3 Sonnet across 3 providers to find the best fit for your use caseSetup recipe
Python + curlpip install google-cloud-aiplatformexport GOOGLE_CLOUD_PROJECT=...import os
import vertexai
from vertexai.generative_models import GenerativeModel
vertexai.init(project=os.environ["GOOGLE_CLOUD_PROJECT"], location="us-central1")claude-3-sonnetRequest example
import os
import vertexai
from vertexai.generative_models import GenerativeModel
# Reads GOOGLE_CLOUD_PROJECT from env; authenticates via Application Default Credentials
vertexai.init(project=os.environ["GOOGLE_CLOUD_PROJECT"], location="us-central1")
model = GenerativeModel("claude-3-sonnet")
response = model.generate_content("Hello")
print(response.text)Gotchas
- For Google-published models use the model name directly, e.g. "gemini-2.0-flash-001". For third-party publishers (Anthropic, Meta, etc.) use the full publisher path, e.g. "publishers/anthropic/models/claude-3-5-sonnet-v2@20241022".
- The examples expect GOOGLE_CLOUD_PROJECT; rename it only if your application config maps the new variable.
Compare Claude 3 Sonnet Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| AWS Bedrock | $3.00 | $15.00 |
| GCP Vertex AI | $3.00 | $15.00 |
| Anthropic | $3.00 | $15.00 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $3.00 |
| Output tokens | $15.00 |
Capabilities
About Claude 3 Sonnet
Claude 3 Sonnet by Anthropic is a versatile large language AI model, balancing intelligence and speed for diverse enterprise use cases. It is part of the Claude 3 family, positioned between the powerful Opus and the faster Haiku models. Sonnet excels in nuanced content creation, accurate summarization, and complex scientific query handling while also showcasing proficiency in non-English languages and coding tasks. Additionally, it enhances vision capabilities with exceptional skills in visual reasoning, such as interpreting charts, graphs, and transcribing text from imperfect images, which benefits industries like retail, logistics, and finance.