← All models
Claude Sonnet 4 was Anthropic's flagship model for most usecases. It is superceded by Sonnet 4.5.
Usage
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.tributary.cc/openai/v1",
apiKey: "<TRIBUTARY_API_KEY>",
});
const completion = await client.chat.completions.create({
model: "anthropic:claude-sonnet-4",
messages: [
{ role: "user", content: "Hello!" }
],
});
console.log(completion.choices[0].message.content); Providers
| Provider | Model | Context | Output | Input $/M | Output $/M |
|---|---|---|---|---|---|
| Anthropic | claude-sonnet-4-20250514 | 200K 200,000 tokens | 64K 64,000 tokens | $3.00 | $15.00 |
Context/output in tokens. Prices in USD per 1M tokens.