---
title: Anthropic: Claude 3.7 Sonnet | Text Generation | ModelsLab
description: Frontier LLM with hybrid reasoning (standard/extended modes), 200K token context, multimodal (text/image), excels in coding & agents; $3/$15 per M.
url: https://modelslab.com/models/anthropic/anthropic-claude-3.7-sonnet.md
canonical: https://modelslab.com/models/anthropic/anthropic-claude-3.7-sonnet.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-15T00:26:01.111909Z
---

Anthropic: Claude 3.7 Sonnet
---

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

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

Anthropic: Claude 3.7 Sonnet
---

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

anthropic anthropic-claude-3.7-sonnet

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)

[GN](https://modelslab.com/models/open_router/google-gemini-3-pro-image-preview)[Open Router](https://modelslab.com/models/open_router)

 [Google: Nano Banana Pro (Gemini 3 Pro Image Preview)

Closed Source Model](https://modelslab.com/models/open_router/google-gemini-3-pro-image-preview)

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

 [Qwen 2 Instruct (1.5B)

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

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

 [Qwen: Qwen3 30B A3B Instruct 2507

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

[GG](https://modelslab.com/models/open_router/google-gemini-2.0-flash-001)[Open Router](https://modelslab.com/models/open_router)

 [Google: Gemini 2.0 Flash

Closed Source Model](https://modelslab.com/models/open_router/google-gemini-2.0-flash-001)

[RL](https://modelslab.com/models/refuel_ai/togethercomputer-Refuel-Llm-V2-Small)[ModelsLab](https://modelslab.com/models/refuel_ai)

 [Refuel LLM V2 Small

Closed Source Model](https://modelslab.com/models/refuel_ai/togethercomputer-Refuel-Llm-V2-Small)

[OG](https://modelslab.com/models/open_router/openai-gpt-oss-safeguard-20b)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: gpt-oss-safeguard-20b

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-oss-safeguard-20b)

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

 [Sao10k: Llama 3 Euryale 70B v2.1

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

[DV](https://modelslab.com/models/together_ai/deepseek-ai-DeepSeek-V3-DE)[Together AI](https://modelslab.com/models/together_ai)

 [Deepseek V3

Closed Source Model](https://modelslab.com/models/together_ai/deepseek-ai-DeepSeek-V3-DE)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-coder)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 Coder 480B A35B

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-coder)

[CV](https://modelslab.com/models/together_ai/deepcogito-cogito-v1-preview-qwen-14B)[Together AI](https://modelslab.com/models/together_ai)

 [Cogito V1 Preview Qwen 14B

Closed Source Model](https://modelslab.com/models/together_ai/deepcogito-cogito-v1-preview-qwen-14B)

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

 [MiniMax: MiniMax M2

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

[CV](https://modelslab.com/models/together_ai/deepcogito-cogito-v1-preview-llama-70B-Turbo)[Together AI](https://modelslab.com/models/together_ai)

 [Cogito V1 Preview Llama 70B Turbo

Closed Source Model](https://modelslab.com/models/together_ai/deepcogito-cogito-v1-preview-llama-70B-Turbo)

[OO](https://modelslab.com/models/open_router/openai-o1-pro)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: o1-pro

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

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

 [Qwen: Qwen3 VL 32B Instruct

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

[XG](https://modelslab.com/models/open_router/x-ai-grok-3)[Open Router](https://modelslab.com/models/open_router)

 [xAI: Grok 3

Closed Source Model](https://modelslab.com/models/open_router/x-ai-grok-3)

[L3](https://modelslab.com/models/together_ai/meta-llama-Llama-3.2-1B)[Together AI](https://modelslab.com/models/together_ai)

 [Llama 3.2 1B

Closed Source Model](https://modelslab.com/models/together_ai/meta-llama-Llama-3.2-1B)

[QQ](https://modelslab.com/models/open_router/qwen-qwen-plus)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen-Plus

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen-plus)

[![GPT-5](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/a05bf5f0-fe1a-4815-b135-3325beef2516.webp)](https://modelslab.com/models/openai/gpt-5)[Open Ai](https://modelslab.com/models/openai)

 [GPT-5

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

About Anthropic: Claude 3.7 Sonnet
---

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-sonnetCategoryLLM ModelsTaskText GenerationPrice$9.000000 per million tokensAddedAugust 5, 2025

### 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 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",
        "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/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Anthropic: Claude 3.7 Sonnet 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](https://modelslab.com/anthropic-claude-37-sonnet) [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 FAQ
---

### What is Anthropic: Claude 3.7 Sonnet?

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 API?

You can integrate Anthropic: Claude 3.7 Sonnet 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" 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 cost?

Anthropic: Claude 3.7 Sonnet 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 model ID?

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

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

Yes, ModelsLab offers a free tier that lets you try Anthropic: Claude 3.7 Sonnet 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*