{"uid":"cap_lSd8t1GDScMe58lwYJNha","slug":"corpusai-llm-token-prices-api-4222d9e5","name":"corpusAI LLM Token Prices API","description":"corpusAI Cloud Pricing: Every listed price for one model on one day: each source and hosting provider, USD per million tokens.","url":"https://cloud.trycorpus.ai/v1/tokens/quotes?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["model"],"properties":{"day":{"type":"string","format":"date","description":"YYYY-MM-DD; default latest."},"model":{"type":"string","examples":["deepseek-v3"],"description":"Canonical model slug from /tokens/models."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"day":{"type":"string","format":"date"},"code":{"type":"string"},"unit":{"type":"string"},"count":{"type":"integer"},"model":{"type":"string"},"quotes":{"type":"array","items":{"type":"object","properties":{"sku":{"type":"string"},"as_of":{"type":"string"},"extra":{"type":["object","null"]},"source":{"type":"string"},"context":{"type":["integer","null"]},"provider":{"type":"string"},"input_per_m":{"type":["number","null"]},"output_per_m":{"type":["number","null"]},"cache_read_per_m":{"type":["number","null"]}}}}}}}}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TFkVG0gH_PFc-bNzrUyV8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current and historical LLM token pricing (input, output, cache-read per million tokens) for a specified model across all providers.","exampleAgentPrompt":"What are the current token prices for deepseek-v3 — input, output, and cache read per million tokens — across all providers?","exampleUseCases":[{"title":"LLM cost comparison for model selection","prompt":"I'm choosing between a few LLM providers for my app. Can you pull the current token prices for gpt-4o — input and output per million — so I can compare costs?"},{"title":"Historical pricing audit for a past date","prompt":"What were the token prices for claude-3-5-sonnet on 2024-10-01? I need the input and output cost per million tokens for a cost reconciliation report."},{"title":"Cheapest provider lookup for budget optimization","prompt":"I want to optimize my AI spending — can you look up today's token quotes for llama-3-70b and tell me which provider offers the lowest input price per million tokens?"}],"resultDescription":"Returns a JSON object with the queried model slug, date, unit, count of quotes, and an array of pricing quotes. Each quote includes the provider name, SKU, input price per million tokens, output price per million tokens, cache read price per million tokens, context window size, pricing source, and as-of timestamp.","failureModes":["Invalid or unrecognized model slug returns an error — model must be a canonical slug from /tokens/models","Invalid date format (not YYYY-MM-DD) causes a validation error","No pricing data available for the requested model/date combination returns empty quotes array","Payment failure via x402 (insufficient USDC balance or wallet misconfiguration) blocks the request","Rate limiting or network timeout if the service is under high load"],"whenToPreferThis":"Choose this endpoint when you need structured, machine-readable LLM token pricing data for a specific model, optionally on a specific historical date. It is ideal for cost optimization workflows, budget forecasting, provider comparison, and audit trails. Prefer this over scraping provider websites or using static pricing tables, as it aggregates multi-provider quotes in a single call and supports historical lookups back to a defined baseline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:38:34.885Z","isFirstParty":false,"canonicalSlug":"corpusai-llm-token-prices-api-4222d9e5"}