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 5 (batch)

anthropic/claude-sonnet-5:batch
TextInput: text · image · fileToolsReasoning1MAdded Jun 30, 2026

Try Anthropic: Claude Sonnet 5 (batch) now

Runs on your balance at the prices above. New accounts start with free usage.

One API. Every model.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign in

Session cost $0.00

Anthropic: Claude Sonnet 5 (batch) at a glance

  • Input price is 122% 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.01.

About Anthropic: Claude Sonnet 5 (batch)

Claude Sonnet 5 (batch) is a text model from Anthropic, offered on api14 under the model id anthropic/claude-sonnet-5:batch. Anthropic describes Sonnet 5 as its most capable Sonnet-class model, with frontier performance across coding, agents, and professional work. The batch variant is the same model served through a batch processing mode rather than an interactive one, which makes it a fit for workloads where you submit many requests and collect the results rather than waiting on each call in a live session.

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 is 128,000 tokens. Sonnet 5 supports adaptive thinking with selectable reasoning effort levels, including low, medium, high, and max. That combination of a very large context and a large output budget means you can hand it long documents, mixed text and image inputs, or whole file collections in a single request and still get a substantial response back.

Those capabilities point to a few practical patterns. Large-context work such as reviewing long codebases, summarizing or extracting from lengthy reports, and answering questions across many documents fits naturally, especially when the documents arrive as files or scanned images. Coding and agent-style tasks follow from the model's stated strengths, and the tool and structured output support makes it usable as the reasoning step in a pipeline that calls other systems. Because reasoning effort is selectable, you can dial it down for straightforward extraction and up for problems that need more deliberation, and the batch mode suits jobs that run on a schedule or over a queue rather than in a chat window.

To call it through api14, use the OpenAI-compatible chat completions interface with the model id anthropic/claude-sonnet-5:batch. The request supports include_reasoning, max_tokens, reasoning, reasoning_effort, response_format, stop, structured_outputs, tool_choice, tools, and verbosity. In practice that means you can cap output length with max_tokens, control how much thinking the model does with reasoning_effort, request machine-readable output through response_format or structured_outputs, and define callable functions with tools and tool_choice. The include_reasoning and verbosity parameters let you decide how much of the model's internal reasoning and how much detail you want surfaced in the response.

One thing to weigh is the batch mode itself. It is designed for asynchronous, high-volume submission, so if you need a synchronous reply inside an interactive application, a non-batch deployment of the same model would be the more natural choice. The model outputs text only, so tasks that require generating images or audio fall outside its scope. Within text work, though, the 1,000,000 token context and 128,000 token output ceiling cover most long-document and long-generation cases without needing to chunk inputs.

How to call the Anthropic: Claude Sonnet 5 (batch) API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "anthropic/claude-sonnet-5: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-5: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_outputstool_choicetoolsverbosity

Specifications

Context length
1,000,000
Max output
128,000
Input
text, image, file
Output
text

Requests on api14 · last 7 days

10-1610-1710-1810-1910-2010-2110-22

Anthropic: Claude Sonnet 5 (batch): frequently asked questions

How much does the Anthropic: Claude Sonnet 5 (batch) API cost?
Anthropic: Claude Sonnet 5 (batch) costs Input $3.50 / 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 5 (batch)?
Anthropic: Claude Sonnet 5 (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 5 (batch) do?
Anthropic: Claude Sonnet 5 (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 5 (batch) from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "anthropic/claude-sonnet-5:batch". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to Anthropic: Claude Sonnet 5 (batch)?
Comparable Text models at a similar price: Google: Gemini 4 Argon (batch), OpenAI: GPT-6.1 Sol Pro (batch), OpenAI: GPT-6.1 Sol (batch). Each runs through the same API key, so switching is one string.

Anthropic: Claude Sonnet 5 (batch) community

New topic

This community has no topics yet. Open the first one about Anthropic: Claude Sonnet 5 (batch).