Key Concepts
Understand the core concepts of the Foza marketplace
Core Concepts#
| Concept | Description |
|---|---|
| Gateway | The API proxy at api.foza.ai/v1 that routes requests to upstream providers |
| Marketplace | Where buyers browse and subscribe to AI models from various providers |
| Buyer | A user who consumes AI models through the gateway |
| Provider | A user who registers model endpoints and earns per token |
| API Key | Authentication credential (prefix sk-foza-) used to call the gateway |
| Model Slug | Unique identifier in format provider-slug/model-slug (e.g., openai/gpt-4o) |
| Wallet | Prepaid 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 provideranthropic/claude-sonnet-4.6— Claude Sonnet from an Anthropic providergoogle/gemini-2.5-flash— Gemini Flash from a Google provider
You use this slug as the model parameter in API requests.
API Key Lifecycle#
- Create — Generate a key in the Console → API Keys page
- Subscribe — Connect models to your key from the marketplace
- Use — Include the key in the
Authorization: Bearerheader - 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