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

# Call a text model

> Point an OpenAI-compatible client at Anchorage Agentic Banking.

Point an OpenAI-compatible client at Anchorage Agentic Banking.

## Before you start

* An agent whose budget admits the inference provider. The default allow-all budget does.
* An API key for that agent. See [Mint a key](https://docs.anchorage.com/agentic-banking/guides/connect-your-harness.md#mint-a-key).

## Pick a model

Browse the [Inference page](https://agentic.anchorage.com/inference), or list models from `GET /v1/models` with no key. See [How the Inference page shows prices](https://docs.anchorage.com/agentic-banking/concepts/inference.md#how-the-inference-page-shows-prices) for what each entry carries.

## Set up the client

| Setting | Value |
| - | - |
| `base_url` | `https://inference.agentic.anchorage.com/v1` |
| API key | The agent's API key, sent as the bearer token |
| `model` | An identifier from the model list, such as `openai/gpt-4o-mini` |

The Inference page's **How to connect** card walks through these three values with ready-to-paste snippets for curl, Python, and TypeScript. Under the card, **Connect your harness** shows the block to add the endpoint as a custom provider in Hermes or in OpenClaw. The **Agents** page and each agent's page link there with **Set up inference**.

## Control repeat requests (optional)

Send an `Idempotency-Key` header to control whether a repeated request shares a charge or pays again. See [Managing idempotency keys](https://docs.anchorage.com/agentic-banking/concepts/inference.md#managing-idempotency-keys).

## Raise your client's timeout

Give your client more than three minutes, so it doesn't give up on a call you already paid for.

To generate an image or a video instead, see [Generate an image or video](https://docs.anchorage.com/agentic-banking/guides/generate-an-image-or-video.md). For speech, sound effects, or music, see [Generate speech, sound effects, or music](https://docs.anchorage.com/agentic-banking/guides/generate-audio.md). To run Claude Code or an Anthropic SDK, see [Use Claude Code or an Anthropic SDK](https://docs.anchorage.com/agentic-banking/guides/use-claude-code-or-an-anthropic-sdk.md). For a free typed judgment, see [Ask for a typed judgment](https://docs.anchorage.com/agentic-banking/guides/ask-for-a-typed-judgment.md).

See [Paid inference](https://docs.anchorage.com/agentic-banking/concepts/inference.md) for the full flow, and [Errors and retries](https://docs.anchorage.com/agentic-banking/reference/errors-and-retries.md) for the failure modes, including over-budget declines.


## Related topics

- [Overview](https://docs.anchorage.com/agentic-banking/overview.md)
- [Connect a harness with an API key](https://docs.anchorage.com/agentic-banking/guides/connect-your-harness.md)
- [Paid inference](https://docs.anchorage.com/agentic-banking/concepts/inference.md)
- [Generate speech, sound effects, or music](https://docs.anchorage.com/agentic-banking/guides/generate-audio.md)
- [Changelog](https://docs.anchorage.com/agentic-banking/changelog.md)
