We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
Anthropic: Claude Sonnet 4.6 (batch)
anthropic/claude-sonnet-4.6:batchTry Anthropic: Claude Sonnet 4.6 (batch) now
Runs on your balance at the prices above. New accounts start with free usage.
One API. Every model.
Session cost $0.00
Settings
Advanced parameters
Anthropic: Claude Sonnet 4.6 (batch) at a glance
- Input price is 233% higher than the median of 434 Text models.
- Context window of 1,000,000 tokens, enough for long documents and multi-turn conversations.
- Supports tool (function) calling for agents and integrations.
- Supports structured JSON output with a schema.
- Supports reasoning effort control.
- Accepts images as input (vision).
- A typical request (1,000 input / 500 output tokens) costs about $0.02.
About Anthropic: Claude Sonnet 4.6 (batch)
Claude Sonnet 4.6 (batch) is a text generation model from Anthropic, offered through api14 under the model id anthropic/claude-sonnet-4.6:batch. It belongs to Anthropic's Sonnet class, which the provider describes as its most capable Sonnet-class model yet, with frontier performance across coding, agents, and professional work. The batch label marks this as the batch variant of the model on api14.
The model accepts text, images, and files as input, and it produces text as output. Its context window is 1,000,000 tokens, and the maximum output length is 128,000 tokens. That combination of a very large context and a large output ceiling means you can supply long documents, whole codebases, or extended conversation histories in a single request and still receive a substantial response.
Those capabilities point to a fairly specific set of use cases. Iterative development and complex codebase navigation are areas Anthropic highlights, so tasks such as reviewing large repositories, tracing how a change propagates through many files, or working through multi step coding problems fit well. The same context size suits long document analysis, where an image or file input can be combined with a lengthy text prompt. Agent style workflows also follow naturally, since the model supports tool use and can carry a long running task across many turns. End to end project management and other professional work, as described by the provider, are further cases where a million token context and a large output budget are useful.
You call the model through api14's OpenAI compatible API using the model id anthropic/claude-sonnet-4.6:batch, with the same request shape you would use for other chat models on the gateway. The supported parameters are include_reasoning, max_tokens, reasoning, reasoning_effort, response_format, stop, structured_outputs, temperature, tool_choice, tools, top_p, and verbosity. Tool calling is configured through tools and tool_choice, structured results through response_format and structured_outputs, and reasoning behaviour through reasoning, reasoning_effort, and include_reasoning. Sampling is controlled with temperature and top_p, and verbosity adjusts response length alongside max_tokens.
Because this is the batch variant, it is worth checking whether batch processing matches how you intend to use the model, since interactive or latency sensitive applications may be better served by a non batch version of the same model. Beyond that, the facts here do not indicate any task the model cannot handle, so the choice mostly comes down to whether you need Anthropic's Sonnet class capabilities at this context size or a different model family entirely.
How to call the Anthropic: Claude Sonnet 4.6 (batch) API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "anthropic/claude-sonnet-4.6:batch".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.chat.completions.create({
"model": "anthropic/claude-sonnet-4.6:batch",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
Supported parameters
include_reasoningmax_tokensreasoningreasoning_effortresponse_formatstopstructured_outputstemperaturetool_choicetoolstop_pverbositySpecifications
- Context length
- 1,000,000
- Max output
- 128,000
- Input
- text, image, file
- Output
- text
Requests on api14 · last 7 days
Anthropic: Claude Sonnet 4.6 (batch): frequently asked questions
- How much does the Anthropic: Claude Sonnet 4.6 (batch) API cost?
- Anthropic: Claude Sonnet 4.6 (batch) costs Input $5.25 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
- What is the context window of Anthropic: Claude Sonnet 4.6 (batch)?
- Anthropic: Claude Sonnet 4.6 (batch) reads up to 1,000,000 tokens per request: prompt, history and documents together. It writes up to 128,000 output tokens per response.
- What can Anthropic: Claude Sonnet 4.6 (batch) do?
- Anthropic: Claude Sonnet 4.6 (batch) accepts text, image, file and returns text. It supports tool calling, structured JSON output, reasoning effort control.
- How do I call Anthropic: Claude Sonnet 4.6 (batch) from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "anthropic/claude-sonnet-4.6:batch". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Anthropic: Claude Sonnet 4.6 (batch)?
- Comparable Text models at a similar price: AionLabs: Aion 3.5, AionLabs: Aion-3.0, Mistral: Mistral Medium 3.5. Each runs through the same API key, so switching is one string.
Anthropic: Claude Sonnet 4.6 (batch) community
New topicThis community has no topics yet. Open the first one about Anthropic: Claude Sonnet 4.6 (batch).