Anthropic model

Claude Sonnet 4.5

Claude Sonnet 4.5 is Anthropic’s most advanced Sonnet model to date, optimized for real-world agents and coding workflows. It delivers state-of-the-art performance on coding benchmarks such as SWE-bench Verified, with...

AnthropicOpenRouter if availableCatalog
Tool callingJSON modeLong contextReasoningStreamingVision
Input price$3 / 1M tokens
Output price$15 / 1M tokens
Context length1M tokens
AvailabilityCatalog

Best use cases

  • coding agents
  • code review
  • complex writing
  • long-document analysis

OpenAI-compatible code example

Keep the OpenAI SDK style, set base_url to NextModel, and use the catalog model ID claude-sonnet-4-5.

Python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.nextmodel.app/v1"
)

resp = client.chat.completions.create(
    model="claude-sonnet-4-5",
    messages=[{"role": "user", "content": "Hello from NextModel"}]
)

print(resp.choices[0].message.content)

Similar alternatives

AnthropicCatalog

Opus 4.7 is the next generation of Anthropic's Opus family, built for long-running, asynchronous agents. Building on the coding and agentic strengths of Opus 4.6, it delivers stronger performance on...

$5 / 1M tokensInput$25 / 1M tokensOutput1MContext
Best forfrontier reasoning, large codebase review, strategy analysis
Routingconfigured
Tool callingJSON modeLong contextReasoning
OpenRouter if availableOpenRouter public Models API live metadata; public price comes from the registry pricing rule
View details
GoogleCatalog

Gemini 2.5 Pro is Google’s state-of-the-art AI model designed for advanced reasoning, coding, mathematics, and scientific tasks. It employs “thinking” capabilities, enabling it to reason through responses with enhanced accuracy...

$1.25 / 1M tokensInput$10 / 1M tokensOutput1MContext
Best forlong-context analysis, vision workflows, scientific reasoning
Routingconfigured
Tool callingVisionJSON modeLong context
OpenRouter if availableOpenRouter public Models API live metadata; public price comes from the registry pricing rule
View details
DeepSeekCatalog

DeepSeek R1 is here: Performance on par with [OpenAI o1](/openai/o1), but open-sourced and with fully open reasoning tokens. It's 671B parameters in size, with 37B active in an inference pass....

$0.7 / 1M tokensInput$2.50 / 1M tokensOutput163.8kContext
Best forChinese reasoning, math, analysis
Routingconfigured
JSON modeLong contextReasoningStreaming
OpenRouter if availableOpenRouter public Models API live metadata; public price comes from the registry pricing rule
View details

FAQ

Anthropic: Claude Sonnet 4.5 API questions

Is Claude Sonnet 4.5 a good coding model?

Yes. It is listed as a high-quality coding and agent candidate because of its long context and instruction-following profile.

Anthropic: Claude Sonnet 4.5 API pricing, capabilities, context, and OpenAI-compatible code · NextModel