anthropic

Anthropic: Claude Opus 4

models/Claude Opus 4

Claude Opus 4 is benchmarked as the world's best coding model, at time of release, bringing sustained performance on complex, long running tasks and agent workflows. It sets new benchmarks in software engineering, achieving leading results on SWE bench (72.5%) and Terminal bench (43.2%). Opus 4 supports extended, agentic workflows, handling thousands of task steps continuously for hours without degradation. Read more at the [blog post here](https://www.anthropic.com/news/claude 4)
Currency$USD
Input$15.00
Output$75.00
Context window200K

Generate API Key Generate your API Key to securely access IndoxHub's AI models. Integrate with OpenAI-compatible tools, run queries, and build powerful AI applications — all with a single secure key.
Endpoint
POSThttps://api.indoxhub.com/api/v1/chat/completions
Configanthropic/claude-opus-4
from indoxhub import Client
 
# Initialize the client
with Client(api_key="[LOGIN TO GET API KEY]") as client:
    # Generate a chat completion
    response = client.chat(
        messages=[{"role":"system","content":"You are a helpful assistant."},{"role":"user","content":"What is machine learning and why is it important?"}],
        model="anthropic/claude-opus-4",
        temperature:"0.7"
    )
 
    # Print the response
    print(response["data"])