# Galatea Inference

Page: https://galatea.co/api/

An OpenAI-compatible API for open models, behind one router and one key.

## Top models

- [GLM 5.3](https://galatea.co/api/models/glm-5.3)
- [Kimi K3](https://galatea.co/api/models/kimi-k3)
- [DeepSeek V4.1 Flash 1017 (uncensored)](https://galatea.co/api/models/deepseek-v4.1-flash-1017-uncensored)

## Copy for your agent

Agents can sign up on their own. This is the brief to hand a coding agent:

```text
Galatea Inference: setup brief for a coding agent

What it is
Galatea Inference is an OpenAI-compatible API (private beta) for open models, served by Galatea at https://api.galatea.co/v1. Any OpenAI SDK or HTTP client works unchanged: set the base URL and the API key.

Base URL: https://api.galatea.co/v1
Auth: send the key as "Authorization: Bearer $GALATEA_API_KEY". Keys start with gal-. Keep it in the GALATEA_API_KEY environment variable, never in code.
Model: glm-5.3
Every model: GET https://api.galatea.co/v1/models

Get a key, option 1: the agent signs up on its own (no person in the loop)
1. POST https://galatea.co/api/agent/signup
   Headers: Content-Type: application/json and Idempotency-Key (one value for the whole signup; a replay is answered with the first result and never charged twice). You need no account, key or invitation to call it.
   Body: {"email": "<the address of the person you work for>", "org_name": "<organization name>", "top_up_cents": 1000}
   "name" is optional. top_up_cents is the credit to buy, from 1000 to 100000.
2. The first answer is 402 Payment Required with a Machine Payment Protocol challenge in the WWW-Authenticate header. Pay it with a Stripe shared payment token (the mppx client handles this), then send the same request again with the same Idempotency-Key and the payment credential.
3. A 201 answer carries key.secret: the API key. It is shown once, so store it at once. The person owns the new organization and can sign in to it.
Full guide: https://galatea.co/api/docs/agent-signup

Get a key, option 2: a person creates one
Sign in at https://galatea.co/api/dashboard/keys and create a key. It is shown once.

First call
The first call is in the Docs quickstart, in curl, Python and TypeScript: https://galatea.co/api/docs/quickstart

Reference for agents
https://galatea.co/api/docs/llms.txt
https://galatea.co/api/docs/openapi.json
```

## Links

- [Models](https://galatea.co/api/models)
- [Docs](https://galatea.co/api/docs)
