Pricing
- Input Tokens: $8.8 /M tokens
- Output Tokens: $8.8 /M tokens
Input Modalities
Try this model
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["AIHUBMIX_API_KEY"],
base_url="https://aihubmix.com/v1",
)
response = client.chat.completions.create(
model="claude-2",
messages=[
{
"role": "user",
"content": "Hello, how are you?"
}
],
max_tokens=1024,
stream=False,
)
print(response.choices[0].message.content)Frequently asked questions
How much does Claude 2 cost?
How do I call Claude 2 via API?
Who created Claude 2?
More models from Anthropic
See all Anthropic models →- Input: $ 4 /M
- Output: $ 20 /M
- Web Search: $0.01/request
Claude Opus 5.5 is Anthropic’s latest flagship model. In Anthropic’s comprehensive alignment testing, Opus 5.5 is the strongest-performing model tested to date. It also includes the safety safeguards Anthropic has developed for its most capable models.
- Input: $ 2 /M
- Output: $ 10 /M
- Web Search: $0.01/request
Claude Sonnet 5.5 is the next-generation product in Anthropic’s Sonnet model series; Claude Sonnet 5.5 offers the best balance between speed and intelligence. The following five major changes will affect code currently running on Claude Sonnet 5: 1. Using "between_tools" can disable up-front thinking. 2. Forcing the use of tools will result in an error. 3. Thinking content blocks are bound to the model and the conversation. 4. On the Claude API and Google Cloud, the older "computer_20251124" computer tool usage is no longer accepted. 5. The advisor tool will refuse to accept Claude Opus 4.8, Claude Opus 4.7, and Claude Sonnet 5 as advisor models. Use between_tools to disable up-front thinking. Forcing tool use will return an error. Thinking blocks are bound to the model and the conversation. On the Claude API and Google Cloud, early computer_20251124 computer tool usage is no longer accepted. The advisor tool no longer accepts Claude Opus 4.8, Claude Opus 4.7, and Claude Sonnet 5 as advisors.
- Input: $ 11 /M
- Output: $ 55 /M
- Web Search: $0.01/request
Claude-fable-5-1 is Anthropic's most capable newly released model, suitable for the most demanding reasoning and long-running agent work. Claude Fable 5.1, while keeping input and output prices the same as Claude Fable 5, reduces cache read prices to one quarter of the original and is more capable for long-running agent programming, multi-step research, and document, spreadsheet, and slide processing. (The model is extremely expensive and not recommended for casual use.)
- Input: $ 5 /M
- Output: $ 25 /M
- Web Search: $0.01/request
Claude Opus 5 is Anthropic’s flagship model for demanding reasoning, coding, and long-horizon agentic work. It is particularly strong at end-to-end software tasks, code review and bug finding, visual analysis of charts and documents, complex office deliverables, and coordinating parallel subagents. The model maintains strong instruction following and tool use across extended tasks, while remaining effective at lower effort settings for workloads that prioritize latency and token efficiency.
- Input: $ 2 /M
- Output: $ 10 /M
- Web Search: $0.01/request
Claude Sonnet 5 is the next generation of Anthropic's Sonnet model family. It is a drop-in upgrade for Claude Sonnet 4.6 with three behavior changes: adaptive thinking is on by default, manual extended thinking now returns a 400 error (it was deprecated on Claude Sonnet 4.6), and setting sampling parameters (temperature, top_p, top_k) to non-default values returns a 400 error
- Input: $ 11 /M
- Output: $ 55 /M
- Web Search: $0.01/request
Anthropic's most capable widely released model, for the most demanding reasoning and long-horizon agentic work(This model is extremely expensive and is not recommended for casual use.)
© 2023 - 2026 AIHubMix, LLC