Model API
Claude Sonnet 4.6 API
Claude Sonnet 4.6 API on Aiduct. Input tokens: $3.00 / 1M input tokens. 1,000,000 token context. View model parameters, pricing and integration examples.
Model ID
claude-sonnet-4-6
服務提供商
azureAnthropic
功能
chat, vision, tools, thinking, structured-output
狀態
可用
Pricing and limits
輸入 Token
$3.00 / 1M input tokens
輸出 Token 數
$15.00 / 1M output tokens
Cached input
$0.30 / 1M cached input tokens
Cache writes
$3.75 / 1M cache write tokens
One-hour cache writes
$6.00 / 1M one-hour cache write tokens
Web searches
$0.01 / web search
Rates are in USD for the stated unit. Model options and additional usage can affect the final charge. Check the live catalog before integrating.
- Context length
- 1,000,000
- 最大輸出
- 64,000
- Release date
- 2026-02
- 知識截止日期
- 2025-08
Use this model
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.AIDUCT_API_KEY,
baseURL: "https://api.aiduct.ai/v1",
});
const response = await client.chat.completions.create({
model: "claude-sonnet-4-6",
messages: [{ role: "user", content: "Say hello in one sentence." }],
});支援的參數
messagesmax_tokensstreamstoptoolstool_choiceresponse_formatuser