~anthropicVision
Anthropic Claude Sonnet Latest
This model always redirects to the latest model in the Anthropic Claude Sonnet family.
Context
1M tokens
Input / 1M tokens
$2
Output / 1M tokens
$10
Benchmark
—
Pricing
Input tokens$2 per 1M tokens
Output tokens$10 per 1M tokens
Cache read$0.20 per 1M tokens
Cache write$2.50 per 1M tokens
Technical details
Model ID~anthropic/claude-sonnet-latest
Context window1M tokens
Input modalitiestext, image, file, pdf
Output modalitiestext
TokenizerRouter
Max output tokens128,000
Use with MegaBrain
import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://getmegabrain.com/api/gateway/v1',
apiKey: process.env.MEGABRAIN_API_KEY,
})
const response = await client.chat.completions.create({
model: '~anthropic/claude-sonnet-latest',
messages: [{ role: 'user', content: 'Hello!' }],
})Ready to use Anthropic Claude Sonnet Latest?
Get an API key and start making requests in minutes.
Get an API key