CometAPI Cookbook is the GitHub home for practical CometAPI integration guides. It helps developers connect AI coding agents, automation platforms, chat clients, frameworks, and evaluation tools to CometAPI using a single API key, a single base URL, and OpenAI-compatible configuration patterns.
Use this repository when you want GitHub-native examples for tools such as Claude Code, Codex, Gemini CLI, n8n, Dify, LangChain, and LiteLLM. Each guide links back to the canonical CometAPI documentation for the current source of truth.
CometAPI is a unified AI API and model gateway for developers who need access to many model providers through one integration. Instead of maintaining separate accounts, SDK setups, credentials, and billing paths for every provider, teams can use CometAPI as an OpenAI-compatible API endpoint:
https://api.cometapi.com/v1
CometAPI is designed for multi-model development workflows: prototyping, coding assistants, no-code automation, evaluation pipelines, AI chat clients, and production applications that need access to 500+ AI models through a common interface. For current model availability, pricing, and platform details, use the canonical docs and the CometAPI website.
- Create or open your CometAPI account in the CometAPI dashboard.
- Create an API key and store it securely in your local environment or tool-specific secret manager.
- Use the CometAPI base URL:
https://api.cometapi.com/v1. - Pick the guide below that matches your tool, then set the model ID required by that tool or workflow.
- Claude Code - Configure Claude Code with CometAPI credentials, Anthropic-compatible settings, and Claude model IDs.
- Codex - Configure Codex with CometAPI by editing user-level
config.tomlprovider settings. - Gemini CLI - Connect Gemini CLI to CometAPI with Gemini-compatible endpoint and credential settings.
- Cline - Use CometAPI as a model provider for coding assistance inside Cline.
- Continue - Route Continue chat and autocomplete workflows through CometAPI.
- Pi - Configure Pi with CometAPI base URL, API key, and model provider options.
- OpenClaw - Run OpenClaw with CometAPI for OpenAI-compatible agent model access.
- Hermes Agent - Connect Hermes Agent to CometAPI through OpenAI-compatible chat or Anthropic Messages settings.
- OpenManus - Configure OpenManus with CometAPI credentials and model routing.
- Dify - Add CometAPI as a model provider for Dify applications and workflows.
- n8n - Use CometAPI from n8n workflows that call AI models.
- n8n Local Deployment - Run n8n locally and connect it to CometAPI for model access.
- Make - Connect Make scenarios to CometAPI with API credentials and model settings.
- Zapier - Use CometAPI in Zapier automations through supported API or webhook steps.
- Activepieces - Configure Activepieces flows with CometAPI model calls.
- Flowise - Connect Flowise chatflows and agent flows to CometAPI.
- Langflow - Use CometAPI as a provider inside Langflow pipelines.
- Open WebUI - Configure Open WebUI to use CometAPI as an OpenAI-compatible backend.
- LobeChat - Connect LobeChat to CometAPI with base URL and API key settings.
- LibreChat - Route LibreChat model requests through CometAPI.
- Cherry Studio - Configure Cherry Studio for CometAPI models and credentials.
- AnythingLLM - Use CometAPI with AnythingLLM workspaces and model settings.
- AI SDK - Use CometAPI with Vercel AI SDK and OpenAI-compatible provider configuration.
- LiteLLM - Route LiteLLM requests to CometAPI for unified model access.
- LangChain - Configure LangChain applications to call CometAPI endpoints.
- LlamaIndex - Use CometAPI as a model backend for LlamaIndex applications.
- Langfuse - Connect Langfuse workflows that evaluate or observe CometAPI-backed model calls.
- Promptfoo - Test prompts and model configurations that use CometAPI.
Yes. CometAPI is designed around OpenAI-compatible API patterns, so many tools only need a CometAPI API key, the CometAPI base URL, and a model ID supported by the target workflow. Always check the guide for tool-specific field names such as base_url, baseURL, provider, or endpoint.
This cookbook currently covers 28 selected integrations across AI coding agents, agent platforms, automation platforms, AI chat clients, frameworks, SDKs, observability, and prompt evaluation tools.
The canonical docs are published at apidoc.cometapi.com. These GitHub Markdown files are companion guides for review, linking, search, and developer workflows; the live docs remain the current source of truth.
Read the CometAPI product overview, What Is CometAPI? A 2026 Guide to Pricing, Models and Practical Use Cases, then use the CometAPI quick start for current setup instructions.