Embed Code Generator

Comma-separated model names. Leave blank to show all.
Filter to one provider. Ignored if models are specified.
0 disables auto-refresh.
Override to point at your self-hosted instance.

Embed Code


    
  

Live Preview

↓ This is a real embed using your settings ↓

Widget Attributes

Attribute Default Description
data-models (all) Comma-separated model names to display. Omit to show all models from all providers.
data-provider (all) Filter to a single provider (e.g. openai, anthropic). Ignored when data-models is set.
data-theme dark dark or light
data-layout table table for a full pricing table, compact for a card grid.
data-refresh 300 Seconds between auto-refresh. Set to 0 to disable.
data-server (auto) Override the server origin. Defaults to the hostname from which widget.js was loaded.

Public API Endpoint

The widget fetches from a public endpoint — no API key required.

GET /pricing/public
Returns simplified pricing for embedding. No authentication needed.
Query parameters:
models — comma-separated model names (optional)
provider — filter to one provider (optional)
{
  "models": [
    {
      "model_name": "gpt-4o",
      "provider": "openai",
      "input_per_1m_usd": 2.5,
      "output_per_1m_usd": 10.0,
      "context_window": 128000
    }
  ],
  "total": 1,
  "updated_at": "2026-03-09T12:00:00+00:00"
}