Claude Sonnet 4.6: AI Text Generator

Claude Sonnet 4.6 delivers strong reasoning, advanced coding, and native computer-use functionality. Supports text and image inputs with up to 1M token context. Token-based pricing: $1.80/M input tokens, $9.00/M output tokens. Two endpoints: standard async (/claude-sonnet-4-6) and live streaming (/claude-sonnet-4-6/stream) via SSE.

πŸ“

Overview

About this model

Claude Sonnet 4.6 is Anthropic's high-performance model combining strong reasoning, advanced coding, and native computer-use functionality. With an adaptive thinking mode and up to 1 million token context, it excels at building reliable AI agents, complex automation, and large-scale content workflows. Pricing is token-based: $1.80 per million input tokens and $9.00 per million output tokens β€” significantly below official Anthropic pricing.

1Coding & Engineering: Write, review, and debug code with context-aware reasoning across large codebases.
2Agentic Workflows: Build autonomous agents that use tools, call APIs, and complete multi-step tasks.
3Content Generation: Draft long-form articles, summaries, reports, and structured documents.
4Multimodal Analysis: Combine image and text inputs to extract insights from diagrams, screenshots, and documents.
πŸ’°

Pricing & Value

Cost analysis

muapiapp$1.80/M input tokens, $9.00/M output tokens

Token-based billing. Minimum $0.00035 per call. ~60% of official Anthropic pricing.

Anthropic (official)~$3.00/M input tokens, ~$15.00/M output tokens

Official pricing via api.anthropic.com.

Fal.aiNot available

Claude Sonnet 4.6 is not available on Fal.ai.

* Competitor pricing is estimated based on similar model architectures and usage tiers.

βš™οΈ

Technical Details

Configuration schema

Promptstring

The user message or instruction.

Default ValueExplain the concept of recursion with a simple example.
Image URLstring

Optional image URL for multimodal requests.

Default Valueundefined
System Promptstring

Optional system-level instruction to guide model behavior.

Default ValueYou are a concise coding assistant.
πŸ“–

Implementation Guide

Developer documentation

Standard (Async)

POST /api/v1/claude-sonnet-4-6 β€” returns request_id, poll for result via /api/v1/predictions/{id}/result.

Streaming (SSE)

POST /api/v1/claude-sonnet-4-6/stream β€” returns a live Server-Sent Events stream (Content-Type: text/event-stream). Each chunk has the format data: {"choices":[{"delta":{"content":"text"}}]}, ending with data: [DONE].

See Streaming Documentation for full code examples.

❓

Common Questions

Frequently asked

How is pricing calculated?

Pricing is token-based: $1.80 per million input tokens and $9.00 per million output tokens. The minimum charge per call is $0.00035. Actual cost is deducted after each call based on token counts returned by the model.

What is the difference between /claude-sonnet-4-6 and /claude-sonnet-4-6/stream?

/claude-sonnet-4-6 is async β€” you receive a request_id and poll for the result. /claude-sonnet-4-6/stream returns a live SSE stream. Use streaming for chat UIs; use the async endpoint for workflows and automation.

Does Claude Sonnet 4.6 support images?

Yes. Pass an image_url in the request body to include an image as part of the user message.