DeepSeek API

Give your agents access to DeepSeek API. Bring your own DeepSeek key, or skip the signup and pay per call from your Composio balance with Composio Instant.

DeepSeek logoDeepSeek
Instant

DeepSeek offers AI-powered chat, search, and language model services. It delivers advanced conversational and information retrieval tools for smarter workflows.

6 Tools
COMPOSIO INSTANT

What is Composio Instant?

Composio Instant lets your agent use paid APIs like DeepSeek without a separate account or API key for each one. New accounts start with $2 of free credit.

No DeepSeek account or key

Your agent calls DeepSeek through Composio, so there is nothing to sign up for, store, or rotate.

Pay per call, at cost

$0.075 per 100 successful requests; empty searches are free, paid from your Composio balance with zero markup.

Works in any agent

Claude, ChatGPT, Cursor, and other MCP clients, or your own code with the Composio SDK.

Works with your apps

Use DeepSeek with Gmail, Slack, Google Sheets, and 1,700+ other apps you connect.

AI ASSISTANTS

Connect the DeepSeek API to your AI assistant

Use DeepSeek from the AI assistant you already work in. Connect Composio once, then paste the prompt.

  1. 1

    Open the Connectors menu

    Use the button to open Claude's Add connector dialog with Composio filled in. Or click + in the message box, then Connectors, Add connector and Add custom connector.
    Add Composio to Claude
  2. 2

    Add the Composio MCP server

    Name it Composio, paste the MCP server URL and click Add.
    https://connect.composio.dev/mcp
  3. 3

    Authorize in your browser

    A browser window opens. Sign in to Composio to approve the connection.
  4. 4

    Paste the prompt

    Start a new chat and paste the prompt. Claude runs the call on Composio Instant.
  1. 1

    Install the Composio plugin

    Open Composio's plugin page in ChatGPT and click Install. Sign in to ChatGPT first if it asks.
    Install in ChatGPT
  2. 2

    Authorize in your browser

    Connect the plugin, then sign in to Composio to approve the connection.
  3. 3

    Turn on Composio in your chat

    In a new chat, click +, then More, and select Composio.
  4. 4

    Paste the prompt

    Paste the prompt into that chat. ChatGPT runs the call on Composio Instant.
  1. 1

    Install the Composio plugin

    Open Composio in the Cursor marketplace, click Install Composio Plugin for Cursor and approve the connection in your browser.
    Install in Cursor
  2. 2

    Paste the prompt

    Open the Agent chat and paste the prompt. Cursor runs the call on Composio Instant.
  1. 1

    Add the Composio plugin

    Open Composio's listing on x.ai and click Add to Grok Bot. When Grok Bot opens the plugin, click Add.
    Add to Grok Bot
  2. 2

    Authenticate

    Go to Installed, open Composio and click Authenticate. Sign in to Composio and click Authorize.
  3. 3

    Paste the prompt

    Paste the prompt into your bot's chat. Grok Bot runs the call on Composio Instant.
  1. 1

    Paste the setup prompt

    Copy this into your Hermes chat. Hermes adds the Composio MCP server for you.
    Set up Composio from composio.dev/hermes
  2. 2

    Authorize in your browser

    A browser window opens. Sign in to Composio to approve the connection.
  3. 3

    Paste the prompt

    Start a new chat and paste the prompt. Hermes runs the call on Composio Instant.
ClaudeNew chat

Paste this prompt

Use DeepSeek through Composio Instant to search the web for recent research on large language model reasoning. Return the three ranked search results.

What success looks like

DEEPSEEK_SEARCH_WEB

Your assistant runs DeepSeek and replies with three ranked search results.

Runs on Composio Instant
SDK

Use the DeepSeek API in your code

Call DeepSeek from your own agent with the Composio SDK. Four steps and one tool call.

  1. 1

    Set up Composio

    Turn on Instant Toolkits in your project settings and check your prepaid balance in Billing. Then set your API key.
    export COMPOSIO_API_KEY="your_composio_api_key"
  2. 2

    Install the SDK

    The Python SDK needs Python 3.11 through 3.15.
    pip install composio
  3. 3

    Run the call

    Create a session that keeps Instant to this toolkit and reports the charge, then run the tool on the Instant account.
    DEEPSEEK_SEARCH_WEB
  4. 4

    Read the response

    When the call runs on Instant, the response includes its charge: the amount as an exact USD decimal string, the currency and charged_by.
agent.py
from composio import Composio

composio = Composio()

session = composio.sessions.create(
    user_id="user_123",
    toolkits=["deepseek"],
    instant={
        "toolkits": {"enable": ["deepseek"]},
        "return_instant_charge": True,
    },
)

result = session.execute(
    "DEEPSEEK_SEARCH_WEB",
    arguments={
        "count": 3,
        "query": "recent research on large language model reasoning",
    },
    account="instant_account",
)
print(result)
print("Instant charge:", result.instant_charge)
TOOLS

Available DeepSeek API tools

2 DeepSeek tools run on Instant, priced per call with no DeepSeek key. Tools marked Your key need your own DeepSeek account.

ActionTool slugWhat it doesAvailability
Search WebDEEPSEEK_SEARCH_WEBSearch DeepSeek's web index and return ranked results.
Instant$0.075 per 100 successful requests; empty searches are free
Fetch WebpageDEEPSEEK_FETCH_WEBPAGEFetch a known webpage and return its content as Markdown.
Instant$0.075 per 100 successful page fetches
Create Chat CompletionDEEPSEEK_CREATE_CHAT_COMPLETIONGenerate a chat response with DeepSeek models and conversation controls.Your key
Create MessageDEEPSEEK_CREATE_ANTHROPIC_MESSAGEGenerate a model response through DeepSeek's Anthropic-compatible Messages API.Your key

Instant prices are DeepSeek's list prices with 0% markup, paid from your Composio balance and updated every hour. Instant calls also count toward your plan's tool calls. See all plans on the pricing page.

USE CASES

DeepSeek API use cases and example prompts

Copy a prompt into your agent. Each one uses DeepSeek with apps you connect through Composio.

  • Brief product on data retention

    Use DeepSeek to find official guidance on data retention requirements for SaaS products. Write a brief with source URLs in my Product Risk Briefs folder in Google Docs, then post the document link and three key takeaways in Slack's #product-risk channel.

    Apps used: DeepSeek, Google Docs, Slack

  • Document OAuth setup steps

    Use DeepSeek to search official OAuth documentation and fetch the pages on authorization code flow and refresh tokens. Turn them into a step-by-step setup guide with source links as a page in my API Notes space in Notion.

    Apps used: DeepSeek, Notion

  • Maintain an AI policy tracker

    Use DeepSeek to search official policy pages for changes to AI disclosure rules across major markets. Add each finding, source URL, and publication date to my Disclosure Tracker in Google Sheets, then draft a Gmail update for our product leads with the rows that need review.

    Apps used: DeepSeek, Google Sheets, Gmail

  • Find outdated SDK guidance

    Use DeepSeek to find current official OAuth documentation and fetch the pages on setup requirements. Compare them with the OAuth quickstart in my Integration Toolkit repo in GitHub, then open a GitHub issue describing each outdated step and linking to the relevant source.

    Apps used: DeepSeek, GitHub

TROUBLESHOOTING

DeepSeek API troubleshooting

Still stuck? The Instant tools docs cover limits, charges and session settings.

Start with DeepSeek.It takes 30 seconds.

Managed auth, hosted MCP servers, and every DeepSeek tool your agent needs.Free to start.

Start building