---
title: Anthropic Claude Sonnet Latest | Text Generation | ModelsLab
description: Build with Anthropic Claude Sonnet Latest API by Anthropic. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/anthropic/anthropic-claude-sonnet-latest.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/anthropic/anthropic-claude-sonnet-latest.md
type: product
component: Playground/LLM/Index
generated_at: 2026-07-11T22:02:37.812047Z
---

Anthropic Claude Sonnet Latest
---

 [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/anthropic-claude-sonnet-latest/llms.txt) [.md](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/anthropic/anthropic-claude-sonnet-latest.md)

Anthropic Claude Sonnet Latest
---

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 Sonnet Latest

anthropic anthropic-claude-sonnet-latest

Copy model ID

PricingInput $2.00 / 1M tokens

Output $10.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-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster)

[#### open\_router/Meta: Llama 4 Scout

meta-llama-llama-4-scout

From $0.20/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/meta-llama-llama-4-scout)

[#### open\_router/Google: Gemini 2.5 Flash

google-gemini-2.5-flash

From $1.40/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemini-2.5-flash)

[#### openai/GPT-5.1-Codex-Max

gpt-5.1-codex-max

From $5.63/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/gpt-5.1-codex-max)

[#### open\_router/Qwen: Qwen3 Next 80B A3B Thinking

qwen-qwen3-next-80b-a3b-thinking

From $0.44/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-next-80b-a3b-thinking)

[#### open\_router/Google Gemini Pro Latest

google-gemini-pro-latest

From $7.00/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemini-pro-latest)

[#### open\_router/AionLabs: Aion-3.0-Mini

aion-labs-aion-3.0-mini

From $1.05/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/aion-labs-aion-3.0-mini)

[#### open\_router/Google: Gemini 2.5 Pro Preview 05-06

google-gemini-2.5-pro-preview-05-06

From $5.63/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemini-2.5-pro-preview-05-06)

[#### open\_router/Qwen: Qwen-Plus

qwen-qwen-plus

From $0.52/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen-plus)

[#### together\_ai/LFM2-24B-A2B

LiquidAI-LFM2-24B-A2B

From $0.07/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/LiquidAI-LFM2-24B-A2B)

[#### open\_router/OpenAI: GPT-5.6 Luna

openai-gpt-5.6-luna

From $3.50/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-5.6-luna)

[#### open\_router/Qwen: Qwen3 Next 80B A3B Instruct

qwen-qwen3-next-80b-a3b-instruct

From $0.59/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-next-80b-a3b-instruct)

[#### meta/Llama 3.1 Nemotron 70B Instruct HF

nvidia-Llama-3.1-Nemotron-70B-Instruct-HF

From $0.88/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/nvidia-Llama-3.1-Nemotron-70B-Instruct-HF)

[#### open\_router/Z.ai: GLM 4.5V

z-ai-glm-4.5v

From $1.20/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/z-ai-glm-4.5v)

[#### open\_router/Tencent: Hy3

tencent-hy3

From $0.36/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/tencent-hy3)

[#### deepseek/DeepSeek R1 Distill Qwen 14B

deepseek-ai-DeepSeek-R1-Distill-Qwen-14B

From $1.60/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/deepseek/deepseek-ai-DeepSeek-R1-Distill-Qwen-14B)

[#### open\_router/MiniMax: MiniMax M3

minimax-minimax-m3

From $0.75/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/minimax-minimax-m3)

[#### open\_router/OpenAI: GPT-4

openai-gpt-4

From $45.00/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-4)

[#### open\_router/Qwen: Qwen3.5 Plus 2026-04-20

qwen-qwen3.5-plus-20260420

From $1.05/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3.5-plus-20260420)

Open Source Alternatives
---

Explore open-source models that offer similar capabilities with full transparency and flexibility

 [View all open source models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llm&provider=open-source-models)

[MU

Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/uncensored-chat)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Modelslab: Uncensored Chat

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/uncensored-chat)

About Anthropic Claude Sonnet Latest
---

Anthropic Claude Sonnet Latest is a text generation AI model by Anthropic available on ModelsLab. Access Anthropic Claude Sonnet Latest through our API with pay-per-use pricing and no minimum commitments.

### Technical Specifications

Model IDanthropic-claude-sonnet-latest

CategoryLLM Models

TaskText Generation

Price$6 per million tokens

AddedApril 27, 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 Sonnet Latest into your application with a single API call. Get your API key from the [pricing page](https://modelslab-frontend-v2-927501783998.us-east4.run.app/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-sonnet-latest",
        "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>
```

### Pricing

Anthropic Claude Sonnet Latest API costs $6.000000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

### Use Cases

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

[Browse LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster) [More from Anthropic](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router) [View Pricing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

Anthropic Claude Sonnet Latest FAQ
---

### What is Anthropic Claude Sonnet Latest?

Anthropic Claude Sonnet Latest is a text generation AI model by Anthropic available on ModelsLab. Access it through our API with pay-per-use pricing and no minimum commitments.

### How do I use the Anthropic Claude Sonnet Latest API?

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

### How much does Anthropic Claude Sonnet Latest cost?

Anthropic Claude Sonnet Latest costs $6.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 Sonnet Latest model ID?

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

### Does Anthropic Claude Sonnet Latest have a free tier?

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