Key Concepts

Understand the core concepts of the Foza marketplace

Core Concepts#

ConceptDescription
GatewayThe API proxy at api.foza.ai/v1 that routes requests to upstream providers
MarketplaceWhere buyers browse and subscribe to AI models from various providers
BuyerA user who consumes AI models through the gateway
ProviderA user who registers model endpoints and earns per token
API KeyAuthentication credential (prefix sk-foza-) used to call the gateway
Model SlugUnique identifier in format provider-slug/model-slug (e.g., openai/gpt-4o)
WalletPrepaid balance used for pay-as-you-go API usage

Model Slug Format#

Every model on Foza has a unique slug in the format:

{provider-slug}/{model-slug}

For example:

  • openai/gpt-4o — GPT-4o from an OpenAI provider
  • anthropic/claude-sonnet-4.6 — Claude Sonnet from an Anthropic provider
  • google/gemini-2.5-flash — Gemini Flash from a Google provider

You use this slug as the model parameter in API requests.

API Key Lifecycle#

  1. Create — Generate a key in the Console → API Keys page
  2. Subscribe — Connect models to your key from the marketplace
  3. Use — Include the key in the Authorization: Bearer header
  4. Monitor — Track usage, cost, and latency in the console

API keys are shown only once at creation time. The platform stores only a SHA-256 hash. Copy and save your key immediately.

Billing#

Foza uses a prepaid wallet system:

  • Top up your wallet via bank transfer or credit card
  • Each API request deducts tokens used × provider price from your balance
  • No monthly fees, no minimum commitment
  • Real-time cost tracking per request