# Femtos | AI models and prices | API reference

> The models Femtos AI answers with, and the USD price per million tokens of each (OpenRouter's x 1.25). GET /v1/ai/models on Elysium and HyperCore: parameters, response fields and a live call per layer.

- Base URL: `https://api.femtos.xyz/v1` (REST) · `wss://api.femtos.xyz/v1/ws` (WebSocket) · MCP: `https://api.femtos.xyz/mcp`
- Auth: `Authorization: Bearer $FEMTOS_KEY`. Free key: https://dashboard.femtos.xyz/signup (browser), or with
  no browser: `GET https://femtos.xyz/accounts/agent/challenge`, solve its proof of work, then `POST https://femtos.xyz/accounts/agent/signup`
  (https://femtos.xyz/agents.md#agent-onboarding)
- Decimals are exact strings, times Unix milliseconds, addresses lowercase `0x`
- Whole API in one file: https://femtos.xyz/agents.md · OpenAPI: https://api.femtos.xyz/v1/openapi.json · Index: https://femtos.xyz/llms.txt
- Page with live calls: https://femtos.xyz/reference/ai-models

## AI models and prices — GET `/v1/ai/models`

The models Femtos AI answers with, and the USD price per million tokens of each (OpenRouter's x 1.25).

Layers: Elysium, HyperCore.
Page with live calls: https://femtos.xyz/reference/ai-models?layer=<elysium|hypercore>

Elysium, HyperCore:

```bash
curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/ai/models"
```

| Field | Type | Meaning |
|---|---|---|
| `models[]` | object | Every model, by id: {id, name, context_length, max_output_tokens, pricing} |
| `markup` | decimal | Our price over OpenRouter's |

## Related (AI)

- [AI job stream](https://femtos.xyz/reference/ws/ai-job.md) `WS ai.job`: A Femtos AI job of your account as it runs: the answer as it is written, each data call, then the answer. (Elysium, HyperCore)

Every page: https://femtos.xyz/reference.md
