---
title: Anthropic: Claude 3.7 Sonnet (thinking) | Text Generation | ModelsLab
description: Build with Anthropic: Claude 3.7 Sonnet (thinking) API by Anthropic. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab.com/models/anthropic/anthropic-claude-3.7-sonnet-thinking.md
canonical: https://modelslab.com/models/anthropic/anthropic-claude-3.7-sonnet-thinking.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-15T00:21:02.422578Z
---

Anthropic: Claude 3.7 Sonnet (thinking)
---

 [LLMs.txt](https://modelslab.com/models/open_router/anthropic-claude-3.7-sonnet-thinking/llms.txt) [.md](https://modelslab.com/models/anthropic/anthropic-claude-3.7-sonnet-thinking.md)

anthropic-claude-3.7-sonnet-thinking anthropic Closed Source Model $9.000000 / call

Anthropic: Claude 3.7 Sonnet (thinking)
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### Anthropic: Claude 3.7 Sonnet (thinking)

anthropic anthropic-claude-3.7-sonnet-thinking

Copy model ID

PricingInput $3.00 / 1M tokens

Output $15.00 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[MM](https://modelslab.com/models/open_router/minimax-minimax-m2.7)[Open Router](https://modelslab.com/models/open_router)

 [MiniMax: MiniMax M2.7

Closed Source Model](https://modelslab.com/models/open_router/minimax-minimax-m2.7)

[NL](https://modelslab.com/models/open_router/nvidia-llama-3.3-nemotron-super-49b-v1.5)[Open Router](https://modelslab.com/models/open_router)

 [NVIDIA: Llama 3.3 Nemotron Super 49B V1.5

Closed Source Model](https://modelslab.com/models/open_router/nvidia-llama-3.3-nemotron-super-49b-v1.5)

[Q2](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-Coder-32B-Instruct)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen 2.5 Coder 32B Instruct

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-Coder-32B-Instruct)

[SL](https://modelslab.com/models/open_router/sao10k-l3-lunaris-8b)[Open Router](https://modelslab.com/models/open_router)

 [Sao10K: Llama 3 8B Lunaris

Closed Source Model](https://modelslab.com/models/open_router/sao10k-l3-lunaris-8b)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-vl-30b-a3b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 VL 30B A3B Instruct

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-vl-30b-a3b-instruct)

[GG](https://modelslab.com/models/open_router/google-gemma-4-26b-a4b-it-free)[Open Router](https://modelslab.com/models/open_router)

 [Google: Gemma 4 26B A4B (free)

Closed Source Model](https://modelslab.com/models/open_router/google-gemma-4-26b-a4b-it-free)

[NA](https://modelslab.com/models/open_router/nex-agi-deepseek-v3.1-nex-n1)[Open Router](https://modelslab.com/models/open_router)

 [Nex AGI: DeepSeek V3.1 Nex N1

Closed Source Model](https://modelslab.com/models/open_router/nex-agi-deepseek-v3.1-nex-n1)

[IM](https://modelslab.com/models/open_router/inception-mercury)[Open Router](https://modelslab.com/models/open_router)

 [Inception: Mercury

Closed Source Model](https://modelslab.com/models/open_router/inception-mercury)

[N3](https://modelslab.com/models/together_ai/nim-nvidia-llama-3.1-nemotron-70b-instruct)[Together AI](https://modelslab.com/models/together_ai)

 [nim/nvidia/llama-3.1-nemotron-70b-instruct

Closed Source Model](https://modelslab.com/models/together_ai/nim-nvidia-llama-3.1-nemotron-70b-instruct)

[US](https://modelslab.com/models/open_router/upstage-solar-pro-3)[Open Router](https://modelslab.com/models/open_router)

 [Upstage: Solar Pro 3

Closed Source Model](https://modelslab.com/models/open_router/upstage-solar-pro-3)

[AC](https://modelslab.com/models/open_router/anthropic-claude-opus-4.1)[Open Router](https://modelslab.com/models/open_router)

 [Anthropic: Claude Opus 4.1

Closed Source Model](https://modelslab.com/models/open_router/anthropic-claude-opus-4.1)

[DD](https://modelslab.com/models/open_router/deepseek-deepseek-v3.2-exp)[Open Router](https://modelslab.com/models/open_router)

 [DeepSeek: DeepSeek V3.2 Exp

Closed Source Model](https://modelslab.com/models/open_router/deepseek-deepseek-v3.2-exp)

[ML](https://modelslab.com/models/together_ai/meta-llama-Meta-Llama-3.1-8B-Instruct-Turbo)[Together AI](https://modelslab.com/models/together_ai)

 [Meta Llama 3.1 8B Instruct Turbo

Closed Source Model](https://modelslab.com/models/together_ai/meta-llama-Meta-Llama-3.1-8B-Instruct-Turbo)

[NN](https://modelslab.com/models/open_router/nvidia-nemotron-3-nano-30b-a3b-free)[Open Router](https://modelslab.com/models/open_router)

 [NVIDIA: Nemotron 3 Nano 30B A3B (free)

Closed Source Model](https://modelslab.com/models/open_router/nvidia-nemotron-3-nano-30b-a3b-free)

[OG](https://modelslab.com/models/open_router/openai-gpt-5.4-mini)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-5.4 Mini

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-5.4-mini)

[OG](https://modelslab.com/models/open_router/openai-gpt-4.1)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-4.1

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-4.1)

[T2](https://modelslab.com/models/meta/scb10x-scb10x-typhoon-2-1-gemma3-12b)[ModelsLab](https://modelslab.com/models/meta)

 [Typhoon 2.1 12B

Closed Source Model](https://modelslab.com/models/meta/scb10x-scb10x-typhoon-2-1-gemma3-12b)

[Q3](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-3B-Instruct)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen2.5 3B Instruct

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-3B-Instruct)

About Anthropic: Claude 3.7 Sonnet (Thinking)
---

Claude 3.7 Sonnet is an advanced large language model with improved reasoning, coding, and problem-solving capabilities. It introduces a hybrid reasoning approach, allowing users to choose between rapid responses and...

### Technical Specifications

Model IDanthropic-claude-3.7-sonnet-thinkingCategoryLLM ModelsTaskText GenerationPrice$9.000000 per million tokensAddedFebruary 20, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Anthropic: Claude 3.7 Sonnet (Thinking) into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "anthropic-claude-3.7-sonnet-thinking",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab.com/models/anthropic/anthropic-claude-3.7-sonnet-thinking/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Anthropic: Claude 3.7 Sonnet (Thinking) API costs $9.000000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Learn more about Anthropic: Claude 3.7 Sonnet (Thinking)](https://modelslab.com/anthropic-claude-37-sonnet-thinking) [Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Anthropic](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Anthropic: Claude 3.7 Sonnet (Thinking) FAQ
---

### What is Anthropic: Claude 3.7 Sonnet (Thinking)?

Claude 3.7 Sonnet is an advanced large language model with improved reasoning, coding, and problem-solving capabilities. It introduces a hybrid reasoning approach, allowing users to choose between rapid responses and...

### How do I use the Anthropic: Claude 3.7 Sonnet (Thinking) API?

You can integrate Anthropic: Claude 3.7 Sonnet (Thinking) into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "anthropic-claude-3.7-sonnet-thinking" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Anthropic: Claude 3.7 Sonnet (Thinking) cost?

Anthropic: Claude 3.7 Sonnet (Thinking) costs $9.000000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Anthropic: Claude 3.7 Sonnet (Thinking) model ID?

The model ID for Anthropic: Claude 3.7 Sonnet (Thinking) is "anthropic-claude-3.7-sonnet-thinking". Use this ID in your API requests to specify this model.

### Does Anthropic: Claude 3.7 Sonnet (Thinking) have a free tier?

Yes, ModelsLab offers a free tier that lets you try Anthropic: Claude 3.7 Sonnet (Thinking) and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-04-15*