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

# Quick Start

> GoModel AI gateway: run an OpenAI-compatible LLM gateway in 20 seconds, send your first request and see the real-time logs.

## Run GoModel in 20 Seconds

### 1. Install and start GoModel

<Tabs>
  <Tab title="macOS / Linux">
    ```bash theme={null}
    curl -fsSL https://gomodel.enterpilot.io/install.sh | sh
    gomodel
    ```
  </Tab>

  <Tab title="Windows">
    ```powershell theme={null}
    irm https://gomodel.enterpilot.io/install.ps1 | iex
    gomodel
    ```
  </Tab>

  <Tab title="Docker">
    ```bash theme={null}
    docker run --rm -p 8080:8080 enterpilot/gomodel
    ```
  </Tab>

  <Tab title="Live Demo" icon="monitor-play">
    [https://demo.enterpilot.io/admin/dashboard](https://demo.enterpilot.io/admin/dashboard?utm_source=gomodel_docs)
  </Tab>
</Tabs>

### 2. Set up a provider

You can do this with an [environment variable](/advanced/configuration#auto-discovery-from-environment-variables),
a [config.yaml file](/advanced/config-yaml) (infrastructure as code), or from
the Dashboard's [Providers page](/providers/overview#configuring-providers-without-env-vars) -
(no restart required in this case).

<img src="https://mintcdn.com/gomodel-feat-per-child-quotas/B5khNbQvpZe8I311/getting-started/images/add-provider.png?fit=max&auto=format&n=B5khNbQvpZe8I311&q=85&s=61ed0fdc84733902f76e18578414e20f" alt="Add Provider dialog in the GoModel dashboard" width="2790" height="1808" data-path="getting-started/images/add-provider.png" />

### 3. Send your first request

Use `curl`, the OpenAI SDK, or the Anthropic SDK for Python and JavaScript
against the same gateway:

<CodeGroup>
  ```bash curl theme={null}
  curl http://localhost:8080/v1/chat/completions \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer change-me" \
    -d '{
      "model": "gpt-4o-mini",
      "messages": [{"role": "user", "content": "Say hello in one sentence."}]
    }'
  ```

  ```python Python theme={null}
  from openai import OpenAI

  client = OpenAI(
      base_url="http://localhost:8080/v1",
      api_key="change-me",
  )

  completion = client.chat.completions.create(
      model="gpt-4o-mini",
      messages=[{"role": "user", "content": "Say hello in one sentence."}],
  )

  print(completion.choices[0].message.content)
  ```

  ```javascript JavaScript theme={null}
  import OpenAI from "openai";

  const client = new OpenAI({
    baseURL: "http://localhost:8080/v1",
    apiKey: "change-me",
  });

  const completion = await client.chat.completions.create({
    model: "gpt-4o-mini",
    messages: [{ role: "user", content: "Say hello in one sentence." }],
  });

  console.log(completion.choices[0].message.content);
  ```

  ```python Python (Anthropic) theme={null}
  import anthropic

  client = anthropic.Anthropic(
      base_url="http://localhost:8080",
      api_key="change-me",
  )

  message = client.messages.create(
      model="claude-sonnet-4-6",
      max_tokens=256,
      messages=[{"role": "user", "content": "Say hello in one sentence."}],
  )

  print(message.content[0].text)
  ```

  ```javascript JavaScript (Anthropic) theme={null}
  import Anthropic from "@anthropic-ai/sdk";

  const client = new Anthropic({
    baseURL: "http://localhost:8080",
    apiKey: "change-me",
  });

  const message = await client.messages.create({
    model: "claude-sonnet-4-6",
    max_tokens: 256,
    messages: [{ role: "user", content: "Say hello in one sentence." }],
  });

  console.log(message.content[0].text);
  ```
</CodeGroup>

<Tip>
  The Anthropic SDK examples call `POST /v1/messages`, GoModel's
  [Anthropic-compatible endpoint](/advanced/anthropic-messages-api). Any
  configured provider's model can be used there, not only Anthropic's.
</Tip>

## Admin Panel Preview

Open this URL in your browser to see the management dashboard and real-time audit logs and more:

`http://localhost:8080/admin/dashboard`

<Tip>
  Dashboard UI is enabled by default (`ADMIN_UI_ENABLED=true`). Admin API
  endpoints are at `/admin/*` and use the same bearer auth as the main
  API.
</Tip>

### Usage Analytics

<img src="https://mintcdn.com/gomodel-feat-per-child-quotas/B5khNbQvpZe8I311/getting-started/images/usage-analytics.png?fit=max&auto=format&n=B5khNbQvpZe8I311&q=85&s=e8b26f3ed8da28898cc9756b47940c71" alt="GoModel AI gateway usage analytics dashboard" width="2328" height="1392" data-path="getting-started/images/usage-analytics.png" />

### Audit Logs

<img src="https://mintcdn.com/gomodel-feat-per-child-quotas/B5khNbQvpZe8I311/getting-started/images/audit-logs.png?fit=max&auto=format&n=B5khNbQvpZe8I311&q=85&s=f8cd43fc06931d9a9700ecf7bfdf078f" alt="GoModel AI gateway audit logs dashboard" width="2800" height="1820" data-path="getting-started/images/audit-logs.png" />

## Next Steps

* Take it to production: [Production Deployment](/guides/production)
* Update, pin a version, or uninstall: [FAQ](/about/faq)
* Understand response caching: [Cache](/features/cache)
* Add spend limits: [Budgets](/features/budgets)
* Configure production settings: [Configuration](/advanced/configuration)
* Add request policies: [Guardrails](/advanced/guardrails)
* Connect OpenClaw: [Using GoModel with OpenClaw](/guides/openclaw)
