Anthropic: Claude Sonnet 4
ID: anthropic/claude-sonnet-4
280,24 ₽
Запрос/ 1М
1 401,22 ₽
Ответ / 1М
—
Изображение вход /1М
—
Изображение выход /1М
200K
Контекст
64K
Макс. ответ
Описание
Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on SWE-bench (72.7%), Sonnet 4 balances capability and computational efficiency, making it suitable for a broad range of applications from routine coding tasks to complex software development projects. Key enhancements include improved autonomous codebase navigation, reduced error rates in agent-driven workflows, and increased reliability in following intricate instructions. Sonnet 4 is optimized for practical everyday use, providing advanced reasoning capabilities while maintaining efficiency and responsiveness in diverse internal and external scenarios.
Read more at the blog post here
Провайдеры для Anthropic: Claude Sonnet 4
Amazon Bedrock
Статус
Anthropic
Статус
Статус
API и примеры кода
Наш сервис предоставляет единый API, совместимый с OpenAI SDK. Просто укажите наш base_url и используйте ключ, полученный в личном кабинете.
import OpenAI from 'openai';
const openai = new OpenAI({
baseURL: 'https://polza.ai/api/v1',
apiKey: '<POLZA_AI_API_KEY>'
});
async function main() {
const completion = await openai.chat.completions.create({
model: 'anthropic/claude-sonnet-4',
messages: [{
role: 'user',
content: 'Что думаешь об этой жизни?',
}],
});
console.log(completion.choices[0].message);
}
main();
Polza.AI — лучший выбор
для
Воспользуйтесь сервисом прямо сейчас. А если остались вопросы - запишитесь на демо