Developers / Choose your entry point

Build around
the work.

Start with model access, agent workflows or knowledge. Choose the integration path that fits your application.

Explore Swfte on GitHub ↗

In short:AI 애플리케이션 구축을 위한 OpenAI 호환 게이트웨이입니다. 공식 OpenAI SDK 또는 일반 HTTP 요청에 Swfte API 키를 사용하세요.

INTEGRATION MAP / ILLUSTRATIVE
application → model access → response

Model access

Connect your application to model access. Start by reviewing routing, authentication and usage requirements.

Explore Connect

Follow the published reference.

Read the SDK examples and integration guidance alongside the product you intend to use.

Open the developer reference

Before your first integration

Agree the credential boundary, test inputs, failure handling and the usage you need to observe.

Discuss an integration
라이브로 시도

대화형 API 플레이그라운드

라이브 코드 예제와 즉각적인 결과로 실시간 API 호출을 테스트하세요.

agents.run()models.list()chat.complete()embeddings.create()workflows.execute()knowledge.query()analytics.track()files.upload()agents.run()models.list()chat.complete()embeddings.create()workflows.execute()knowledge.query()analytics.track()files.upload()
curl https://api.swfte.com/agents/v2/gateway/chat/completions \
  -H "Authorization: Bearer $SWFTE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai:gpt-4o-mini",
    "messages": [
      { "role": "user", "content": "Say hello in five words." }
    ]
  }'

가이드된 통합 경로

단계별 통합 가이드로 몇 분 안에 시작하세요.

export SWFTE_API_KEY="sk-swfte-..."
단계 1

Create an API key

Open the Connect console, create an API key and keep it in an environment variable.

# pip install openai
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.swfte.com/agents/v2/gateway",
    api_key=os.environ["SWFTE_API_KEY"],
)
단계 2

Point the OpenAI SDK at Swfte

The gateway is OpenAI-compatible. Install the official openai package and set the base URL.

response = client.chat.completions.create(
    model="openai:gpt-4o-mini",
    messages=[{"role": "user", "content": "Hello, world!"}],
)
print(response.choices[0].message.content)
단계 3

Make your first request

Use a mini model on the free plan. Any OpenAI-compatible client or plain curl works the same way.

자주 묻는 질문

아직 Swfte 전용 SDK는 없습니다. 게이트웨이가 OpenAI와 호환되므로 기본 URL을 Swfte 게이트웨이로 설정하면 공식 OpenAI SDK(Python, TypeScript 등)와 모든 HTTP 클라이언트를 사용할 수 있습니다.

환경 변수에 저장되거나 SDK에 직접 전달되는 API 키를 사용하세요. 엔터프라이즈 SSO 통합을 위해 OAuth2를 지원하고 안전한 키 회전을 제공합니다.

무료 계층: 분당 100개 요청. Pro: 분당 1,000개 요청. 엔터프라이즈: 전용 용량 및 버스트 처리가 포함된 사용자 지정 제한.

SDK는 자세한 메시지가 포함된 형식화된 오류 클래스를 제공합니다. 모든 오류에는 디버깅 및 지원을 위한 요청 ID가 포함됩니다. 지수 백오프로 자동 재시도도 제공합니다.

예! 모든 SDK는 실시간 스트리밍을 위해 Server-Sent Events(SSE)를 지원합니다. 반응형 UI를 위해 생성되는 토큰을 수신할 수 있습니다.

구축을 시작할 준비가 되셨나요?

API 키를 받아 몇 분 안에 구축을 시작하세요.

Deploy a model with Swfte Connect

One gateway, every provider, per-token cost visibility. Swap models without touching your code.