Industry
Use Case
Favorite Feature
NeuralScale is an AI/ML inference-as-a-service platform providing REST APIs for large language models, computer vision, and multimodal models. They serve over 8,000 developers ranging from indie startups building AI-powered applications to Fortune 500 enterprises. NeuralScale’s business model revolves around metering actual GPU/compute consumption and pricing based on token consumption (for LLM models) or inference volume (for vision models).
Before NetLicensing, NeuralScale used a flat-rate pricing model ($0.001 per API request regardless of model or size), which created severe margin erosion. A simple 50-token completion earned the same revenue as a 4,000-token context window response that required 80x more GPU time. Additionally, NeuralScale had no quota enforcement, leading to customer incidents where misconfigured applications generated runaway costs ($50K+ bills due to infinite retry loops or prompt injection attacks).
NeuralScale adopted NetLicensing to implement sophisticated token-based billing aligned with actual computational costs, granular quota enforcement, real-time usage tracking, and flexible billing models (pay-as-you-go, subscription, postpaid enterprise).
NeuralScale faced three interconnected monetization problems:
Misaligned Pricing and Computational Cost: The flat-per-request model didn’t account for wildly variable inference costs. A 50-token completion cost 1% of the GPU time of a 4,000-token response, yet both earned identical revenue. Customers using expensive multimodal models (text+image, vision transformers) subsidized customers using cheap small language models. Premium fine-tuned models weren’t separately priced, eliminating upsell opportunities.
No Quota Enforcement or Cost Controls: Customers had no per-minute, per-hour, or monthly consumption limits. When a customer misconfigured their application, incorrect retry logic or prompt injection attacks could trigger thousands of unexpected API calls, resulting in unexpected $50K-$100K charges. NeuralScale absorbed chargeback costs and customer goodwill damage.
Fragmented Billing Models: Startups wanted prepaid “pay-as-you-go” with low entry friction ($5 to start). SMBs wanted predictable monthly subscriptions with tiered token allowances. Enterprise customers needed postpaid invoicing with volume-based discounts negotiated into contracts. NeuralScale’s billing infrastructure couldn’t support all three models simultaneously.
Lack of Usage Visibility: Developers had no real-time insight into token consumption or cost projections. They’d discover they’d exceeded budget only when receiving unexpected invoices, damaging the developer experience.
NeuralScale implemented a three-model strategy using NetLicensing:
Pay-Per-Use (PPU) Model: For startups and low-volume developers. Prepaid credits with per-token metering. No upfront commitment, low barrier to entry. Pricing is variable: GPT-4 class models cost $0.001 per output token + $0.0005 per input token; smaller models cost $0.0001 per token. Vision models cost $0.01 per inference.
Subscription (Monthly Quota) Model: For SMBs with predictable usage. Fixed monthly fees ($99, $499, $1,999) include a token quota (1M, 10M, 100M tokens/month respectively). Overage charges apply at per-token rates. Soft limits (80% of quota) trigger warnings; hard limits (100% of quota) trigger throttling.
Enterprise Postpaid Model: For large customers with custom contracts. Monthly token metering with no pre-set quota. Volume discounts applied automatically based on total consumption (e.g., 10% discount above 500M tokens/month). Invoicing is postpaid with NET-30 terms.
Model mechanics:
APIKEY-user123-sk-abcd).https://go.netlicensing.io/.NEURALSCALE-APINeuralScale AI Inference API2.0Token-metered inference API for LLM, vision, and multimodal modelsPREDEFINED (NeuralScale assigns API key as licensee secret)Create three modules corresponding to billing models:
Module 1: Pay-Per-Use (Quota Model)
NEURALSCALE-API > Modules > New Module.PPU-TOKENSPay-Per-Use Token MeteringPayPerUsePer-token billing with prepaid creditsModule 2: Subscription (Quota Model)
SUBSCRIPTION-QUOTASubscription Token QuotaQuotaMonthly token quota with overage billingModule 3: Enterprise Postpaid (PayPerUse Model)
ENTERPRISE-METERINGEnterprise Postpaid MeteringPayPerUsePostpaid token metering with volume discountsTemplate 1: Pay-Per-Use - GPT-4 Class Models
NEURALSCALE-API > Modules > PPU-TOKENS > License Templates > New Template.PPU-GPT4-TOKENSPay-Per-Use - GPT-4 ModelsQUANTITY0 (metering handled separately)input_token_price: 0.0005 (dollars per input token)output_token_price: 0.001 (dollars per output token)model_class: gpt4Per-token pricing for GPT-4 class modelsTemplate 2: Pay-Per-Use - Small Base Models
PPU-SMALL-TOKENSPay-Per-Use - Base ModelsQUANTITY0input_token_price: 0.00005output_token_price: 0.0001model_class: basePer-token pricing for small base language modelsTemplate 3: Pay-Per-Use - Vision Models
PPU-VISION-TOKENSPay-Per-Use - Vision ModelsQUANTITY0inference_price: 0.01model_class: visionPer-inference pricing for computer vision modelsTemplate 4: Starter Subscription - 1M Monthly Tokens
NEURALSCALE-API > Modules > SUBSCRIPTION-QUOTA > License Templates > New Template.SUB-STARTERStarter Subscription - 1M Tokens/MonthTIMEVOLUME1 (month)MONTH99 (USD)quota_tokens: 1000000soft_limit_percent: 80overage_price_per_token: 0.0005Monthly subscription with 1M token quota and overage billingTemplate 5: Professional Subscription - 10M Monthly Tokens
SUB-PROFESSIONALProfessional Subscription - 10M Tokens/MonthTIMEVOLUME1 (month)MONTH499 (USD)quota_tokens: 10000000soft_limit_percent: 80overage_price_per_token: 0.0003Monthly subscription with 10M token quotaTemplate 6: Enterprise Subscription - 100M Monthly Tokens
SUB-ENTERPRISEEnterprise Subscription - 100M Tokens/MonthTIMEVOLUME1 (month)MONTH1999 (USD)quota_tokens: 100000000soft_limit_percent: 80overage_price_per_token: 0.0002Monthly subscription with 100M token quotaTemplate 7: Enterprise Postpaid - Monthly Metering
NEURALSCALE-API > Modules > ENTERPRISE-METERING > License Templates > New Template.POSTPAID-ENTERPRISEEnterprise Postpaid - Monthly MeteringQUANTITY0 (usage-based metering)base_price_per_token: 0.0002volume_discount_500m: 0.10 (10% discount above 500M tokens)volume_discount_1b: 0.15 (15% discount above 1B tokens)billing_cycle: monthlypayment_terms: net-30Postpaid enterprise metering with volume discountsThe NeuralScale API platform integrates NetLicensing at three critical points:
When a developer signs up, NeuralScale’s backend creates a Licensee and issues an API key:
# Create licensee for new API account
curl -X POST "https://go.netlicensing.io/core/v2/rest/licensee" \
-H "Content-Type: application/x-www-form-urlencoded" \
-u "apikey:your-netlicensing-api-key" \
-d "licenseeNumber=APIKEY-user123-sk-9a8b7c6d" \
-d "active=true" \
-d "name=John Developer" \
-d "licenseeSecret=sk-9a8b7c6d"
Response:
{
"licensee": {
"number": "APIKEY-user123-sk-9a8b7c6d",
"active": true,
"name": "John Developer",
"licenseeSecret": "sk-9a8b7c6d",
"productNumber": "NEURALSCALE-API",
"creationTime": "2026-04-19T12:00:00Z"
}
}
NeuralScale generates an API key sk-9a8b7c6d and returns it to the developer. The key is used in API requests as a Bearer token.
During signup, the developer chooses a plan. NeuralScale assigns the corresponding license:
For a developer selecting the “Starter Subscription” plan:
curl -X POST "https://go.netlicensing.io/core/v2/rest/license" \
-H "Content-Type: application/x-www-form-urlencoded" \
-u "apikey:your-netlicensing-api-key" \
-d "licenseTemplateNumber=SUB-STARTER" \
-d "licenseeNumber=APIKEY-user123-sk-9a8b7c6d" \
-d "active=true" \
-d "startDate=2026-04-19T00:00:00Z"
Response:
{
"license": {
"number": "L-APIKEY-user123-SUB-001",
"active": true,
"licenseeNumber": "APIKEY-user123-sk-9a8b7c6d",
"licenseTemplateNumber": "SUB-STARTER",
"startDate": "2026-04-19T00:00:00Z",
"creationTime": "2026-04-19T12:01:00Z"
}
}
The developer now has a license with 1M token quota for the month starting 2026-04-19.
When a developer calls an inference endpoint, the API gateway validates before routing to the inference engine:
# API Gateway validation call
curl -X GET "https://go.netlicensing.io/core/v2/rest/licensee/APIKEY-user123-sk-9a8b7c6d/validate" \
-u "apikey:your-netlicensing-api-key"
Response:
{
"validationResult": {
"valid": true,
"licenseeNumber": "APIKEY-user123-sk-9a8b7c6d",
"productModuleValidations": [
{
"productModule": "SUBSCRIPTION-QUOTA",
"valid": true,
"licensing": "Quota",
"used": 750000,
"quota": 1000000
}
]
}
}
The gateway extracts used and quota to check if the request can proceed. If used >= quota (hard limit), the gateway returns HTTP 429 (Too Many Requests). If used >= quota * 0.8 (soft limit), a warning is logged and the developer’s dashboard displays a warning.
After inference completes with actual token counts, NeuralScale reports consumption to NetLicensing:
# Pseudocode: API gateway after inference completes
def handle_inference_request(api_key, model, prompt, params):
licensee_number = extract_licensee_from_key(api_key)
# Pre-call validation
validation = validate_licensee(licensee_number)
if not validation['valid']:
return {'error': 'Invalid or expired API key', 'status': 401}
# Check quota before routing
module_validation = get_module_validation(validation, 'SUBSCRIPTION-QUOTA')
if module_validation and module_validation['used'] >= module_validation['quota']:
return {'error': 'Quota exceeded', 'status': 429}
# Route to inference engine
inference_result = call_inference_engine(model, prompt, params)
# Extract token counts
input_tokens = inference_result['usage']['input_tokens']
output_tokens = inference_result['usage']['output_tokens']
total_tokens = input_tokens + output_tokens
# Report usage to NetLicensing
report_usage_to_netlicensing({
'licensee_number': licensee_number,
'tokens_consumed': total_tokens,
'input_tokens': input_tokens,
'output_tokens': output_tokens,
'model': model,
'timestamp': datetime.utcnow().isoformat()
})
return inference_result
The backend calls the NetLicensing API to record usage. For PayPerUse licenses, this decrements the prepaid credit balance. For Quota licenses, this increments the monthly usage counter.
When a PPU customer makes an inference call consuming 500 tokens with GPT-4 pricing:
# Calculate charges
input_tokens = 300
output_tokens = 200
input_price = 0.0005 # per token
output_price = 0.001 # per token
total_charge = (input_tokens * input_price) + (output_tokens * output_price)
# total_charge = (300 * 0.0005) + (200 * 0.001) = 0.15 + 0.20 = $0.35
# Report to NetLicensing (using quantity/usage field)
report_usage(licensee_number, {
'used_quantity': 500, # total tokens
'charge_amount': 0.35,
'model': 'gpt-4'
})
NetLicensing decrements the remaining prepaid balance. When balance approaches $0, the system notifies the developer via email and in-dashboard warning: “Your prepaid credits are nearly depleted. Add funds to continue using the API.”
For a Subscription customer with 1M monthly token quota, token consumption increments each call:
# After inference with 500 tokens
report_usage(licensee_number, {
'used_quantity': 500, # add to monthly count
})
NetLicensing tracks cumulative monthly usage. At the start of the next month (calendar or anniversary date depending on configuration), the quota resets.
If a Subscription customer exceeds their monthly quota:
# Customer has used 1.05M tokens out of 1M quota (50K over)
# Overage price: 0.0005 per token (from SUB-STARTER template)
overage_charge = 50000 * 0.0005 # $25
# Overage applied at next invoice cycle
monthly_invoice = {
'subscription_fee': 99,
'overage_tokens': 50000,
'overage_charge': 25,
'total': 124
}
NeuralScale’s billing system calculates overages during monthly reconciliation.
The developer dashboard pulls real-time metrics from NetLicensing:
// Dashboard JavaScript
async function fetchUsageMetrics(licenseeNumber) {
const validation = await validateLicensee(licenseeNumber);
const moduleValidation = validation.productModuleValidations.find(
m => m.productModule === 'SUBSCRIPTION-QUOTA'
);
const quotaUsed = moduleValidation.used;
const quotaTotal = moduleValidation.quota;
const percentUsed = (quotaUsed / quotaTotal) * 100;
return {
tokensUsed: quotaUsed.toLocaleString(),
tokensRemaining: (quotaTotal - quotaUsed).toLocaleString(),
quotaPercent: percentUsed.toFixed(1),
quotaWarning: percentUsed >= 80,
projectedOverage: percentUsed > 100 ?
((quotaUsed - quotaTotal) * 0.0005).toFixed(2) :
'0'
};
}
The dashboard displays:
def create_api_account(email, name, selected_plan):
# Generate unique API key
api_key = generate_api_key() # e.g., sk-9a8b7c6d
# Create licensee
licensee = create_licensee({
'licenseeNumber': f'APIKEY-{uuid.uuid4()[:8]}-{api_key}',
'name': name,
'active': True,
'licenseeSecret': api_key
})
# Assign license based on plan
if selected_plan == 'pay_as_you_go':
# Add $5 initial prepaid credit
license = create_license({
'licenseTemplateNumber': 'PPU-GPT4-TOKENS',
'licenseeNumber': licensee['number'],
'active': True
})
add_credit(licensee['number'], 5.00)
elif selected_plan == 'starter':
license = create_license({
'licenseTemplateNumber': 'SUB-STARTER',
'licenseeNumber': licensee['number'],
'active': True,
'startDate': datetime.utcnow().isoformat() + 'Z'
})
process_payment(email, 99) # Charge credit card
return {
'api_key': api_key,
'licensee_number': licensee['number'],
'email_confirmation_sent': True
}
When a developer upgrades from Starter to Professional:
# Deactivate old license
curl -X POST "https://go.netlicensing.io/core/v2/rest/license/L-OLD-LICENSE" \
-H "Content-Type: application/x-www-form-urlencoded" \
-u "apikey:your-netlicensing-api-key" \
-d "active=false"
# Create new license
curl -X POST "https://go.netlicensing.io/core/v2/rest/license" \
-H "Content-Type: application/x-www-form-urlencoded" \
-u "apikey:your-netlicensing-api-key" \
-d "licenseTemplateNumber=SUB-PROFESSIONAL" \
-d "licenseeNumber=APIKEY-user123-sk-9a8b7c6d" \
-d "active=true" \
-d "startDate=2026-05-19T00:00:00Z"
Quota resets to 10M tokens on the new subscription start date. NeuralScale processes a prorated credit (refunding unused portion of Starter plan) and charges the Professional plan.
For enterprise customers with signed contracts, NeuralScale manually creates Licensees and licenses in the Management Console:
ENTERPRISE-acme-corpPOSTPAID-ENTERPRISE with custom properties: base_price_per_token: 0.00017 (post-discount), monthly_billing: trueWhen a PPU customer’s prepaid balance approaches zero, they receive an in-app notification:
# Generate shop token for developer
curl -X POST "https://go.netlicensing.io/core/v2/rest/token" \
-H "Content-Type: application/x-www-form-urlencoded" \
-u "apikey:your-netlicensing-api-key" \
-d "tokenType=SHOP" \
-d "licenseeNumber=APIKEY-user123-sk-9a8b7c6d"
Response:
{
"token": {
"number": "TOKEN-shop-xyz789",
"value": "https://shop.netlicensing.io/?token=TOKEN-shop-xyz789",
"creationTime": "2026-04-19T13:00:00Z"
}
}
{
"event": "license.purchased",
"licensee": "APIKEY-user123-sk-9a8b7c6d",
"transaction_id": "TXN-12345678",
"amount": 50.00,
"credit_purchased": 50000
}
Subscription licenses are billed monthly via Stripe:
A developer might burst to 10M tokens in a single day, exhausting a monthly quota. NeuralScale’s approach:
If a customer’s application is compromised and attackers inject prompts triggering infinite loops:
If a Stripe payment fails during subscription renewal:
def handle_subscription_renewal_failure(licensee_number, attempt_count):
if attempt_count == 1:
# First failure: notify customer, retry in 3 days
send_email(licensee_number, 'Payment Renewal Failed',
'Your subscription renewal failed. Please update your payment method.')
schedule_retry(licensee_number, days=3)
elif attempt_count == 2:
# Second failure: grace period, warn of suspension
send_email(licensee_number, 'Final Payment Attempt',
'Your subscription will be suspended in 4 days if payment is not received.')
extend_license_with_grace_period(licensee_number, days=4)
schedule_retry(licensee_number, days=3)
elif attempt_count >= 3:
# Third failure: suspend license
deactivate_license(licensee_number)
send_email(licensee_number, 'Account Suspended',
'Your subscription has been suspended due to non-payment.')
All token consumption is logged for compliance (PCI-DSS, SOC 2):
{
"timestamp": "2026-04-19T14:23:45Z",
"event": "token_consumption_reported",
"licensee_number": "APIKEY-user123-sk-9a8b7c6d",
"model": "gpt-4",
"input_tokens": 300,
"output_tokens": 200,
"total_tokens": 500,
"charge_amount": 0.35,
"charge_currency": "USD",
"remaining_balance": 9.65,
"api_request_id": "req_xyz789"
}
Logs are immutable and retained for 7 years.
If NeuralScale refunds a customer $100 for a billing error:
# Add credit (negative usage in NetLicensing terms)
curl -X POST "https://go.netlicensing.io/core/v2/rest/license/L-LICENSE-NUM" \
-H "Content-Type: application/x-www-form-urlencoded" \
-u "apikey:your-netlicensing-api-key" \
-d "used_quantity=-100000" \
-d "custom_refund_reason=Billing_Error_Correction"
This increments the Licensee’s available balance by the refunded amount, allowing them to continue using the API.
After integrating NetLicensing for token-based billing, NeuralScale achieved:
Revenue per customer increased 47%: Precise token-level pricing aligned with actual computational costs. Premium model pricing ($0.001/output token for GPT-4 vs. $0.0001 for base models) captured margin on higher-value models.
Margin protection: Expensive inference operations (4,000-token contexts, multimodal vision models) now generate appropriate revenue. Cost-of-goods sold for expensive operations is covered by pricing tiers.
Customer acquisition improved: Low-friction pay-as-you-go entry with $5 initial credit lowered conversion barriers for startups and indie developers. Signup-to-first-inference time dropped from 2 hours (manual account creation) to 10 minutes (automated).
Runaway cost incidents eliminated: Proactive quota warnings at 80% and automatic throttling at 100% prevented surprise bills. Zero $50K+ chargeback incidents in 6 months post-launch (previously 2-3 per month).
Developer satisfaction improved: Real-time usage dashboards showing per-model token consumption and cost projections replaced opaque billing. NPS for billing transparency increased from 32 to 72.
Enterprise sales cycle shortened: Flexible postpaid billing with volume discounts addressable through a single contract accelerated deal closures. Sales cycle reduced from 4 months to 6 weeks for $100K+ contracts.
Subscription adoption increased: 65% of new customers selected monthly subscription plans (vs. 15% before NetLicensing), creating predictable recurring revenue. Average customer LTV increased 3x.
Operational overhead reduced 40%: Manual billing reconciliation and chargeback handling eliminated. NetLicensing API automates metering, quota enforcement, and usage reporting.
NeuralScale continues to expand monetization sophistication: upcoming features include per-endpoint pricing (different rates for batch inference vs. streaming), SLA-based pricing tiers (98% uptime base vs. 99.9% premium), and custom volume discount tiers for enterprise contracts.

Physical Security: Feature-Based Access Control with Time-Limited Permissions
A building management company implemented feature-based access control with time-limited permissions to manage resource gating and dynamic authorization across facilities.

AI Chatbot Platform: Multi-Tenant Licensing
A white-label AI chatbot startup replaced flat pricing with tiered entitlements for bot count, message volume, and premium NLP features.