# What Sypnia AI is

> The models layer of Sypnia, in plain words: what it does for you, who it is for, and what it is not.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://ai.docs.sypnia.com/start/what-it-is/

For agents: Sypnia AI = a gateway to AI models used by every Sypnia product and customer project. Concepts: model, token, provider, task, route, embedding. Does: one key and one OpenAI-compatible API for many models (OpenRouter, Amazon Bedrock); model choice per task with fallbacks; usage paid in credits and shown by product, project, case, key and end user; limits and budgets; zero-retention providers only; content safety and redaction options; every call a span in Telemetry; keys never in browsers. Not: a model, a chatbot product, a place that trains on your data.

Sypnia AI lets your app use AI models without managing a key per provider, guessing what each call costs, or worrying that one customer spends your month in an afternoon.

## Six words first

| Word          | In plain words                                                                                                                                              |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Model**     | The program that reads text (or images) and writes an answer. Different models are better at different things, and cost different amounts.                  |
| **Token**     | The unit models count in: a short piece of a word. «Pan de centeno» is about five tokens. A call is priced by the tokens it reads and the tokens it writes. |
| **Provider**  | The company that runs the model and sells its use: Sypnia AI reaches them through OpenRouter and through Amazon Bedrock, the models of AWS.                 |
| **Task**      | What you want done, named in your words: `write`, `summarize`, `extract`, or one of your own such as `allergen-answer`.                                     |
| **Route**     | Your project's rule for a task: which model does it, which one takes over if that one fails, and the limits and safety options around it.                   |
| **Embedding** | A list of numbers that stands for the meaning of a text, so «something without gluten» can find the gluten-free loaf even when the words differ.            |

## What it does

|                              | What it means for you                                                                                                  | Read more                                                                  |
| ---------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| **One key, many models**     | One Sypnia key and one API reach models from many providers                                                            | [Providers](https://ai.docs.sypnia.com/models/providers)                   |
| **The right model per task** | You name the task; the route picks the model and its fallback                                                          | [Tasks and routes](https://ai.docs.sypnia.com/models/tasks-and-routes)     |
| **Paid with credits**        | Every call is priced before and after it runs, and charged to your prepaid credits                                     | [Credits and usage](https://ai.docs.sypnia.com/usage/credits-and-usage)    |
| **Seen under the use case**  | Usage is shown by product, project, use case, key and the person who used your app                                     | [Use cases and traces](https://ai.docs.sypnia.com/using/cases-and-traces)  |
| **Limits you set**           | Per project, key, case and person: requests and tokens per minute, and caps in credits                                 | [Limits](https://ai.docs.sypnia.com/usage/limits)                          |
| **Safe by default**          | Only providers that keep nothing and train on nothing; what was asked and answered is not stored unless you turn it on | [Data and retention](https://ai.docs.sypnia.com/safety/data-and-retention) |
| **In Telemetry**             | Every call is a step in the trace of its case, with its model, tokens, time and cost                                   | [Logs in Telemetry](https://ai.docs.sypnia.com/safety/logs-and-telemetry)  |
| **Keys never exposed**       | Secret keys stay on servers; browsers use short tokens for the tasks you allow                                         | [From the browser](https://ai.docs.sypnia.com/using/from-the-browser)      |

## La Espiga, the example of these docs

Ana runs La Espiga, a bakery at laespiga.co. Her app uses Sypnia AI in three use cases:

- **«Publish the bread of the day»** (`publish-bread-of-the-day`): every morning at six, a short, warm message about today's bread, written with the `write` task.
- **«Ask about a product»** (`ask-about-a-product`): a customer asks «does the rye loaf have nuts?» and gets an answer drawn from the bakery's own product data. Each customer can ask a few dozen questions a day, no more.
- **«Find a bread»** (`find-products`): search by meaning, with embeddings.

In App, Ana sees how many credits each of the three cases spent this month.

## Who it is for

- **People building an app with Sypnia** who want AI in a use case without learning each provider.
- **Programmers** who want one OpenAI-compatible API, routes they can change without a deploy, and costs they can see per case.
- **Sypnia's own products**, which all reach models through it.

## What it is not

- **Not a model.** It reaches models made by others; you can change the model of a task at any time.
- **Not a chatbot you put on your site.** It is the layer your app calls; what people see is your app's screen.
- **Not a place that learns from your data.** Providers that keep or train on what you send are not used.
