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

# API Keys Settings

> View your OpenHands LLM key and create API keys to work with OpenHands programmatically.

> [!NOTE]
>
> These settings are only available in [OpenHands Cloud](https://docs.openhands.dev/openhands/usage/cloud/openhands-cloud.md).

## Overview

Use the API Keys settings page to manage your OpenHands LLM key and create API keys for programmatic access to
OpenHands Cloud

## OpenHands LLM Key

> [!NOTE]
>
> You must purchase at least \$10 in OpenHands Cloud credits before generating an OpenHands LLM Key. To purchase credits, go to [Settings > Billing](https://app.all-hands.dev/settings/billing) in OpenHands Cloud.

You can use the API key under `OpenHands LLM Key` with [Agent Canvas](https://docs.openhands.dev/openhands/usage/agent-canvas/overview.md) or even other AI coding agents. This will
use credits from your OpenHands Cloud account. If you need to refresh it at anytime, click the `Refresh API Key` button.

## OpenHands API Key

These keys can be used to programmatically interact with OpenHands Cloud. See the guide for using the
[OpenHands Cloud API](https://docs.openhands.dev/openhands/usage/cloud/cloud-api.md).

### Create API Key

1. Navigate to the `Settings > API Keys` page.
2. Click `Create API Key`.
3. Give your API key a name and click `Create`.

### Delete API Key

1. On the `Settings > API Keys` page, click the `Delete` button next to the API key you'd like to remove.
2. Click `Delete` to confirm removal.


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