Claude Fable 5 is now on CometAPI — state-of-the-art performance in coding, agents, and scientific research. Try it now
Quickstart

텍스트, 이미지 및 비디오 모델을 위한 하나의 키

Two lines of code. No new SDK to learn. Swap your base URL and API key — models across 20+ providers work instantly.

가입 시 무료 크레딧 제공 · 신용카드 불필요

from openai import OpenAI

client = OpenAI(
  api_key="sk-openai-...",
  api_key="YOUR_COMET_KEY",
  base_url="https://api.cometapi.com/v1",
)

Get your API key

Takes 60 seconds. No credit card required to start.

  1. Create an account

    . Free credits included on first sign-up — see pricing for details.

  2. Navigate to API Keys

    From the dashboard sidebar, select API Keys. Click Create new key and give it a name.

  3. Copy your key

    열쇠는 sk-부터 시작합니다. 소스 코드가 아닌 환경 변수에 저장하십시오.

Make your first call

Same OpenAI Python SDK — swap your key and base URL, then call models from multiple providers.

Node.js, curl 및 오류 처리 →
from openai import OpenAI

client = OpenAI(
  api_key="sk-openai-...",
  api_key="YOUR_COMET_KEY",
  base_url="https://api.cometapi.com/v1",
)

response = client.chat.completions.create(
    model="gpt-5.5",
    messages=[
        {"role": "user", "content": "Hello, world!"}
    ]
)

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

Common questions

, navigate to the API Keys section in your dashboard, and click Create new key. Your key starts with sk-. Store it in your environment variables, never in source code.

The base URL is https://api.cometapi.com/v1. It's a drop-in replacement for api.openai.com. No other configuration changes are required when switching from the OpenAI SDK.

Yes. CometAPI is fully compatible with the OpenAI Python and Node.js SDKs. Pass your CometAPI key as api_key and set base_url="https://api.cometapi.com/v1". No additional packages required.

Yes — new accounts receive free credits on sign-up. See the pricing page for the current amount and usage limits.

AI 개발 비용을 20% 절감할 준비가 되셨나요?

몇 분 안에 무료로 시작하세요. 무료 체험 크레딧 제공. 신용카드 불필요.