{"data":{"id":"anthropic/claude-sonnet-4","canonical_slug":"anthropic/claude-4-sonnet-20250522","hugging_face_id":"","name":"Anthropic: Claude Sonnet 4","created":1747930371,"description":"Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on SWE-bench (72.7%),...","context_length":1000000,"architecture":{"modality":"text+image+file->text","input_modalities":["image","text","file"],"output_modalities":["text"],"tokenizer":"Claude","instruct_type":null},"pricing":{"prompt":"0.000003","completion":"0.000015","web_search":"0.01","input_cache_read":"0.0000003","input_cache_write":"0.00000375","input_cache_write_1h":"0.000006","overrides":[{"min_prompt_tokens":200000,"prompt":"0.000006","completion":"0.0000225","input_cache_read":"0.0000006","input_cache_write":"0.0000075","input_cache_write_1h":"0.000012"}]},"top_provider":{"context_length":200000,"max_completion_tokens":64000,"is_moderated":true},"per_request_limits":null,"supported_parameters":["include_reasoning","max_tokens","reasoning","stop","temperature","tool_choice","tools","top_k","top_p"],"default_parameters":{"temperature":null,"top_p":null,"top_k":null,"frequency_penalty":null,"presence_penalty":null,"repetition_penalty":null},"supported_voices":null,"knowledge_cutoff":"2025-01-31","expiration_date":null,"links":{"details":"/api/v1/models/anthropic/claude-4-sonnet-20250522/endpoints"},"benchmarks":{"design_arena":[{"arena":"models","category":"3d","elo":1183,"win_rate":57.8,"rank":55},{"arena":"models","category":"codecategories","elo":1165,"win_rate":53.4,"rank":71},{"arena":"models","category":"dataviz","elo":1178,"win_rate":56.5,"rank":63},{"arena":"models","category":"gamedev","elo":1175,"win_rate":54.8,"rank":60},{"arena":"models","category":"svg","elo":1118,"win_rate":51.1,"rank":55},{"arena":"models","category":"uicomponent","elo":1155,"win_rate":57.9,"rank":70},{"arena":"models","category":"website","elo":1165,"win_rate":52.4,"rank":73}],"artificial_analysis":{"intelligence_index":29.8,"coding_index":37.6,"agentic_index":17.6}},"reasoning":{"mandatory":false}}}