Claude Sonnet 4

Text & chattUtgÄttInte tillgÀnglig
av AnthropicModell-ID: claude-sonnet-4

Anthropic's most capable model. Excellent for complex analysis, coding, math, and creative writing.

Status
Inte tillgÀnglig
Kontext
200 000 tokens
Max. utdata
8 192 tokens
Inmatning → utmatning
Text → Text
Utvecklare
Anthropic
Uppdaterad
23 september 2026

Claude Sonnet 4 Àr för nÀrvarande otillgÀnglig

Du kan fortfarande lÀsa detaljerna pÄ denna sida. VÀlj ett av de tillgÀngliga alternativen nedan för att köra en jÀmförbar modell direkt.

GĂ„ till alternativ

Leverantören har slutat erbjuda denna modell.

Nyare version tillgÀnglig: Claude Sonnet 4.6

01

JÀmförbara modeller

Alla i denna kategori
02

Playground

Prova Claude Sonnet 4

Chatt

Inte tillgÀnglig för nÀrvarande

Inte tillgÀnglig för nÀrvarande.

Lekplatsen Àr inaktiverad. Du hittar jÀmförbara modeller i samma kategori: Visa alternativ

Prova Claude Sonnet 4

Skicka ett meddelande. Svaret kommer i sin helhet nÀr modellen Àr klar (ingen streaming).

Systemprompt
Max. svarslÀngd (tokens)

Denna körning

Inget pris – för nĂ€rvarande otillgĂ€ngligt.

Ny hÀr?

10 gratis credits (0,10 US$) nÀr du registrerar dig med Google

AnvÀndbar 24 timmar efter registrering, upp till 5 körningar per dag och högst 2 credits per körning. Andra inloggningsmetoder startar utan credits.

03

Om Claude Sonnet 4

Kort sagtFrÄn och med 23 september 2026

Claude Sonnet 4 Àr en modell av Anthropic i kategorin Text & chatt. Claude Sonnet 4 Àr för nÀrvarande inte tillgÀnglig pÄ Railwail. Kontextfönstret innehÄller 200 000 tokens, och ett svar kan vara upp till 8 192 tokens lÄngt. Nyare version: Claude Sonnet 4.6.

Bakgrund

Om Anthropic

Grundat 2021 · San Francisco, USA

Anthropic was founded in 2021 by Dario and Daniela Amodei alongside ex-OpenAI researchers including Tom Brown and Jared Kaplan. The company is a Public Benefit Corporation focused on AI safety, interpretability and steerability. Foundational papers from the team include 'Scaling Laws for Neural Language Models' (Kaplan et al., 2020), 'Training a Helpful and Harmless Assistant' (2022) and 'Constitutional AI' (2022). The Claude product family was launched in March 2023 starting with Claude 1, followed by Claude 2, the Claude 3 family in March 2024, Claude 3.5 Sonnet in mid-2024, Claude 3.7 Sonnet with extended thinking in early 2025 and the Claude 4 family (Opus 4 and Sonnet 4) in May 2025. Anthropic is backed by Google, Amazon, Spark Capital, Lightspeed and others, with cumulative funding above $15 billion and a 2025 valuation above $60 billion. Anthropic publishes a Responsible Scaling Policy that defines ASL safety levels and is widely cited in AI governance debates.

Besök Anthropic

Arkitektur

Decoder-only Transformer (balanced production model)

Claude Sonnet 4 is the mid-tier flagship in the Claude 4 family, positioned as the default daily-driver model balancing latency, cost and capability. Architecturally it is a decoder-only Transformer pretrained on a curated multilingual corpus of web data, source code, books and licensed datasets, with a March 2025 data cutoff. Post-training applies a combination of supervised fine-tuning, Reinforcement Learning from Human Feedback (RLHF), Constitutional AI for harmlessness, and Reinforcement Learning from AI Feedback to scale alignment work. Sonnet 4 supports extended thinking with adjustable thinking budgets, allowing developers to trade additional latency for stronger reasoning on demand. Tool use, parallel tool calls, structured JSON output and Anthropic's computer use API are supported natively. Multimodal training jointly grounds images and text so charts, screenshots and PDF pages can be reasoned about within the 200K context. Sonnet 4 is co-trained alongside Opus 4 using shared infrastructure, then distilled and specialised toward throughput rather than maximum capability. Anthropic evaluated the model under Responsible Scaling Policy ASL-3 safeguards with internal red-teaming and external partners such as METR and Apollo Research before public release.

Parameter
Undisclosed (estimated mid-hundred billion parameters dense)
Kontext
200 000 tokens

Funktioner

  • Strong coding model with high SWE-bench Verified scores at production cost
  • Optional extended thinking mode with configurable token budget
  • 200K context window with reliable long-document recall
  • Multimodal input including images, charts and PDFs
  • Tool use, parallel tool calls and computer use API
  • Stable agent loops over hours of autonomous work
  • Strict JSON, XML and schema-constrained output
  • Excellent at instruction following and persona retention
  • Multilingual reasoning across major European and Asian languages
  • Low refusal rate on benign technical content thanks to Constitutional AI tuning
  • Best for: production assistants, coding copilots, agent backbones, document analysis at scale.

