claude-3-7-sonnet-20250219
Display Name: Claude 3.7 Sonnet (20250219)
claude-3-7-sonnet-20250219 is a model provided by Anthropic
Specifications
Context200,000
Maximum Output4,096
Inputtext, image
Outputtext, json
Performance (7-day Average)
Uptime
TPS
Pricing
Input$3.30/MTokens
Output$16.50/MTokens
Batch Input$1.65/MTokens
Batch Output$8.25/MTokens
Cache Creation$4.13/MTokens
Cached Input$0.33/MTokens
Usage Statistics
No usage data available for this model during the selected period
View your usage statistics for this model
Similar Models
Code Examples
Use the OpenAI Python SDK to call this model. Replace your-api-key with your API key.
python
from openai import OpenAI
client = OpenAI(
base_url="https://api.ohmygpt.com/v1",
api_key="your-api-key", # Replace with your API key
)
response = client.chat.completions.create(
model="claude-3-7-sonnet-20250219",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)