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

# OpenAI Compatible CLI

> CLI commands for OpenAI Compatible provider

# OpenAI Compatible CLI Commands

## Environment Setup

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
export OPENAI_COMPATIBLE_API_KEY=...
export OPENAI_COMPATIBLE_BASE_URL=https://api.example.com/v1
```

## Commands

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai-ts providers doctor openai-compatible
praisonai-ts providers doctor openai-compatible --json
```

## Related

* [OpenAI Compatible Code Usage](/docs/js/providers/openai-compatible-code)
