# Raycast AI API

**Canonical:** https://apis.io/apis/raycast/raycast-ai-api/  
**Provider:** Raycast — https://apis.io/providers/raycast/  
**Documentation:** https://developers.raycast.com/api-reference/ai

Raycast AI API is one of 3 APIs that [Raycast](https://apis.io/providers/raycast/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Artificial Intelligence, LLM, and SDK. The published artifact set on APIs.io includes API documentation and an OpenAPI specification.

AI access surfaced through the SDK via `AI.ask(prompt)` - no API keys or HTTP endpoint required. Routes prompts across 80+ models from OpenAI, Anthropic, Google, Mistral, Groq, Perplexity, and xAI behind the Raycast Pro / Advanced AI subscription. Available only inside extensions through the @raycast/api library, not as a standalone REST API.

## Machine-readable artifacts (3)

- **Documentation** — https://developers.raycast.com/api-reference/ai
- **GitHub** — https://github.com/raycast/extensions
- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/raycast/refs/heads/main/openapi/_original/raycast-openapi.yml

## Other Raycast APIs (2)

- [Raycast Extension API (SDK)](https://apis.io/apis/raycast/raycast-extension-api-sdk/)
- [Raycast Store](https://apis.io/apis/raycast/raycast-store/)

## Tags

Artificial Intelligence, LLM, SDK

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/raycast/raycast-ai-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/raycast/.
