모델/xAI/xAI: Grok 4 Fast
xAI👁️ Vision

xAI: Grok 4 Fast

2.0M

Grok 4 Fast is xAI's latest multimodal model with SOTA cost-efficiency and a 2M token context window. It comes in two flavors: non-reasoning and reasoning. Read more about the model on xAI's [news post](http://x.ai/news/grok-4-fast). Reasoning can be enabled/disabled using the `reasoning` `enabled` parameter in the API. [Learn more in our docs](https://openrouter.ai/docs/use-cases/reasoning-tokens#controlling-reasoning-tokens)

OpenRouter 원가 (1M 토큰)

입력$0.200
출력$0.500
합계$0.700

인보이스랩 (월 예상)

입력 0.5M + 출력 0.5M 기준

공급가액577
부가세 (10%)57
결제 금액634
💡 부가세 ₩57 매입공제 가능

모델 정보

기본 정보

모델 IDx-ai/grok-4-fast
제공사xAI
컨텍스트 윈도우2,000,000 토큰
모달리티text+image->text

지원 기능

👁️ 이미지 분석⚡ Function Calling📋 Structured Output📄 JSON Mode🌡️ Temperature📏 Max Tokens

API 사용법

Python (OpenAI SDK 호환)

from openai import OpenAI

client = OpenAI(
    api_key="your-dream-api-key",
    base_url="https://api.invoicedream.co.kr/v1"
)

response = client.chat.completions.create(
    model="x-ai/grok-4-fast",
    messages=[
        {"role": "user", "content": "안녕하세요"}
    ]
)

print(response.choices[0].message.content)

Node.js / TypeScript

import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'your-dream-api-key',
  baseURL: 'https://api.invoicedream.co.kr/v1'
});

const response = await client.chat.completions.create({
  model: 'x-ai/grok-4-fast',
  messages: [{ role: 'user', content: '안녕하세요' }]
});

console.log(response.choices[0].message.content);

cURL

curl https://api.invoicedream.co.kr/v1/chat/completions \
  -H "Authorization: Bearer your-dream-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "x-ai/grok-4-fast",
    "messages": [{"role": "user", "content": "안녕하세요"}]
  }'

💡 Tip: OpenAI SDK를 그대로 사용할 수 있습니다.base_url만 변경하면 됩니다!

xAI: Grok 4 Fast을 세금계산서와 함께

인보이스랩에서 xAI: Grok 4 Fast API를 사용하면
계좌이체로 결제하고 전자세금계산서를 받을 수 있습니다.

API 키 발급받기

5분 안에 가입하고 바로 시작하세요. 첫 달 무료 크레딧을 드립니다.