/** * Pricing Constants * * Centralized pricing data for all AI providers and services. * Prices are in micro-dollars (1/1,000,000 of a dollar) per unit. * * To convert: $0.001 per 1K tokens = 1 micro-dollar per token * * IMPORTANT: Keep these updated as provider pricing changes. * Last verified: 2025-01-01 * * Pricing Sources: * - OpenAI: https://platform.openai.com/docs/pricing * - Anthropic: https://docs.anthropic.com/en/docs/about-claude/models (see pricing section) * https://www.anthropic.com/pricing * - Google AI: https://ai.google.dev/gemini-api/docs/pricing * - Google Maps: https://developers.google.com/maps/billing-and-pricing/pricing */ import type { AIProvider, EmbeddingProvider, GeocodingProvider, MicroDollars, ModelPricing } from './types'; /** * AI model pricing for classification. * Prices are per token in micro-dollars. * * Sources: * - OpenAI: https://platform.openai.com/docs/pricing * - Anthropic: https://www.anthropic.com/pricing * - Google: https://ai.google.dev/gemini-api/docs/pricing */ export declare const AI_MODEL_PRICING: Record; /** * Embedding model pricing. * Prices are per token in micro-dollars. * * Source: https://platform.openai.com/docs/pricing */ export declare const EMBEDDING_MODEL_PRICING: Record; /** * Google Maps/Places API pricing. * Prices are per request in micro-dollars. * * Google pricing tiers (as of 2025): * - 0-100K requests/month: Standard pricing (shown below) * - 100K+ requests/month: Volume discounts available * * IMPORTANT: Google restructured pricing in March 2025 with new SKU tiers: * - Essentials: Basic data, lower cost * - Pro: Contact + atmosphere data * - Enterprise: Full data access * * Prices below are for the "Pro" tier which includes the data we need. * * Source: https://developers.google.com/maps/billing-and-pricing/pricing * Calculator: https://mapsplatform.google.com/pricing/ */ export declare const GOOGLE_MAPS_PRICING: { readonly placeDetails: MicroDollars; readonly placeSearch: MicroDollars; readonly nearbySearch: MicroDollars; readonly textSearch: MicroDollars; readonly autocomplete: MicroDollars; readonly placePhoto: MicroDollars; readonly geocode: MicroDollars; readonly reverseGeocode: MicroDollars; readonly updatedAt: "2025-01-01"; }; /** * Google Search API pricing (Programmable Search Engine). * Prices are per query in micro-dollars. * * Source: https://developers.google.com/custom-search/v1/overview#pricing * Pricing: $5.00 per 1,000 queries */ export declare const GOOGLE_SEARCH_PRICING: { /** Cost per search query ($0.005 per query = 5,000 micro-dollars) */ readonly searchQuery: MicroDollars; readonly updatedAt: "2026-01-01"; }; /** * Image service pricing. * Prices are per request in micro-dollars. * * Sources: * - Pixabay: https://pixabay.com/api/docs/ (free for API usage) * - Pexels: https://www.pexels.com/api/documentation/ (free for API usage) * - Google Places Photos: See GOOGLE_MAPS_PRICING above */ export declare const IMAGE_SERVICE_PRICING: { readonly pixabaySearch: MicroDollars; readonly pexelsSearch: MicroDollars; readonly googlePlacesPhoto: number; readonly updatedAt: "2025-01-01"; }; /** * Default models for each provider. * Used when no specific model is requested. * * IMPORTANT: Keep in sync with src/classifier/models.ts */ export declare const DEFAULT_AI_MODELS: Record; export declare const DEFAULT_EMBEDDING_MODELS: Record; export declare const DEFAULT_GEOCODING_PROVIDER: GeocodingProvider; /** * Get pricing for an AI model. * Falls back to default model for provider if not found. */ export declare function getAIModelPricing(model: string): ModelPricing | null; /** * Get pricing for an embedding model. */ export declare function getEmbeddingModelPricing(model: string): ModelPricing | null; /** * Get the default model for a provider. */ export declare function getDefaultAIModel(provider: AIProvider): string; /** * Get the default embedding model for a provider. */ export declare function getDefaultEmbeddingModel(provider: EmbeddingProvider): string; /** * List all available AI models. */ export declare function listAIModels(): string[]; /** * List all available embedding models. */ export declare function listEmbeddingModels(): string[]; //# sourceMappingURL=pricing.d.ts.map