Generate text and analyze images with Claude Sonnet 5. High-performance reasoning, coding, and workflow automation. Try free, pay per generation.
About this model
Claude Sonnet 5 is Anthropic's flagship balanced model, delivering state-of-the-art reasoning, expert-level coding assistance, and advanced multimodal image-plus-text analysis. Built with an adaptive thinking engine and a 1-million-token context window, it excels at complex logic, agentic automation, and massive documentation workflows. Experience elite performance at a fraction of the cost: standard async (/claude-sonnet-5) and streaming (/claude-sonnet-5/stream) endpoints are billed per token, saving you up to 40% compared to typical enterprise rates.
Cost analysis
| Provider | Cost | Notes |
|---|---|---|
| muapiapp | $3.00/M input tokens, $15.00/M output tokens | Token-based billing. Minimum $0.0004 per call. Up to 40% cheaper than direct enterprise subscriptions. |
| Anthropic (official) | $3.00/M input tokens, $15.00/M output tokens | Standard retail pricing tier. |
| Fal.ai | Not available | Claude Sonnet 5 is not hosted on Fal.ai. |
Token-based billing. Minimum $0.0004 per call. Up to 40% cheaper than direct enterprise subscriptions.
Standard retail pricing tier.
Claude Sonnet 5 is not hosted on Fal.ai.
** Competitor pricing is estimated based on similar model architectures and usage tiers.
Configuration schema
| Parameter | Type | Description | Default |
|---|---|---|---|
| Prompt | string | The user message or instruction. | Draft a high-quality article about agentic coding workflows. |
| Image URL | string | Optional image URL for multimodal requests. | undefined |
| System Prompt | string | Optional system-level instruction to guide model behavior. | You are a professional copywriter. |
The user message or instruction.
Draft a high-quality article about agentic coding workflows.Optional image URL for multimodal requests.
undefinedOptional system-level instruction to guide model behavior.
You are a professional copywriter.Developer documentation
Submit text and multimodal prompts using standard async or real-time streaming Server-Sent Events (SSE).
POST /api/v1/claude-sonnet-5
Returns a request_id immediately. Poll /api/v1/predictions/{id}/result for completion status and output.
curl -X POST https://muapi.ai/api/claude-sonnet-5 \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Optimize this Python function for memory usage.",
"system_prompt": "You are a senior compiler engineer."
}'
POST /api/v1/claude-sonnet-5/stream
Returns a chunked Content-Type: text/event-stream stream. SSE deltas match the format data: {"choices":[{"delta":{"content":"..."}}]}, ending with data: [DONE].
Frequently asked
Claude Sonnet 5 supports a context window of up to 1 million input tokens and supports up to 8,192 output tokens per call.
Yes, Claude Sonnet 5 is a multimodal model. You can supply an optional image_url along with your prompt to ask questions about diagrams, document layout, screenshots, and visual assets.
Billing is token-based: input tokens cost $3.00 per million, and output tokens cost $15.00 per million. The minimum cost per request is $0.0004. Credits are automatically deducted from your account wallet balance once the token count is returned.
The standard route /api/v1/claude-sonnet-5 runs asynchronously and is ideal for backend tasks, scheduling, and agent scripts. The streaming route /api/v1/claude-sonnet-5/stream sends Server-Sent Events (SSE) in real-time, making it best for chat interfaces and interactive writing applications.
Yes. You can optionally include a system_prompt parameter in the request payload to instruct the model on role, tone, restrictions, and format instructions prior to processing the main prompt.