
장면 예시이며 이 모델의 생성 결과가 아닙니다
모델:
가격: 1.2 credits per 1K input tokens · ≈ $0.0006 · 2.4 credits per 1K output tokens · ≈ $0.0012높은 안정성과 APIAny 플랫폼의 상세 사용 기록을 제공합니다.
프롬프트 프리셋 — 생성 결과 없음
Sampling temperature.
Maximum output tokens.
Optional reasoning effort. Leave unset to use the model default. Higher effort can use more tokens and time.
Web search
Search the web before answering when current information is needed.
USD 추정 ≈ $0.005: $999 등급: 1 USD = 2,000 크레딧.

기록
이 브라우저에 로컬 저장됨
실행 중 0개 · 완료 0개
입력
≈ $0.0006
출력
≈ $0.0012
캐시 읽기
≈ $0.0006
컨텍스트
최대 출력
인증
모든 요청은 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": 4096,
"reasoning_effort": "high",
"web_search": false
}'응답 예시
{
"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
}
}