openapi: 3.1.0 info: title: DeepSeek Completion Chat User API description: Creates a model response for the given chat conversation. version: 1.0.0 servers: - url: https://api.deepseek.com tags: - name: User paths: /user/balance: get: summary: DeepSeek Get User Balance description: Retrieves the current balance information for a user, including availability for API calls. operationId: getUserBalance responses: '200': description: User balance information. content: application/json: schema: type: object required: - is_available - balance_infos properties: is_available: type: boolean description: Indicates whether the user's balance is sufficient for API calls. balance_infos: type: array items: type: object properties: type: type: string description: The type of balance (e.g., credits, tokens). amount: type: number description: The current balance amount for the specified type. currency: type: string description: The currency or unit of the balance (if applicable). security: - bearerAuth: [] tags: - User