Skip to content

Add API Model Pricing page#19

Open
shin-bot-litellm wants to merge 2 commits intofastrepl:mainfrom
shin-bot-litellm:add-api-pricing-page
Open

Add API Model Pricing page#19
shin-bot-litellm wants to merge 2 commits intofastrepl:mainfrom
shin-bot-litellm:add-api-pricing-page

Conversation

@shin-bot-litellm
Copy link
Contributor

Summary

Adds a new API Model Pricing top-level tab to the site, documenting the LiteLLM Model Catalog API.

What's included:

  • New ApiPricing.svelte component with:
    • Base URL and intro
    • GET /model_catalog endpoint with query parameters table, curl example, and sample response
    • GET /model_catalog/{model_id} endpoint with example
    • Quick-reference example cards for common queries
    • Link to interactive docs at https://api.litellm.ai/docs
  • Tab added to both desktop and mobile navigation in Main.svelte
  • Route /api-pricing supported via existing SPA fallback

Design matches the existing site style (dark/light mode, same CSS variables).

- New top-level tab linking to LiteLLM's Model Catalog API
- Documents GET /model_catalog and GET /model_catalog/{model_id} endpoints
- Includes query parameters table, curl examples, and sample responses
- Links to interactive docs at https://api.litellm.ai/docs
@vercel
Copy link

vercel bot commented Feb 12, 2026

@shin-bot-litellm is attempting to deploy a commit to the CLERKIEAI Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant