1. API 키 생성
IteraCompute 계정을 생성하거나 로그인한 다음 콘솔에서 키를 생성하세요.
회의 기록을 읽고 무료 Qwen을 호출하여 유용한 요약을 저장하세요. 완전한 Python 프로젝트로 시작한 다음 아래 SDK 설정을 자신의 앱에 적용하세요.
무료 프로모션은 2026년 11월 24일 00:00(미국 태평양 시간)에 종료됩니다. 마감 전에 입금이 완료되고 환불을 제외한 순 충전액이 양수인 사용자는 기존 무료 등급을 유지합니다. 이후 공유 무료 Auto는 이 사용자와 현재 유효한 요금제 구독자만 이용할 수 있습니다. 이후 충전으로는 무료 혜택을 받거나 등급을 높일 수 없습니다. 요금제 Auto 사용량과 월간 공유 무료 혜택은 별도입니다.
IteraCompute 계정을 생성하거나 로그인한 다음 콘솔에서 키를 생성하세요.
Python에서 base_url을 설정하거나 JavaScript에서 baseURL을 설정한 다음 채팅 완료를 사용하세요.
선택한 모델에 대한 정확한 API 모델 ID를 사용하세요.에이전트 또는 비전 기능을 활성화하기 전에 해당 컨텍스트와 기능을 확인하세요.
서버 환경이나 도구 자격 증명 저장소에 API 키를 보관하세요.해당하는 경우 예제 키 필드를 사용자 고유의 키로 바꿉니다.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.iteracompute.com/v1",
api_key=os.environ["ITERACOMPUTE_API_KEY"],
)
response = client.chat.completions.create(
model="Auto",
messages=[{"role": "user", "content": "Hello!"}],
max_tokens=512,
)
text = response.choices[0].message.content
if not text or not text.strip():
raise RuntimeError("Empty model reply: activation is incomplete.")
print(text)import OpenAI from "openai";
if (!process.env.ITERACOMPUTE_API_KEY) {
throw new Error("Set ITERACOMPUTE_API_KEY on the server.");
}
const client = new OpenAI({
baseURL: "https://api.iteracompute.com/v1",
apiKey: process.env.ITERACOMPUTE_API_KEY,
});
const response = await client.chat.completions.create({
model: "Auto",
messages: [{ role: "user", content: "Hello!" }],
max_tokens: 512,
});
const text = response.choices[0].message.content;
if (!text || !text.trim()) throw new Error("Empty model reply: activation is incomplete.");
console.log(text);짧은 UTF-8 회의 기록을 읽고 무료 Qwen을 호출하여 세 항목의 요약을 summary.txt에 저장합니다. 완전한 Python CLI 프로젝트에는 환경 설정과 오류 처리가 포함됩니다.
출시일, 담당자, 연기된 작업, 차단 조건을 담은 요약 파일.
종료 코드가 0이고 summary.txt가 비어 있지 않으며 출력된 요약과 일치해야 합니다. 원문과 사실도 대조하세요.
On October 14, the team agreed to launch the customer feedback dashboard on October 21.
Maya owns the release checklist and will finish it by October 18.
Leo will add CSV export before the launch. A mobile layout is deferred to the next release.
The launch is blocked until the export tests pass and the support guide is reviewed.• Customer feedback dashboard launch decision: go live on October 21, but the launch is blocked until CSV export tests pass and the support guide is reviewed.
• Maya owns the release checklist and must finish it by October 18; Leo will add CSV export before launch.
• Mobile layout is deferred to the next release.
Saved: summary.txt출력 예제이며 실제 표현은 다를 수 있습니다. API 응답이 비어 있으면 출력 파일을 생성하거나 덮어쓰지 않습니다.
# Bash / zsh / WSL; set ITERACOMPUTE_API_KEY in your environment first.
curl --fail-with-body https://api.iteracompute.com/v1/chat/completions \
-H "Authorization: Bearer $ITERACOMPUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"Auto","messages":[{"role":"user","content":"Reply with exactly: Hello!"}],"max_tokens":512}'choices[0].message.content에 보이는 텍스트가 포함되어 있는지 확인하세요.HTTP 200만으로는 부족합니다.추론은 출력 예산을 소비할 수 있습니다.무료 Qwen을 사용하려면 다음을 사용하세요. 첫 무료 API 호출 예제 사고를 비활성화하려면 도구 내부에 메시지를 보내세요.
기능은 IteraCompute API의 지원 범위를 나타냅니다. 워크플로에서의 사용 가능 여부는 도구와 설정에도 달려 있으며, 추론 제어는 모델마다 다릅니다.
GPT-6.1 Sol · Chat Completions · reasoning_effort=low 인터페이스 지원 · Responses 예제 →Python은 base_url을 사용합니다.JavaScript는 baseURL을 사용합니다.IteraCompute 키를 명시적으로 전달합니다. SDK 기본 환경 변수는 ITERACOMPUTE_API_KEY가 아닙니다.
위 텍스트 예제에서는 client.chat.completions.create를 호출하고 choices[0].message.content를 읽으세요. Responses 예제와 response.output_text는 다른 API를 사용합니다.
빈 콘텐츠 필드는 성공적인 텍스트 테스트가 아닙니다.무료 Qwen 예제는 512개의 출력 토큰을 허용하고 사고를 비활성화합니다.이 매개변수는 모델별로 다릅니다.
계정 전체의 월간 사용량과 동시 요청을 확인하세요.Retry-After를 존중하고 병렬 재시도를 방지합니다.무료 Qwen에는 자동으로 지불되는 초과분이 없습니다.다른 모델은 게시된 가격을 사용합니다.
401 / 403 : 키와 모델 권한을 확인하세요.무료 Qwen에는 잔액이나 카드가 필요하지 않습니다.유료 모델의 경우 사용 가능한 잔액도 확인하세요.