anthropic

claude-opus-4

completions

Our most capable and intelligent model yet. Claude Opus 4 sets new standards in complex reasoning and advanced coding

Input:$15 / 1M tokens$1.5 / 1M tokenscached read$18.75 / 1M tokenscached write
Output:$75 / 1M tokens
Context:200K tokens
tools
text
image
text
Category Rankings
science#12

Access claude-opus-4 through LangDB AI Gateway

Recommended

Integrate with anthropic's claude-opus-4 and 250+ other models through a unified API. Monitor usage, control costs, and enhance security.

Unified API
Cost Optimization
Enterprise Security
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests
Code Example
Configuration
Base URL
API Keys
Headers
Project ID in header
X-Run-Id
X-Thread-Id
Model Parameters
6 available
include_reasoning
max_tokens
stop
temperature
012
tool_choice
tools
Additional Configuration
Tools
Guards
User:
Id:
Name:
Tags:
Publicly Shared Threads5
  • anthropic
    Provided a complete Python Flask To-Do list API implementation with GET, POST, PUT, DELETE endpoints using in-memory storage and proper HTTP status codes.
    python flask todo api
    restful todo api
    in-memory todo list
    flask api example
  • anthropic
    Counted overlapping occurrences of "issi" in "Mississippi is famous for its river."—found 2 instances starting at indices 1 and 4.
    substring occurrence count
    overlapping substring search
    string index positions
    mississippi substring analysis
  • anthropic
    Calculating the total surface area of a right circular cylinder using formulas for curved surface and bases, resulting in 78π cm².
    cylinder surface area
    curved surface area formula
    total surface area cylinder
    surface area calculation
  • anthropic
    A detailed 3-step balance scale strategy systematically narrows 12 coins to find the single lighter counterfeit by grouping and comparing subsets each weighing.
    12 coins counterfeit identification
    3 weighings balance scale strategy
    finding lighter fake coin
    coin weighing puzzle solution
  • anthropic
    Guide and complete code for creating a responsive photo gallery with CSS Grid, two columns on ≥600px screens, one column on mobile, and image hover effects.
    responsive photo gallery
    css grid layout
    hover image effect
    media queries for layout
Popular Models10
  • deepseek
    DeepSeek V3, a 685B-parameter, mixture-of-experts model, is the latest iteration of the flagship chat model family from the DeepSeek team. It succeeds the [DeepSeek V3](/deepseek/deepseek-chat-v3) model and performs really well on a variety of tasks.
    Input:$0.18 / 1M tokens
    Output:$0.72 / 1M tokens
    Context:163840 tokens
    tools
    text
    text
  • openai
    GPT-4o mini (o for omni) is a fast, affordable small model for focused tasks. It accepts both text and image inputs, and produces text outputs (including Structured Outputs). It is ideal for fine-tuning, and model outputs from a larger model like GPT-4o can be distilled to GPT-4o-mini to produce similar results at lower cost and latency.The knowledge cutoff for GPT-4o-mini models is October, 2023.
    Input:$0.15 / 1M tokens
    Output:$0.6 / 1M tokens
    Context:128K tokens
    tools
    text
    image
    text
  • deepseek
    DeepSeek-Chat is an advanced conversational AI model designed to provide intelligent
    Input:$0.27 / 1M tokens
    Output:$1.1 / 1M tokens
    Context:64K tokens
    tools
    text
    text
  • deepseek
    May 28th update to the [original DeepSeek R1](/deepseek/deepseek-r1) 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. Fully open-source model.
    Input:$0.18 / 1M tokens
    Output:$0.72 / 1M tokens
    Context:163840 tokens
    text
    text
  • z-ai
    GLM-4.5 is our latest flagship foundation model, purpose-built for agent-based applications. It leverages a Mixture-of-Experts (MoE) architecture and supports a context length of up to 128k tokens. GLM-4.5 delivers significantly enhanced capabilities in reasoning, code generation, and agent alignment. It supports a hybrid inference mode with two options, a "thinking mode" designed for complex reasoning and tool use, and a "non-thinking mode" optimized for instant responses. Users can control the reasoning behaviour with the `reasoning` `enabled` boolean. [Learn more in our docs](https://openrouter.ai/docs/use-cases/reasoning-tokens#enable-reasoning-with-default-config)
    Input:$0.2 / 1M tokens
    Output:$0.8 / 1M tokens
    Context:98304 tokens
    tools
    text
    text
  • deepseek
    DeepSeek-Reasoner is an advanced AI model designed to enhance logical reasoning and problem-solving capabilities, leveraging deep learning techniques to provide accurate and contextually relevant insights across various domains.
    Input:$0.55 / 1M tokens
    Output:$2.19 / 1M tokens
    Context:64K tokens
    text
    text
  • anthropic
    Our high-performance model with exceptional reasoning and efficiency
    Input:$3 / 1M tokens
    Output:$15 / 1M tokens
    Context:200K tokens
    tools
    text
    image
    text
  • anthropic
    claude-opus-4
    anthropic
    Our most capable and intelligent model yet. Claude Opus 4 sets new standards in complex reasoning and advanced coding
    Input:$15 / 1M tokens
    Output:$75 / 1M tokens
    Context:200K tokens
    tools
    text
    image
    text
  • gemini
    Gemini 2.5 Pro is our most advanced reasoning Gemini model, capable of solving complex problems.
    Input:$1.25 / 1M tokens
    Output:$10 / 1M tokens
    Context:1M tokens
    tools
    text
    image
    audio
    video
    text
  • openai
    gpt-4.1
    openai
    GPT-4.1 is OpenAI's flagship model for complex tasks. It is well suited for problem solving across domains.
    Input:$2 / 1M tokens
    Output:$8 / 1M tokens
    Context:1047576 tokens
    tools
    text
    image
    text