Skip to main content
Dedalus supports bringing your own API keys from any of the major AI providers. Simply pass your API key during client initialization using the api_key parameter.

Supported Providers

Dedalus supports API keys from the following providers:

OpenAI

OPENAI_API_KEY

Anthropic

ANTHROPIC_API_KEY

Google Gemini

GOOGLE_API_KEY

Fireworks AI

FIREWORKS_API_KEY

xAI

XAI_API_KEY

Perplexity

PERPLEXITY_API_KEY

DeepSeek

DEEPSEEK_API_KEY

Groq

GROQ_API_KEY

Cohere

COHERE_API_KEY

Together AI

TOGETHERAPI_KEY

Cerebras

CEREBRAS_API_KEY

Mistral

MISTRAL_API_KEY

Usage

Pass your API key directly during client initialization:
from dedalus_labs import AsyncDedalus

# Using OpenAI key

client = AsyncDedalus(api_key="your-openai-api-key-here")

# Using Anthropic key

client = AsyncDedalus(api_key="your-anthropic-api-key-here")

# Or set as environment variable

import os
client = AsyncDedalus(api_key=os.getenv("OPENAI_API_KEY"))

When using BYOK, you can access any model from the supported providers using their respective API keys. The client will automatically route requests to the appropriate provider based on the model specified.

HTTP API Authentication

When making direct HTTP requests to the Dedalus API, authenticate using either:
  • Authorization: Bearer <your_api_key> header
  • x-api-key: <your_api_key> header
Both headers are supported for all API endpoints.