Anthropic's balanced model offering strong reasoning and nuanced understanding with a 200k context window. Excellent for analysis, long document processing, coding assistance, and creative tasks. A strong all-around choice for production applications requiring reliability and depth.
Anthropic
200k tokens
8,192 tokens
anthropic/claude-3.5-sonnet
Drop-in compatible with any OpenAI client library.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.deployai.dev/v1",
apiKey: process.env.DEPLOYAI_API_KEY,
});
const completion = await client.chat.completions.create({
model: "anthropic/claude-3.5-sonnet",
messages: [
{ role: "user", content: "Hello, how are you?" }
],
});
console.log(completion.choices[0].message.content);Anthropic's most powerful model for highly complex tasks requiring deep analysis and nuanced output.
Near-instant responses for lightweight tasks. Ideal for high-throughput applications and quick interactions.
Most capable multimodal model. Excels at complex reasoning, coding, creative writing, and vision tasks.