xAI
xAI: Grok 3 Beta
Grok 3 is the latest model from xAI. It's their flagship model that excels at enterprise use cases like data extraction, coding, and text summarization. Possesses deep domain knowledge in finance, healthcare, law, and science. Excels in structured tasks and benchmarks like GPQA, LCB, and MMLU-Pro where it outperforms Grok 3 Mini even on high thinking. Note: That there are two xAI endpoints for this model. By default when using this model we will always route you to the base endpoint. If you want the fast endpoint you can add `provider: { sort: throughput}`, to sort by throughput instead.
OpenRouter 원가 (1M 토큰)
입력$3.00
출력$15.00
합계$18.00
인보이스랩 (월 예상)
입력 0.5M + 출력 0.5M 기준
공급가액₩14,824
부가세 (10%)₩1,482
결제 금액₩16,306
💡 부가세 ₩1,482 매입공제 가능
모델 정보
기본 정보
| 모델 ID | x-ai/grok-3-beta |
| 제공사 | xAI |
| 컨텍스트 윈도우 | 131,072 토큰 |
| 모달리티 | text->text |
지원 기능
⚡ Function Calling📄 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-3-beta",
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-3-beta',
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-3-beta",
"messages": [{"role": "user", "content": "안녕하세요"}]
}'💡 Tip: OpenAI SDK를 그대로 사용할 수 있습니다.base_url만 변경하면 됩니다!