🚀   New: Read our vision for the future of AI developmentSee our vision

The Gateway to Intelligence

A single interface for working with any AI model. Complete with built-in observability and cost tracking.

  • M
  • Y
  • M
  • C
  • +12

Trusted by great builders from

MIT
Astral logo
OpenAI
Anthropic
Gemini
GoogleVertex
OpenRouter
Azure
Bedrock
HuggingFace
Ollama
DeepSeek
Model Providers

Integrate with any model provider

Astral supports all major AI providers, including OpenAI, Anthropic, and Google. Need another? Just let us know.

DEVELOPERS

Developer Quickstart

Get up and running with Astral in minutes. Learn the basics of the Astral platform.

1

Create an Astral API Key

Create a project and generate your API key to get started with Astral:

2

Install Astral

Install the Astral AI package using your preferred package manager:

uv add astral-ai
Copy to clipboard
3

Start Building!

Add provider API keys and start building! See example code below to get started quickly. We plan on supporting more providers and authentication methods soon!Read our vision here

# Astral API key # This is the key you generated in the previous step. ASTRAL_API_KEY=your_astral_api_key_here # Provider API keys # Just add any provider keys here and you're ready to go! OPENAI_API_KEY=your_openai_key_here ANTHROPIC_API_KEY=your_anthropic_key_here DEEPSEEK_API_KEY=your_deepseek_key_here

Ready to build with Astral?

We help founders and AI-first organizations build and dominate faster.