Anthropic: Claude Sonnet 4 is a high-performance model from OpenRouter with a 200K context window, supporting vision understanding, function calling. Priced at $0.0030/1K input, $0.015/1K output.
Total Requests
0
P50 Latency
800ms
P95 Latency
2500ms
Selection Rate
0.0%
of eligible requests
Intelligence Score
85/100
from openai import OpenAI
client = OpenAI(
base_url="https://api.antbase.ai/v1",
api_key="YOUR_ANT_API_KEY",
)
response = client.chat.completions.create(
model="anthropic/claude-sonnet-4",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)