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

anthropic/claude-sonnet-4.5:batch
TextInput: text · image · fileToolsReasoning1MAdded Sep 29, 2025

Try Anthropic: Claude Sonnet 4.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 4.5 (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.5 (batch)

Anthropic: Claude Sonnet 4.5 (batch) is a text generation model from Anthropic, offered through api14 under the model id anthropic/claude-sonnet-4.5:batch. It belongs to the Sonnet line, which Anthropic positions as its most advanced Sonnet model to date, optimized for real-world agents and coding workflows. The batch variant is the same model served through a batch workflow rather than an interactive one, which makes it a fit for work that does not need an immediate reply.

The model accepts text, images and files as input and returns text. Its context window is 1,000,000 tokens, and it can produce up to 64,000 output tokens per request. Its knowledge cutoff is 2025-01-31, so anything after that date is outside what the model learned during training. Because it handles images and files alongside text, you can send screenshots, documents and mixed content in the same conversation rather than converting everything to plain text first.

Those capabilities point to a few practical patterns. Coding workflows are a natural fit: the model was tuned for them, and the large context window lets you include whole repositories, long diffs or extensive logs in a single request. Agent-style tasks also make sense, since the model supports tool calling and structured outputs, which are the building blocks for loops that read data, call functions and act on results. Document and image understanding is another use case: you can pass PDFs, screenshots or scanned pages and ask for extraction, summarization or classification. The batch mode suits jobs that run over many items, such as bulk summarization, dataset labeling or overnight code review, where throughput matters more than latency.

To call it, send a request to api14's OpenAI-compatible chat completions endpoint with the model id anthropic/claude-sonnet-4.5:batch. Because the API is OpenAI-compatible, existing OpenAI SDKs and clients work with only the base URL and model id changed. The supported request parameters are include_reasoning, max_tokens, reasoning, response_format, stop, structured_outputs, temperature, tool_choice, tools, top_k and top_p. In practice that means you can control sampling with temperature, top_p and top_k, cap output with max_tokens, constrain replies with response_format or structured_outputs, define functions with tools and tool_choice, and manage reasoning behavior with reasoning and include_reasoning.

Two things are worth checking before you commit. The batch variant is not the right choice when you need a response within a normal interactive request, since batch processing is designed for deferred work; for chat or live agent steps, use the standard non-batch model instead. Also, the knowledge cutoff of 2025-01-31 means the model has no built-in awareness of events after that date, so anything recent has to come from the prompt, retrieved documents or tool results. If your task is purely text and small in scope, a lighter model may be enough, but for long-context coding, document-heavy input or tool-driven agents, this model covers those needs directly.

How to call the Anthropic: Claude Sonnet 4.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-4.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-4.5:batch",
  "messages": [
    {
      "role": "user",
      "content": "Explain vector databases in two sentences."
    }
  ]
});
console.log(result.choices[0].message.content);

Supported parameters

include_reasoningmax_tokensreasoningresponse_formatstopstructured_outputstemperaturetool_choicetoolstop_ktop_p

Specifications

Context length
1,000,000
Max output
64,000
Input
text, image, file
Output
text
Knowledge cutoff
2025-01-31

Requests on api14 · last 7 days

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

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

How much does the Anthropic: Claude Sonnet 4.5 (batch) API cost?
Anthropic: Claude Sonnet 4.5 (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.5 (batch)?
Anthropic: Claude Sonnet 4.5 (batch) reads up to 1,000,000 tokens per request: prompt, history and documents together. It writes up to 64,000 output tokens per response.
What can Anthropic: Claude Sonnet 4.5 (batch) do?
Anthropic: Claude Sonnet 4.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 4.5 (batch) from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "anthropic/claude-sonnet-4.5:batch". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to Anthropic: Claude Sonnet 4.5 (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.5 (batch) community

New topic

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