claude-opus-4-6 API

At provider list price streamingvisionfunction-calling

Claude Opus 4.6 is Anthropic's Opus-class frontier model with a 1M-token context window. Call it on CaMeL Hub via the OpenAI-compatible API (base_url https://api.camel-hub.com/v1) for $5 per 1M input tokens and $25 per 1M output tokens — pure pay-as-you-go, no monthly minimum.

Pricing

per 1M input tokensper 1M output tokens
CaMeL Hub$5.00$25.00
Provider list price$5.00$25.00

Prices are the public default-group rate in USD per 1M tokens; input and output are billed separately. · Provider list price · verified 2026-07-11

Specifications

Provider
Anthropic
Context window
1000000 tokens
Max output
128000 tokens
Capabilities
streaming, vision, function-calling
Endpoints
anthropic, openai
Claude Opus 4.6 is the 4.6-generation Opus model from Anthropic, built for work where answer quality matters more than raw speed: multi-step reasoning, agentic coding across large repositories, and tool-driven workflows that run for many turns. It pairs the full 1,000,000-token context window with a 128,000-token output ceiling, so a single request can hold an entire codebase, a stack of contracts, or months of conversation history and still return a long, structured answer. Its model ID is a dateless pinned snapshot — claude-opus-4-6 always resolves to the same weights, which makes it a safe choice for production pipelines that must not drift. On CaMeL Hub the model bills strictly per token: $5 per 1M input tokens and $25 per 1M output tokens, the same headline rate as the newer Opus 4.7 and 4.8. Two documented details make it economical in practice. First, Anthropic's pricing page states the 1M-token window carries no long-context price tier — a 900K-token prompt is billed at the same per-token rate as a 9K one. Second, Opus 4.6 keeps the pre-4.7 tokenizer; Anthropic notes the tokenizer introduced with Opus 4.7 produces roughly 30% more tokens for the same text, so identical documents generally tokenize more compactly on Opus 4.6. Latency sits in the moderate band — slower than Sonnet- or Haiku-class models — which suits quality-first agent and batch workloads rather than latency-critical chat. CaMeL Hub exposes Opus 4.6 in two endpoint flavors: the OpenAI-compatible /v1/chat/completions route, where any OpenAI SDK works after switching base_url to https://api.camel-hub.com/v1, and an Anthropic-native Messages route for code already written against that API. Streaming, function calling, and image input are all supported. Accounts can be funded by one-off top-ups or subscription plans, with Alipay, WeChat Pay, and international cards accepted — and one API key covers this model alongside every other model on the platform, so A/B-testing it against GPT or Gemini needs no code changes beyond the model name.

What it is good for

Quickstart

OpenAI-compatible: set base_url to https://api.camel-hub.com/v1 and use your CaMeL Hub API key. No SDK changes needed.

cURL

curl https://api.camel-hub.com/v1/chat/completions \
  -H "Authorization: Bearer $CAMEL_HUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-opus-4-6",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Python

from openai import OpenAI

client = OpenAI(
    api_key="$CAMEL_HUB_KEY",
    base_url="https://api.camel-hub.com/v1",  # <-- the only change vs. the OpenAI default
)

resp = client.chat.completions.create(
    model="claude-opus-4-6",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)

Node.js

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.CAMEL_HUB_KEY,
  baseURL: "https://api.camel-hub.com/v1", // <-- the only change vs. the OpenAI default
});

const resp = await client.chat.completions.create({
  model: "claude-opus-4-6",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(resp.choices[0].message.content);

Get an API key Browse integration guides

Frequently asked questions

How is claude-opus-4-6 billed on CaMeL Hub?

Purely per token, with input and output priced separately: $5 per 1M input tokens and $25 per 1M output tokens. There is no per-request fee and no monthly minimum — you pay only for the tokens each call actually consumes, and every request is itemized in the console.

Does it support streaming, function calling, and image input?

Yes to all three. You can stream responses token by token (stream: true), define tools for function calling, and send images alongside text for vision tasks. Each works through CaMeL Hub the same way it does with a standard OpenAI-style or Anthropic-style client.

What are the context window and maximum output?

Claude Opus 4.6 accepts up to 1,000,000 tokens of context and can generate up to 128,000 output tokens per request. Per Anthropic's documentation, the full window is billed at the standard per-token rate — there is no long-context surcharge tier for this model.

How do I start using it?

Create an account at https://api.camel-hub.com/console, generate an API key, then point any OpenAI SDK at base_url https://api.camel-hub.com/v1 with model "claude-opus-4-6". If your code targets the Anthropic Messages API instead, the native endpoint format is also supported — no other changes needed.

How does Opus 4.6 differ from the newer Opus 4.7 and 4.8?

It lists at the same $5/$25 per-1M-token rate but is one to two generations older, with a reliable knowledge cutoff of May 2025 (training data through August 2025). It also keeps the earlier Claude tokenizer — Anthropic notes the tokenizer introduced with Opus 4.7 produces roughly 30% more tokens for the same text, so identical prompts generally tokenize more compactly on Opus 4.6. Choose it for stable, well-understood behavior; choose 4.8 for the freshest capabilities.

More from Anthropic