isFreeTierProvider (constants/providers.ts)

openproxy · web/src/shared/constants/providers.ts · typescript · MIT
voice

TypeScript definitions and registry of AI providers and their capabilities.

// Source: https://github.com/quangdang46/openproxy | License: MIT | Copyright 2024-2026 decolua and contributors
// Provided via justclaw.it.com; keep this notice with the code.
// Provider definitions

import type {
  Provider,
  FreeTierInfo,
  ThinkingConfig,
  ServiceKind,
  MediaProviderKind,
  AuthMethod
} from "../../types";

/**
 * Per-region endpoints a provider offers. The registry carries these as data on
 * the provider entry itself; this type names the shape for the two modals that
 * read it, since `Provider` does not (yet) declare the field.
 */
export interface ProviderRegionConfig {
  regions?: Array<{ id: string; label: string; baseUrl?: string }>;
  defaultRegion?: string;
}

// Free Providers (kiro first, iflow last)
export const FREE_PROVIDERS: Record<string, Provider

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key