Skip to main content

Setup

Get your API key from the Orchid dashboard under Settings → API Keys.
orchid01 is OpenAI-compatible. If you’ve used the OpenAI SDK before, you already know how to use this API — just change the base URL and API key.

Your first call

from openai import OpenAI

client = OpenAI(
    base_url="https://llm.orchid.ac/v1",
    api_key="orchid-your-key-here",
)

r = client.chat.completions.create(
    model="orchid01",
    messages=[{"role": "user", "content": "Summarise this 10-K filing..."}],
)
print(r.choices[0].message.content)

Streaming

stream = client.chat.completions.create(
    model="orchid01",
    messages=[{"role": "user", "content": "Analyse this credit agreement..."}],
    stream=True,
)
for chunk in stream:
    piece = chunk.choices[0].delta.content or ""
    if piece:
        print(piece, end="", flush=True)

Next steps

Authentication

How API keys work and how to manage them

Models

orchid01 standard and thinking modes

Thinking Mode

Deep reasoning for complex financial analysis

Webhooks

Audit logging to your own infrastructure