TrÀning & licens

Pretrained on a multi-trillion-token mixture of curated web text, books, code repositories, licensed data and synthetic data, with quality and deduplication filters. Data cutoff is March 2025. Post-training uses human preference data, Constitutional AI critiques and RLAIF on top of supervised fine-tuning.

Licens: Proprietary commercial license via Anthropic API, Amazon Bedrock and Google Vertex AI.

SĂ€kerhetstestning: Anthropic Frontier Red Team plus external evaluators (METR, Apollo Research) tested for autonomy, CBRN uplift and cyber misuse under ASL-3 safeguards.

KÀnda begrÀnsningar

  • No native audio or video input
  • Knowledge cutoff March 2025
  • Will refuse some dual-use security questions
  • No customer fine-tuning available
  • Not as strong as Opus 4 on hardest math/coding benchmarks
04

Priser

Inte tillgÀnglig för nÀrvarande. Det finns ingen pris för denna modell för nÀrvarande, sÄ den kan inte köras.

05

API

Anropa Claude Sonnet 4 med din Railwail API-nyckel. AnvÀnd detta modell-ID i begÀran:

För nÀrvarande otillgÀnglig

Modellen har inget verifierat pris eller Àr inaktiverad; API-anrop avvisas.

06

Specifikationer

Modell-ID
claude-sonnet-4
Utvecklare
Anthropic
Kategori
Text & chatt
Inmatning
Text
Utmatning
Text
Kontextfönster
200 000 tokens
Max. utmatning
8 192 tokens
Livscykel
UtgÄtt
Modellstorlek
Undisclosed (estimated mid-hundred billion parameters dense)
Licens
Proprietary commercial license via Anthropic API, Amazon Bedrock and Google Vertex AI.
KataloginlÀgg uppdaterat
23 september 2026

Taggar

  • popular
  • coding
  • analysis
07

Exempelprompts

Exempel frÄn Railwail-katalogen. De genererades inte live pÄ denna sida.
  • Code Review

    Review this function and suggest improvements: function add(a,b){return a+b}
    Visa exempelsvar

    The function works but could benefit from several improvements. Add TypeScript types for safety: `function add(a: number, b: number): number`. Consider input validation to handle edge cases like NaN or Infinity. You might also add JSDoc comments for documentation. For a utility function, consider making it part of a math utilities module rather than a standalone global function.

  • Creative Story

    Write the opening paragraph of a sci-fi story set on a generation ship that has been traveling for 300 years
    Visa exempelsvar

    Captain Yara Chen pressed her palm against the observation deck glass, feeling the faint vibration of engines that had been running since before her great-great-grandmother was born. Outside, the stars looked the same as they always had—unchanged pinpricks against the void—but the ship's AI had confirmed it this morning: Kepler-442b was now close enough to resolve as a pale blue dot on the long-range sensors. Three hundred years of recycled air, artificial seasons, and carefully rationed hope were finally converging on something real.

08

AnvÀndningsfall

Vad det anvÀnds till

  • Production chatbots and assistants
  • Coding copilots and IDE integrations
  • Agent backbones for SaaS workflows
  • Document Q&A over 200K context
  • Customer support automation
  • Content creation and editing
09

Vanliga frÄgor

Vad Àr Claude Sonnet 4?

Claude Sonnet 4 Àr en modell av Anthropic i kategorin Text & chatt. Den finns i Railwail-katalogen men kan inte köras för nÀrvarande.

Vad kostar Claude Sonnet 4 pÄ Railwail?

Claude Sonnet 4 kan inte köras pÄ Railwail för nÀrvarande, sÄ det finns inget aktuellt pris. TillgÀngliga alternativ med priser visas lÀngre ned pÄ denna sida.

Hur stort Àr kontextfönstret för Claude Sonnet 4?

Kontextfönstret för Claude Sonnet 4 innehÄller 200 000 tokens. Ett svar kan vara upp till 8 192 tokens lÄngt.

Hur snabb Àr Claude Sonnet 4?

Det finns Ànnu inte tillrÀckligt mÄnga uppmÀtta körningar av Claude Sonnet 4 pÄ Railwail för att ange en körningstid. Det beror pÄ inmatningen, instÀllningarna och belastningen hos leverantören.

Är Claude Sonnet 4 bĂ€ttre Ă€n Claude Sonnet 4.6?

Det beror pÄ uppgiften. Claude Sonnet 4 (Anthropic) och Claude Sonnet 4.6 (Anthropic) Àr bÄda modeller i kategorin Text & chatt. JÀmförelsesidan visar deras priser och specifikationer sida vid sida.

JÀmför Claude Sonnet 4 och Claude Sonnet 4.6

Kan jag anvÀnda Claude Sonnet 4 just nu?

Inte tillgÀnglig för nÀrvarande. Sidan förblir online; tillgÀngliga alternativ frÄn samma kategori visas lÀngre ned.

Alla modeller via ett API

En API-nyckel för alla modeller pÄ Railwail. AnvÀndningen debiteras frÄn förbetald kredit, 1 kredit = 0,01 US$.