> For the complete documentation index, see [llms.txt](https://docs.flowiseai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flowiseai.com/integrations/langchain/chat-models/chatcometapi.md).

# ChatCometAPI

## Description

CometAPI is a unified API platform that provides access to 500+ AI models including GPT, Claude, Gemini, Qwen, DeepSeek, Midjourney, and others through a single integration. It offers simplified access with consistent API formats across different model providers.

## Prerequisite

1. Refer to official [docs](https://api.cometapi.com/doc) from CometAPI.
2. Get your API key from [CometAPI Console](https://api.cometapi.com/console/token).

## Step by Step Guide

<figure><img src="/files/wpfg4jegHMqZnr8NBweT" alt="" width="263"><figcaption><p>ChatCometAPI Node</p></figcaption></figure>

1. **Chat Models** > Drag the **ChatCometAPI** node.
2. Create a new credential with CometAPI API key.
3. Click **Additional Parameters** on ChatCometAPI node.
4. Change the Base Path to: `https://api.cometapi.com/v1/`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flowiseai.com/integrations/langchain/chat-models/chatcometapi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
