> ## Documentation Index
> Fetch the complete documentation index at: https://phidatainc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Cometapi

> Run GPT, Claude, Gemini, DeepSeek, and Qwen models through CometAPI's OpenAI-compatible gateway.

| Example                                                                      | Description                                                                              |
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| [Cometapi Basic](/examples/models/cometapi/basic)                            | Run a GPT model through the CometAPI gateway in sync, async, and streaming modes.        |
| [Image Agent](/examples/models/cometapi/image-agent)                         | Stream an image description from a vision model through CometAPI.                        |
| [Image Agent With Memory](/examples/models/cometapi/image-agent-with-memory) | Analyze an image with CometAPI and recall it later from SQLite session history.          |
| [Multi Model](/examples/models/cometapi/multi-model)                         | Test and compare different models available through CometAPI.                            |
| [Retry](/examples/models/cometapi/retry)                                     | Review retry settings and why invalid model IDs cannot reliably exercise the retry path. |
| [CometAPI Structured Output](/examples/models/cometapi/structured-output)    | Produce a MovieScript from CometAPI using output\_schema with JSON mode.                 |
| [Cometapi Tool Use](/examples/models/cometapi/tool-use)                      | Call WebSearchTools through CometAPI for prices, weather, and news queries.              |
