Skip to main content
Core.Today
|
Anthropic빠름울트라

Claude 3.5 Sonnet

Anthropic의 가장 지능적인 모델입니다. 복잡한 추론, 미묘한 이해, 코딩 작업에서 최고 수준이며 뛰어난 지시 따르기 능력을 제공합니다.

4 크레딧
1K 토큰당 (평균)
200K 컨텍스트 윈도우
8K 최대 출력 토큰
비전 기능
컴퓨터 사용 (베타)
뛰어난 코드 생성
탁월한 지시 따르기

모델 상세 사양

컨텍스트 윈도우
200K
토큰
최대 출력
8K
토큰
학습 데이터
2024-04
호환 SDK
Anthropic

기능 지원

비전
함수 호출
스트리밍
JSON 모드
시스템 프롬프트

토큰별 가격 (1M 토큰당)

토큰 종류크레딧달러 환산
입력 토큰3,000$3.00
출력 토큰15,000$15.00
캐시된 토큰300$0.30

* 1 크레딧 ≈ $0.001 (실제 요금은 사용량에 따라 달라질 수 있습니다)

빠른 시작

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
  "model": "claude-3.5-sonnet",
  "input": {
    "model": "claude-3-5-sonnet-20241022",
    "max_tokens": 4000,
    "system": "You are an expert analyst. Provide detailed, structured analysis.",
    "messages": [
      {
        "role": "user",
        "content": "Analyze the key themes and implications of this research paper: [paper text]"
      }
    ]
  }
}'

파라미터

파라미터타입필수기본값설명
messagesarrayYes-role과 content를 포함한 메시지 객체 배열
modelstringYesclaude-3-5-sonnet-20241022모델 식별자
max_tokensintegerYes-응답의 최대 토큰 수 (필수, 최대 8192)
systemstringNo-동작 설정을 위한 시스템 프롬프트
temperaturefloatNo1.0샘플링 온도 (0-1)
streambooleanNofalse스트리밍 응답 활성화
toolsarrayNo-모델이 사용할 수 있는 도구 목록

예제

문서 분석

복잡한 문서 분석

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
  "model": "claude-3.5-sonnet",
  "input": {
    "model": "claude-3-5-sonnet-20241022",
    "max_tokens": 4000,
    "system": "You are an expert analyst. Provide detailed, structured analysis.",
    "messages": [
      {
        "role": "user",
        "content": "Analyze the key themes and implications of this research paper: [paper text]"
      }
    ]
  }
}'

코드 생성

프로덕션 품질 코드 생성

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
  "model": "claude-3.5-sonnet",
  "input": {
    "model": "claude-3-5-sonnet-20241022",
    "max_tokens": 4000,
    "messages": [
      {
        "role": "user",
        "content": "Create a TypeScript React component for a data table with sorting, filtering, and pagination. Use modern best practices."
      }
    ],
    "temperature": 0.3
  }
}'

도구 사용

Claude와 함께 도구/함수 사용

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
  "model": "claude-3.5-sonnet",
  "input": {
    "model": "claude-3-5-sonnet-20241022",
    "max_tokens": 1000,
    "messages": [
      {
        "role": "user",
        "content": "Look up the current stock price of Apple."
      }
    ],
    "tools": [
      {
        "name": "get_stock_price",
        "description": "Get the current stock price for a given symbol",
        "input_schema": {
          "type": "object",
          "properties": {
            "symbol": {
              "type": "string",
              "description": "Stock ticker symbol"
            }
          },
          "required": [
            "symbol"
          ]
        }
      }
    ]
  }
}'

팁 & 모범 사례

1max_tokens는 필수 - 항상 지정해야 함
2페르소나와 제약 조건에 시스템 프롬프트 사용
3프롬프트의 XML 태그가 구조화된 응답을 개선
4온도 최대값은 1.0 (OpenAI의 2.0과 다름)
5복잡한 다단계 지시 따르기에 탁월
6반복 컨텍스트에 캐싱 사용으로 비용 절감

사용 사례

복잡한 문서 분석
코드 생성 및 리뷰
연구 및 분석
기술 문서 작성
에이전틱 워크플로우
데이터 추출

모델 정보

제공자Anthropic
버전20241022
카테고리LLM
가격4 크레딧

API Endpoint

POST /llm/anthropic/v1/messages
Playground에서 테스트문서로 돌아가기