# DeepSeek integration

> DeepSeek API: chat completions with thinking mode and tool calls, the Responses API, FIM completion (beta), model listing, image file uploads, and account balance.

- Authentication: apiKey

## Tools (9)

- **Create Chat Completion**: Create a model response for a chat conversation, with optional thinking mode, JSON output, streaming, and function tool calls.
- **Create FIM Completion**: Fill-in-the-middle text completion (beta). Requires the /beta base URL.
- **Create Response**: Create a model response in the OpenAI Responses API format (stateless).
- **Delete File**: Delete an uploaded file.
- **Get User Balance**: Get the account's current balance per currency.
- **List Files**: List uploaded files with cursor-based pagination.
- **List Models**: List available models with context window, output limit, modalities, and effort levels.
- **Retrieve File**: Get information about one uploaded file.
- **Upload File**: Upload an image file to reference by file_id in chat completion requests.

Connect DeepSeek in General Input: https://www.generalinput.com/apps/deepseek