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

# Cometapi

> Python API reference for the cometapi llm provider.

<Card title="Usage guide" icon="book" href="/plugins/llm/cometapi" horizontal>
  Setup, environment variables, and Python/JavaScript/Go usage examples.
</Card>

## CometAPILLM

Initialize the CometAPI LLM plugin.

Slot: llm. Route: plugins -- direct to the vendor, with COMETAPI\_API\_KEY or
an explicit api\_key.

```python theme={null}
from zeroruntime.plugins import CometAPILLM  # direct to the vendor, with your key
```

### Fields

<ParamField path="model" type="str" default="gpt-4o-mini" />

<ParamField path="temperature" type="float" default="0.7" />

<ParamField path="max_completion_tokens" type="int | None" default="None" />
