Claude Code 가이드
Flaq AI Claude 모델을 설정하고 Claude Code 스킬 살펴보기
빠른 최신 조사, 모니터링, 검증, 근거 기반 답변 및 경제적인 대용량 워크플로를 지원하는 GPT 5.6 Luna 웹 검색 API를 무료로 체험해 보세요.
const response = await fetch('https://api.flaq.ai/api/v1/chat/completions', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
Accept: 'text/event-stream',
'Content-Type': 'application/json'
},
body: JSON.stringify({
model: 'gpt-5.6-luna-web-search',
messages: [
{
role: 'user',
content: 'Find the latest public information about Flaq AI and summarize it for a product brief.'
}
],
stream: true,
max_tokens: 2048
})
});
const reader = response.body.getReader();
const decoder = new TextDecoder();
let buffer = '';
let assistantText = '';
while (true) {
const { done, value } = await reader.read();
if (done) break;
buffer += decoder.decode(value, { stream: true });
const frames = buffer.split('\n\n');
buffer = frames.pop() || '';
for (const frame of frames) {
const lines = frame.split('\n').filter(Boolean);
let eventName = 'message';
const dataLines = [];
for (const line of lines) {
if (line.startsWith('event:')) {
eventName = line.slice(6).trim();
} else if (line.startsWith('data:')) {
dataLines.push(line.replace(/^data:\s*/, ''));
}
}
const raw = dataLines.join('\n').trim();
if (raw === '[DONE]') {
console.log('\nFinal text:', assistantText);
continue;
}
let payload;
try {
payload = JSON.parse(raw);
} catch {
continue;
}
if (eventName === 'error' || payload.error) {
const msg = payload.error?.message ?? payload.message ?? 'Chat request failed';
throw new Error(msg);
}
const delta = payload.choices?.[0]?.delta;
if (delta?.content) {
assistantText += delta.content;
console.log(assistantText);
}
}
}
import json
import requests
response = requests.post(
'https://api.flaq.ai/api/v1/chat/completions',
headers={
'Authorization': 'Bearer YOUR_API_KEY',
'Accept': 'text/event-stream',
'Content-Type': 'application/json',
},
json={
'model': 'gpt-5.6-luna-web-search',
'messages': [
{
'role': 'user',
'content': 'Find the latest public information about Flaq AI and summarize it for a product brief.',
}
],
'stream': True,
'max_tokens': 2048,
},
stream=True,
)
response.raise_for_status()
event_name = 'message'
assistant_text = ''
for raw_line in response.iter_lines(decode_unicode=True):
if not raw_line:
event_name = 'message'
continue
if raw_line.startswith('event:'):
event_name = raw_line.replace('event:', '', 1).strip()
continue
if raw_line.startswith('data:'):
raw_data = raw_line.replace('data:', '', 1).strip()
if raw_data == '[DONE]':
print('\nFinal text:', assistant_text)
continue
payload = json.loads(raw_data)
if event_name == 'error' or payload.get('error'):
error = payload.get('error') or payload
raise RuntimeError(error.get('message', 'Chat request failed'))
choices = payload.get('choices') or []
if choices:
delta = choices[0].get('delta') or {}
content = delta.get('content')
if content:
assistant_text += content
print(content, end='', flush=True)
curl -N -X POST "https://api.flaq.ai/api/v1/chat/completions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: text/event-stream" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.6-luna-web-search",
"messages": [
{
"role": "user",
"content": "Find the latest public information about Flaq AI and summarize it for a product brief."
}
],
"stream": true,
"max_tokens": 2048
}'
| 매개변수 | 가격 | 원래 가격 | 할인 |
|---|
Flaq AI의 GPT 5.6 Luna Web Search API는 OpenAI의 가장 빠른 GPT-5.6 모델과 최신 공개 웹 정보 접근을 결합합니다. 이 비용 효율적인 검색 통합은 대규모로 최신 맥락이 필요한 연구, 모니터링, 검증, 콘텐츠 워크플로 구축을 돕습니다. 대화형 후속 질문과 관련 멀티모달 입력 지원으로 별도 검색 인프라를 구성하지 않고 검색에 근거한 답변을 추가할 수 있습니다.
참고 프롬프트, 업로드 입력, 애플리케이션 워크플로가 OpenAI의 안전 및 사용 지침을 준수하는지 확인하세요. 오류가 발생하면 제한 콘텐츠를 검토하고 요청을 단순화한 뒤 다시 시도하세요.
GPT 5.6 Luna와 GPT 5.6 Sol 비교
GPT 5.6 Sol은 플래그십 수준의 깊은 추론이 필요한 복잡한 조사용입니다. GPT 5.6 Luna는 대규모 웹 연구에서 더 빠르고 비용 효율적인 처리를 우선합니다.
GPT 5.6 Luna와 GPT 5.6 Terra 비교
GPT 5.6 Terra는 강력한 전문 검색 추론과 비용의 균형을 이룹니다. GPT 5.6 Luna는 속도와 고처리량 효율성에 더 집중합니다.
GPT 5.6 Luna와 GPT 5.5 Web Search 비교
GPT 5.5는 전문 애플리케이션에 안정적인 검색 기반 워크플로를 제공합니다. GPT 5.6 Luna는 반복적인 최신 정보 작업에 더 빠르고 비용 효율적인 옵션입니다.
GPT 5.6 Luna와 Gemini 검색 워크플로 비교
Gemini 검색 경험은 Google 생태계에 자연스럽게 맞습니다. GPT 5.6 Luna는 확장 가능한 웹 연구를 위한 효율적인 OpenAI 네이티브 경로입니다.
GPT 5.6 Luna와 기존 검색 파이프라인 비교
기존 파이프라인에는 별도의 검색, 순위 지정, 종합 구성요소가 필요합니다. GPT 5.6 Luna는 관리형 Flaq AI API 워크플로에 검색 기반 지원을 결합합니다.
Flaq AI Claude 모델을 설정하고 Claude Code 스킬 살펴보기

Flaq AI GPT 모델을 설정하고 Codex 스킬 살펴보기
Hermes Agent에서 Flaq AI LLM 모델 사용
ZCode에서 GLM 5.2, Kimi K3 및 DeepSeek v4 사용
Flaq AI DeepSeek 모델로 DeepSeek Harness 실행
AI 에이전트를 Flaq 이미지 및 동영상 생성 도구에 연결