> ## Documentation Index
> Fetch the complete documentation index at: https://docs.magnitude.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Base URLs, keys, and model IDs for the local inference API.

Magnitude serves an HTTP API on port `10100` while Desktop or `magnitude serve` is running. **Connections** uses it to configure supported agents. Any other OpenAI-compatible or Anthropic-compatible client can use it directly.

To run models on another machine, see [Remote server](/remote-server).

## Base URLs

| Client type | Base URL |
| - | - |
| OpenAI-compatible | `http://127.0.0.1:10100/inference/v1` |
| Anthropic-compatible | `http://127.0.0.1:10100/inference/anthropic` |

Clients append their own paths, such as `/chat/completions` or `/v1/messages`. If a client asks for a full endpoint URL instead, use the paths in [Endpoints](/api/endpoints).

From another device, replace `127.0.0.1` with the server's network address. See [Network access](/api/network-access).

## API keys

| Caller | Key |
| - | - |
| This computer | None required. If the client insists on a value, any value works. |
| Other devices | The server’s configured API key, sent as `Authorization: Bearer KEY` or `x-api-key: KEY`. |

## Model IDs

List the models available for inference:

```sh theme={"theme":{"light":"github-light","dark":"github-dark"}}
curl http://127.0.0.1:10100/inference/v1/models
```

Use the exact `id` from the response as the model name in requests. Display names are not accepted. Magnitude loads the model on the first request, which takes longer than later requests.

## Scope

The API provides inference only: listing models and generating text. Downloading models, managing them, and the Magnitude app itself are not available over the API.

Opening `http://127.0.0.1:10100` in a browser shows a short text summary of these paths.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.