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

# Export Pricing

> Returns pricing grouped by model type (chat, embeddings, images, audio) in OpenLIT SDK pricing_json shape.

Authenticated export used by the **Export Pricing** button on Manage Models.

```bash theme={null}
curl -X GET "/api/openground/models/export" \
  -H "Cookie: <signed-in-session-cookie>" \
  -o pricing.json
```

For a public URL the SDK can call without a session cookie, use [Public pricing export](/latest/openlit/developer-resources/api-reference/endpoint/manage-models/public-pricing).


## OpenAPI

````yaml GET /api/openground/models/export
openapi: 3.0.0
info:
  title: Manage Models - Export Pricing
  description: >-
    Authenticated download of all model pricing as SDK-compatible pricing.json
    for the active database configuration.
  version: 1.0.0
servers:
  - url: /
security:
  - sessionAuth: []
paths:
  /api/openground/models/export:
    get:
      summary: Export pricing JSON
      description: >-
        Returns pricing grouped by model type (chat, embeddings, images, audio)
        in OpenLIT SDK pricing_json shape.
      operationId: exportModelsPricing
      responses:
        '200':
          description: pricing.json body
          content:
            application/json:
              schema:
                type: object
                example:
                  chat:
                    gpt-4o:
                      promptPrice: 0.0025
                      completionPrice: 0.01
                  embeddings:
                    text-embedding-3-small: 0.00002
        '401':
          description: Not signed in
components:
  securitySchemes:
    sessionAuth:
      type: apiKey
      in: cookie
      name: next-auth.session-token

````