The MeTal API is OpenAI-compatible. If you've used the OpenAI SDK before, you can swap the base URL and API key and be up and running immediately.
https://api.metalai.org/v1
from openai import OpenAI client = OpenAI( base_url="https://api.metalai.org/v1", api_key="your-metal-api-key" ) response = client.chat.completions.create( model="aurora", messages=[ {"role": "user", "content": "Hello, Aurora."} ] ) print(response.choices[0].message.content)
All API requests require a Bearer token in the Authorization header. You can generate up to 3 API keys per account from your dashboard.
Authorization: Bearer mk_your_api_key_here| Plan | Limit | Notes |
|---|---|---|
| Free | 5 RPM | 3 API keys max |
| Pro | Coming in v2 | Higher limits, priority routing |
The MeTal API follows the OpenAI REST format. All endpoints accept and return JSON.
| Method | Path | Description |
|---|---|---|
| POST | /v1/chat/completions | Generate a chat completion |
| GET | /v1/models | List available models |
Create a model response for a given chat conversation. OpenAI-compatible format.
POST https://api.metalai.org/v1/chat/completions| Parameter | Type | Description |
|---|---|---|
| modelrequired | string | The model to use. Currently aurora. |
| messagesrequired | array | Array of message objects with role and content. |
| max_tokens | integer | Maximum tokens to generate. Default: 1024. |
| temperature | number | Sampling temperature 0–2. Default: 1. |
| system | string | System prompt for Aurora. |
{
"id": "cmpl_abc123",
"object": "chat.completion",
"model": "aurora",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hello! How can I help you today?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 12,
"completion_tokens": 9,
"total_tokens": 21
}
}The API returns standard HTTP status codes. Error bodies follow a consistent format.
| Status | Code | Meaning |
|---|---|---|
| 401 | unauthorized | Invalid or missing API key |
| 429 | rate_limited | You've exceeded your RPM limit |
| 500 | server_error | Something went wrong on our end |
Aurora is MeTal's AI — a language model built on constitutional principles. It is designed to be helpful, honest about its limitations, and to decline requests that could cause harm.
Aurora is trained and evaluated against a written set of principles aligned with Anthropic's Constitutional AI framework. This means:
It will acknowledge uncertainty rather than confidently hallucinate. It will decline harmful requests rather than comply. It supports human oversight and will not attempt to deceive users.
aurora
MeTal Cloud is a hosting platform for developers. Deploy Workers, APIs, cron jobs, and Discord bots — all from a single dashboard at cloud.metalai.org.
MeTal Cloud runs on Cloudflare Containers. Every instance gets its own isolated environment with a dedicated URL, SSH access, and automatic HTTPS.
MeTal Cloud is currently in early access. Visit cloud.metalai.org to get started.
OpenAI-compatible chat completions endpoint. Aurora model. 3 API keys per account, 5 RPM rate limit. Email verification via Resend.
Streaming support, improved rate limits, additional models, and a full model card for Aurora. Docs will update on release.