Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Credit management endpoints
from openrouter import OpenRouter import os with OpenRouter( http_referer="<value>", x_open_router_title="<value>", x_open_router_categories="<value>", api_key=os.getenv("OPENROUTER_API_KEY", ""), ) as open_router: res = open_router.credits.get_credits() # Handle response print(res)
http_referer
x_open_router_title
x_open_router_categories
retries