{"url":"https://nexovirt.com/features/ai-access","title":"Sell AI API access with LiteLLM · NexoVirt","description":"Sell AI API keys from your NexoVirt shop: every customer gets a LiteLLM virtual key with an included budget or pay per use, and sees spend per model.","markdown_url":"https://nexovirt.com/features/ai-access.md","sections":[{"heading":"Sell AI access with LiteLLM on your own Proxmox hosting","content":"NexoVirt sells AI access through your shop: connect a LiteLLM gateway, create a product, and every customer who orders it gets their own virtual key with a budget. Customers use that key with any OpenAI-compatible tool and see their spend, tokens and models on their service page.\n\n[Install free](https://docs.nexovirt.com/getting-started/installation/) [Read the AI access guide](https://docs.nexovirt.com/guides/ai-access/)\n\n![AI access in the NexoVirt panel](https://nexovirt.com/assets/img/screenshots/ai-usage-dark.webp?v=1795199837)"},{"heading":"What it does","content":"Sell LiteLLM API keys with an included budget or pay per use, with usage in the portal.\n\n- Connect a LiteLLM gateway\n\nAdd the gateway's base URL and master key under AI gateways. The master key is stored encrypted and never shown again. Plain http is only allowed on private addresses.\n- A key per customer\n\nEach order creates the customer's own LiteLLM virtual key. It is shown once on their service page (Show key), New key replaces it, a suspended service blocks it and a deleted one removes it.\n- Flat price with a budget\n\nThe product includes a model budget in USD per period. The budget starts again with every paid renewal, and the key is blocked when it is used up.\n- Pay per use\n\nSet a price per 1 USD of model cost. Usage is charged from the customer balance once a day, the key limit follows the balance, and the service is suspended when the balance is empty and resumes after a top-up.\n- Allowed models per product\n\nEach product lists the models its keys may use, or allows every model on the gateway.\n- Usage for the customer\n\nThe usage card shows the spend this period, the budget left or how long the balance lasts, requests, tokens and spend per model, a 30-day chart and the base URL to copy.\n- Every key in view\n\nAdmins see every virtual key of their gateways, link existing LiteLLM keys to customers, or create a key for a customer for free, at their own price or from a product.\n- AI apps in one click\n\nNo gateway yet? LiteLLM installs as a one-click app, next to Hermes Agent, Hermes Workspace, Hermes WebUI, Paperclip and Ollama with Open WebUI."},{"heading":"How to use it","content":"Up and running in 4 steps, all in the panel.\n\n1. Install LiteLLM as a one-click app, or use the gateway you already run.\n2. Open Settings, AI gateways and add the gateway with its URL and master key.\n3. Create a service product, pick the gateway on its Provisioning tab and choose a flat budget or pay per use and the allowed models.\n4. Customers order it in the shop and copy their key and base URL from the service page.\n\n[AI access: step-by-step guide in the docs](https://docs.nexovirt.com/guides/ai-access/)"},{"heading":"See it in the panel","content":"Real screenshots from NexoVirt, with demo data.\n\n![Create key for customer: a product or your own price, a USD budget, allowed models and the paid-until date.](https://nexovirt.com/assets/img/screenshots/crop-ai-key-dialog-dark.webp?v=1795199837)\n\nCreate key for customer: a product or your own price, a USD budget, allowed models and the paid-until date.\n\n![AI > Keys: every virtual key with its gateway, status and linked customer.](https://nexovirt.com/assets/img/screenshots/ai-keys-dark.webp?v=1795199837)\n\nAI > Keys: every virtual key with its gateway, status and linked customer."},{"heading":"AI access FAQ","content":"Which plan includes AI access?AI access is sold through the shop, which is part of the Business and Unlimited plans. The AI one-click apps, LiteLLM included, are free in every edition.\n\nDoes NexoVirt run the models?No. LiteLLM forwards the requests to the model providers you add to it, or to a local Ollama. NexoVirt creates the keys, sets their budgets and bills the usage.\n\nCan a customer see the key again?The key is shown once. New key replaces it with a fresh one, and the old key stops working at once.\n\nWhat happens when a pay-per-use balance runs out?The service is suspended and the key blocked. After a top-up the service resumes and the key works again."},{"heading":"Related pages","content":"- [   Pricing The shop and AI access are part of Business and Unlimited.  ](https://nexovirt.com/pricing)\n- [   Shop & customer balance Customers order plans and extras from a prepaid balance, renewed automatically.  ](https://nexovirt.com/features/shop)\n- [   Payments & invoices Stripe and PayPal checkout, invoices with VAT and coupons.  ](https://nexovirt.com/features/payments)\n- [   One-click apps Nextcloud, WordPress, Vaultwarden, LiteLLM and 65 more apps in a new container, from one form.  ](https://nexovirt.com/features/apps)\n- [   All features Everything NexoVirt adds to Proxmox VE.  ](https://nexovirt.com/features)"},{"heading":"Start running NexoVirt today","content":"Free for homelabs with unlimited VMs on up to 2 nodes. Running a hosting business? Upgrade in place when you grow, no migration.\n\n[Install free](https://docs.nexovirt.com/getting-started/installation/) [See pricing](https://nexovirt.com/pricing)"}],"faq":[{"question":"Which plan includes AI access?","answer":"AI access is sold through the shop, which is part of the Business and Unlimited plans. The AI one-click apps, LiteLLM included, are free in every edition."},{"question":"Does NexoVirt run the models?","answer":"No. LiteLLM forwards the requests to the model providers you add to it, or to a local Ollama. NexoVirt creates the keys, sets their budgets and bills the usage."},{"question":"Can a customer see the key again?","answer":"The key is shown once. New key replaces it with a fresh one, and the old key stops working at once."},{"question":"What happens when a pay-per-use balance runs out?","answer":"The service is suspended and the key blocked. After a top-up the service resumes and the key works again."}]}