# Models

> Which models the agent uses, through Sypnia AI or your own key, and what they see.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://agent.docs.sypnia.com/models/

For agents: Models: in Sypnia Cloud through Sypnia AI (a gateway over OpenRouter; one account, usage paid in credits; zero-retention providers only). Self-hosted: any OpenAI-compatible endpoint, OpenRouter, or Anthropic directly, with the person's key. A default model is chosen for coding quality; the person or team can pick another per task. What the model sees: the request, the relevant files and map, tool results (marked as data), never secret values. The model is replaceable; the safety rules do not depend on it.

The agent is not a model: it uses one, and you can change it.

|          | In Sypnia Cloud                                                      | In your terminal                                                       |
| -------- | -------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| Through  | **Sypnia AI**: one account, every model, usage paid with credits     | your own key: OpenRouter, Anthropic, or any OpenAI-compatible endpoint |
| Default  | a model chosen for coding quality, changed when a better one appears | the one you configure                                                  |
| Per task | you or your team can pick another                                    | the same                                                               |

## What a model sees

- Your request, and the files, cases and docs that matter for it.
- The results of commands and tools, **marked as data**, so instructions inside them are not followed ([Security](https://agent.docs.sypnia.com/security)).
- **Never the value of a secret.**

Sypnia AI only uses providers that commit to not keeping or training on your data. With your own key, your provider's terms apply, and only your provider bills you: Sypnia charges nothing for those calls.

The safety rules do not depend on the model: changing the model never changes what the agent may do without asking.

How tasks, routes, limits and usage in credits work is in the [Sypnia AI docs](https://ai.docs.sypnia.com/).
