
장면 예시이며 이 모델의 생성 결과가 아닙니다
모델:
프롬프트 프리셋 — 생성 결과 없음
USD 추정 $0.0015-$0.003: 최대 충전 패키지는 $1 = 2,000 크레딧으로 계산하고, 스타터 패키지는 $1 = 1,000 크레딧으로 계산합니다.

기록
이 브라우저에 로컬 저장됨
실행 중 0개 · 완료 0개
입력
≈ $0.0006-$0.0012
출력
≈ $0.0012-$0.0024
캐시 읽기
≈ $0.0006-$0.0012
컨텍스트
최대 출력
인증
모든 요청은 Authorization 헤더에 Bearer 토큰을 포함해야 합니다. 콘솔에서 API Key를 만드세요.
Authorization: Bearer YOUR_API_KEYhttps://apiany.ai/v1/chat/completions요청 파라미터
| 파라미터 | 유형 | 필수 | 설명 |
|---|---|---|---|
model | 문자열 | 필수 | 호출할 모델 식별자이며, 해당 모델의 ID를 사용합니다. |
messages | 배열 | 필수 | OpenAI 대화 형식의 메시지 기록(role + content). |
stream | 불리언 | 선택 | true이면 응답이 SSE 스트림으로 반환됩니다. |
요청 예시
curl "https://apiany.ai/v1/chat/completions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-4.7",
"messages": [
{
"role": "user",
"content": "Write a short decision memo using these fictional constraints: a two-person studio needs shared file review in 10 days; first-year budget 600 USD. Option A costs 20 USD/month and is ready now but lacks custom branding. Option B takes 15 engineering days plus 100 USD/year hosting and supports branding. Branding is desirable, not required; neither option has verified backup recovery. Recommend an option, show budget arithmetic and state the verification still needed."
}
],
"temperature": 0.7,
"max_tokens": 1024
}'응답 예시
{
"id": "chatcmpl-abc123",
"object": "chat.completion",
"model": "grok-4.7",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hello! How can I help?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 12,
"completion_tokens": 18,
"total_tokens": 30
}
}
APIAny© 2026 APIAny. 모든 권리 보유.