> ## Documentation Index
> Fetch the complete documentation index at: https://docs.supertoneapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get credit balance

> 계정의 사용 가능한 크레딧 잔액을 반환합니다.

<Note>
  이 문서는 영어 원문을 기반으로 자동 번역되었습니다. 표현이 어색하거나 모호한 부분이 있을 수 있으니, 정확한 내용은 [영어 원문](/en/api-reference/endpoints/get-credit-balance)을 함께 확인해 주세요.
</Note>

API 키를 소유한 계정의 현재 크레딧 잔액을 반환합니다.

Supertone API와 [Supertone Play](https://play.supertone.ai)는 동일한 크레딧 풀을 공유합니다 — 어느 한쪽에서 구매한 크레딧은 다른 쪽에서도 즉시 사용할 수 있습니다.

## 엔드포인트

```http theme={"dark"}
GET https://supertoneapi.com/v1/credits
```

## 참고사항

* 크레딧은 생성된 오디오의 **초 단위로 차감**됩니다.
* 프리셋 보이스와 커스텀 보이스는 동일한 잔액에서 차감됩니다.
* 신규 계정은 가입 시 체험용 크레딧을 받을 수 있습니다.
* `predict_duration`은 크레딧을 차감하지 않으므로 비용 예측에 사용해 주십시오.

## 함께 보기

<CardGroup cols={2}>
  <Card title="Docs: Cost and usage" icon="credit-card" href="/ko/docs/production/cost-and-usage">
    지출 모니터링과 잔액 알림 설정 방법입니다.
  </Card>

  <Card title="Predict duration" icon="clock" href="/ko/api-reference/endpoints/predict-duration">
    생성 전에 오디오 길이(및 비용)를 예측합니다.
  </Card>
</CardGroup>


## OpenAPI

````yaml /openapi.json GET /v1/credits
openapi: 3.0.0
info:
  title: Supertone Public API
  description: >-
    Supertone API is a RESTful API for using our state-of-the-art AI voice
    models.
  version: 0.9.6
  contact: {}
servers:
  - url: https://supertoneapi.com
    description: Production
security: []
tags:
  - name: voices
    description: Voice Library API endpoints
  - name: custom_voices
    description: Custom Voice Management API endpoints
  - name: text_to_speech
    description: Text-to-Speech API endpoints
  - name: usage
    description: Usage Analytics API endpoints
paths:
  /v1/credits:
    get:
      tags:
        - usage
      summary: Retrieve credit balance
      description: Retrieves credit balance of the user.
      operationId: get_credit_balance
      parameters: []
      responses:
        '200':
          description: Credit balance of the user.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetCreditBalanceResponse'
        '401':
          description: 'Unauthorized: Invalid API key'
        '404':
          description: 'Not Found: No user found'
        '500':
          description: 'Internal Server Error: Failed with credit system.'
      security:
        - api-key: []
components:
  schemas:
    GetCreditBalanceResponse:
      type: object
      properties:
        balance:
          type: number
          description: Credit balance of the user
          nullable: true
      required:
        - balance
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: x-sup-api-key

````