> ## 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

> TypeScript 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.

```ts theme={null}
import { CometAPILLM } from '@zeroruntime/js-sdk/plugins';  // direct to the vendor, with your key
```

### Options

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

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

<ParamField path="max_completion_tokens" type="number | null" default="null" />
