36 Downloads Updated 1 month ago
ollama run treyleo16/claude-opus-4
Claude Opus 4 is Anthropic’s hybrid-reasoning frontier model that inaugurated the Claude 4 model generation. Built to handle long-running, thousands-step engineering tasks, Opus 4 introduced native extended thinking alongside a near-instant response mode, setting a benchmark for sustained, multi-hour autonomous agent execution.
Opus 4 was engineered specifically for heavy-cognition software engineering, long-horizon tool execution, and complex system refactoring. It operates as both a near-instant conversational engine and a deep-reasoning agent capable of managing multi-file edits without losing structural coherence.
Opus 4 operates across two distinct execution pathways: 1. Standard Mode: High-speed generation for low-latency chat and direct tool calls. 2. Extended Thinking Mode: Allocates an internal, hidden reasoning budget (up to 64k tokens) to analyze complex logic, evaluate edge cases, and run multi-path planning before producing final output.
When provided with local file system access, Opus 4 generates, updates, and reads dedicated “memory files” to maintain state, context, and project goals across long-running developer sessions.
| Parameter | Specification |
|---|---|
| API Model ID | claude-opus-4-20250522 / claude-opus-4 |
| Context Window | 200,000 tokens |
| Max Output Tokens | 32,768 tokens (Standard) / Up to 64,000 (Extended Thinking) |
| Input Modalities | Text, Code, Images (Vision), PDF Documents |
| Output Modalities | Text, Code, Structured JSON |
| API Pricing | \(15.00 / MTok Input \| \)75.00 / MTok Output |
| Native Capabilities | Parallel Tool Calling, Local Memory Generation, Computer Use |