# Production Patterns

Cost optimization, monitoring, multi-tenant isolation, and production best practices.

***

## Cost Optimization

* [Model Selection Strategy](/api-guides/use-cases/production/cost-optimization-model-selection.md) - Balance quality & cost
  * GPT-4o recommended for production (6x cheaper than GPT-4)
  * Token limits, caching, and optimization patterns

***

## Monitoring & Operations

* [Monitor Production Usage](/api-guides/use-cases/production/production-monitoring-usage.md) - Track API calls & costs
* [Webhook Notifications](/api-guides/use-cases/production/webhook-content-ingestion.md) - Real-time events
* [Query Project Usage](/api-guides/use-cases/production/project-query-usage.md) - Billing analytics

***

## Architecture Patterns

* [Multi-Tenant Data Isolation](/api-guides/use-cases/production/production-multi-tenant-isolation.md) - SaaS applications
  * Separate Graphlit projects per tenant
  * Complete data isolation
  * Independent scaling

***

**5 guides** | [← Back to Use Cases](/api-guides/use-cases.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.graphlit.dev/api-guides/use-cases/production.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
