"use strict";
/**
 * Pricing Tables — cost data for AI agent services on the Junction41.
 *
 * Based on Rex 🔬's research into real-world LLM and API costs.
 * All costs in USD. Convert to VRSC using current exchange rate.
 * ⚠️  Keep in sync with: verus-platform/src/api/routes/pricing.ts
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.PLATFORM_FEE = exports.CATEGORY_MARKUPS = exports.SELF_HOSTED_COSTS = exports.API_COSTS = exports.IMAGE_COSTS = exports.LLM_COSTS = void 0;
exports.LLM_COSTS = [
    // Anthropic (current gen: Claude 4.5/4.6)
    { model: 'claude-opus-4.6', inputPer1k: 0.005, outputPer1k: 0.025, typicalJobCost: 0.035, notes: 'Anthropic flagship, 1M context' },
    { model: 'claude-sonnet-4.6', inputPer1k: 0.003, outputPer1k: 0.015, typicalJobCost: 0.021, notes: 'Best speed/intelligence ratio' },
    { model: 'claude-haiku-4.5', inputPer1k: 0.001, outputPer1k: 0.005, typicalJobCost: 0.007, notes: 'Fastest Claude, 200K context' },
    // OpenAI (current gen: GPT-4.1, o3/o4)
    { model: 'gpt-4.1', inputPer1k: 0.002, outputPer1k: 0.008, typicalJobCost: 0.012, notes: 'OpenAI flagship' },
    { model: 'gpt-4.1-mini', inputPer1k: 0.0004, outputPer1k: 0.0016, typicalJobCost: 0.0024, notes: 'OpenAI budget' },
    { model: 'o3', inputPer1k: 0.01, outputPer1k: 0.04, typicalJobCost: 0.06, notes: 'OpenAI reasoning (premium)' },
    { model: 'o4-mini', inputPer1k: 0.0011, outputPer1k: 0.0044, typicalJobCost: 0.0066, notes: 'OpenAI reasoning (budget)' },
    // xAI (current gen: Grok 4.20)
    { model: 'grok-4.20', inputPer1k: 0.002, outputPer1k: 0.006, typicalJobCost: 0.01, notes: 'xAI flagship, 2M context' },
    { model: 'grok-4-1-fast', inputPer1k: 0.0002, outputPer1k: 0.0005, typicalJobCost: 0.0009, notes: 'xAI fast/budget' },
    // Google (current gen: Gemini 2.5)
    { model: 'gemini-2.5-pro', inputPer1k: 0.00125, outputPer1k: 0.01, typicalJobCost: 0.0125, notes: 'Google flagship' },
    { model: 'gemini-2.5-flash', inputPer1k: 0.00015, outputPer1k: 0.0006, typicalJobCost: 0.0009, notes: 'Google budget (very cheap)' },
    // DeepSeek (current gen: V3, R1)
    { model: 'deepseek-v3', inputPer1k: 0.00027, outputPer1k: 0.0011, typicalJobCost: 0.00164, notes: 'DeepSeek V3 (very cheap)' },
    { model: 'deepseek-r1', inputPer1k: 0.00055, outputPer1k: 0.00219, typicalJobCost: 0.00329, notes: 'DeepSeek reasoning' },
    // Mistral (current gen: Large 3, Small 4)
    { model: 'mistral-large-3', inputPer1k: 0.002, outputPer1k: 0.006, typicalJobCost: 0.01, notes: 'Mistral flagship' },
    { model: 'mistral-small-4', inputPer1k: 0.0001, outputPer1k: 0.0003, typicalJobCost: 0.0005, notes: 'Mistral budget' },
    { model: 'codestral', inputPer1k: 0.0003, outputPer1k: 0.0009, typicalJobCost: 0.0015, notes: 'Mistral code specialist' },
    // Moonshot / Kimi (active on dispatcher agents)
    { model: 'kimi-k2', inputPer1k: 0.0002, outputPer1k: 0.001, typicalJobCost: 0.0014, notes: 'Moonshot Kimi K2 (NVIDIA)' },
    // Meta (open-weight, priced via API hosts)
    { model: 'llama-4-scout', inputPer1k: 0.0002, outputPer1k: 0.0008, typicalJobCost: 0.0012, notes: 'Meta Llama 4 Scout via API' },
    // Self-hosted (see SELF_HOSTED_COSTS for GPU costs)
    { model: 'self-hosted-7b', inputPer1k: 0.0001, outputPer1k: 0.0001, typicalJobCost: 0.0003, notes: 'Self-hosted 7B model (GPU amortized)' },
    { model: 'self-hosted-70b', inputPer1k: 0.0005, outputPer1k: 0.0005, typicalJobCost: 0.0015, notes: 'Self-hosted 70B model (GPU amortized)' },
];
exports.IMAGE_COSTS = [
    { model: 'dall-e-3-standard', costPerImage: 0.04, notes: 'DALL-E 3 1024x1024 Standard' },
    { model: 'dall-e-3-hd', costPerImage: 0.08, notes: 'DALL-E 3 1024x1024 HD' },
    { model: 'dall-e-2', costPerImage: 0.02, notes: 'DALL-E 2 1024x1024' },
    { model: 'stable-diffusion-xl', costPerImage: 0.002, notes: 'SDXL via API (Stability)' },
    { model: 'midjourney', costPerImage: 0.05, notes: 'Midjourney (estimated per-image)' },
    { model: 'self-hosted-sd', costPerImage: 0.001, notes: 'Self-hosted Stable Diffusion (GPU amortized)' },
];
exports.API_COSTS = [
    { api: 'web-search', costPerRequest: 0.005, notes: 'Google/Bing search API' },
    { api: 'weather', costPerRequest: 0.001, notes: 'Weather API' },
    { api: 'translation', costPerRequest: 0.01, notes: 'Translation API (per paragraph)' },
    { api: 'code-execution', costPerRequest: 0.005, notes: 'Sandboxed code execution' },
    { api: 'pdf-extraction', costPerRequest: 0.01, notes: 'PDF text extraction' },
    { api: 'ocr', costPerRequest: 0.015, notes: 'OCR per image' },
    { api: 'tts', costPerRequest: 0.02, notes: 'Text-to-speech per page' },
    { api: 'stt', costPerRequest: 0.006, notes: 'Speech-to-text per minute' },
];
exports.SELF_HOSTED_COSTS = [
    { model: '7b-quantized', gpuType: 'RTX 4090', hourlyGpuCost: 0.40, tokensPerSecond: 80, costPer1kTokens: 0.0014, notes: '7B Q4 on consumer GPU' },
    { model: '7b-quantized', gpuType: 'A100-40GB', hourlyGpuCost: 1.50, tokensPerSecond: 120, costPer1kTokens: 0.0035, notes: '7B Q4 on datacenter GPU' },
    { model: '70b-quantized', gpuType: 'A100-80GB', hourlyGpuCost: 2.00, tokensPerSecond: 30, costPer1kTokens: 0.0185, notes: '70B Q4 on A100 80GB' },
    { model: '70b-quantized', gpuType: '2xA100-80GB', hourlyGpuCost: 4.00, tokensPerSecond: 60, costPer1kTokens: 0.0185, notes: '70B Q4 on dual A100' },
];
exports.CATEGORY_MARKUPS = {
    trivial: { min: 2, max: 3 },
    simple: { min: 3, max: 5 },
    medium: { min: 5, max: 10 },
    complex: { min: 10, max: 20 },
    premium: { min: 20, max: 50 },
};
/**
 * Platform fee — 5% of transaction value.
 * Deducted from the seller's payout.
 */
exports.PLATFORM_FEE = 0.05;
//# sourceMappingURL=tables.js.map