CPEN RouterOpenAI-compatible routing with live price caps

인증

OAuth 가입으로 런칭 크레딧 경로를 만든다. 유료 API는 계정 대시보드에서 발급한 cpen_live 키를 쓴다.

Authorization: Bearer cpen_live_...

가격 상한

상한은 USD로 선언한다. 조건에 맞는 live tier route가 없으면 CPEN이 요청을 거절한다.

"routing": {
  "currency": "USD",
  "max_input_per_1m": "0.03",
  "max_output_per_1m": "0.15"
}

수수료

기본 플랫폼 수수료는 5%. 명시적 데이터 제공 opt-in 시 4%다.

upstream_cost + 5% fee
upstream_cost + 4% fee with opt-in

Extraction 요청

Extraction API는 텍스트와 JSON Schema를 받는다. JSON 복구 retry와 실제 upstream 실행은 다음 구현 단계다.

POST /v1/extractions
{
  "model": "cpen/middle",
  "input": "Alice paid 12.50 USD for a notebook.",
  "schema": {"type": "object"},
  "routing": {
    "currency": "USD",
    "min_total_per_1m": "0.05",
    "max_total_per_1m": "0.30",
    "rpm_cap": 60,
    "strategy": "balanced",
    "continuity_mode": "stay_within_cap"
  }
}
CPEN Router