AAI SDK
    Preparing search index...

    Interface AssemblyAILlmOptions

    Options for assemblyAILlm.

    interface AssemblyAILlmOptions {
        model?:
            | string & Record<never, never>
            | "gpt-5.5"
            | "claude-haiku-4-5-20251001"
            | "claude-opus-4-5-20251101"
            | "claude-opus-4-6"
            | "claude-opus-4-7"
            | "claude-opus-4-8"
            | "claude-sonnet-4-5-20250929"
            | "claude-sonnet-4-6"
            | "claude-sonnet-5"
            | "gemini-2.5-flash"
            | "gemini-2.5-flash-lite"
            | "gemini-2.5-pro"
            | "gemini-3.1-flash-lite"
            | "gemini-3.5-flash"
            | "gemini-3.5-flash-lite"
            | "gemini-3.6-flash"
            | "gpt-4.1"
            | "gpt-5"
            | "gpt-5-mini"
            | "gpt-5-nano"
            | "gpt-5.1"
            | "gpt-5.2"
            | "gpt-5.6-luna"
            | "gpt-5.6-terra"
            | "gpt-oss-120b"
            | "gpt-oss-20b"
            | "kimi-k2.5"
            | "qwen3-32B"
            | "qwen3-next-80b-a3b"
            | "qwen3.5-4b-32k-experimental";
        reasoningEffort?: AssemblyAIReasoningEffort;
        region?: "us" | "eu";
    }
    Index
    model?:
        | string & Record<never, never>
        | "gpt-5.5"
        | "claude-haiku-4-5-20251001"
        | "claude-opus-4-5-20251101"
        | "claude-opus-4-6"
        | "claude-opus-4-7"
        | "claude-opus-4-8"
        | "claude-sonnet-4-5-20250929"
        | "claude-sonnet-4-6"
        | "claude-sonnet-5"
        | "gemini-2.5-flash"
        | "gemini-2.5-flash-lite"
        | "gemini-2.5-pro"
        | "gemini-3.1-flash-lite"
        | "gemini-3.5-flash"
        | "gemini-3.5-flash-lite"
        | "gemini-3.6-flash"
        | "gpt-4.1"
        | "gpt-5"
        | "gpt-5-mini"
        | "gpt-5-nano"
        | "gpt-5.1"
        | "gpt-5.2"
        | "gpt-5.6-luna"
        | "gpt-5.6-terra"
        | "gpt-oss-120b"
        | "gpt-oss-20b"
        | "kimi-k2.5"
        | "qwen3-32B"
        | "qwen3-next-80b-a3b"
        | "qwen3.5-4b-32k-experimental"

    Gateway model id — see ASSEMBLYAI_GATEWAY_MODELS for the catalog, which is generated from the gateway's own /v1/models and records which models can stream, call tools, and serve the EU region.

    Typed against that catalog so a name the gateway does not carry is caught where it is written, rather than as a 400 at the first session. A plain string is still accepted, because the catalog is a snapshot of a service that adds models faster than this package releases.

    Note two listed models (gpt-oss-20b, gpt-oss-120b) cannot stream, so they cannot drive a voice pipeline at all.

    Defaults to ASSEMBLYAI_LLM_DEFAULT_MODEL.

    reasoningEffort?: AssemblyAIReasoningEffort

    Reasoning effort forwarded to the model as reasoning_effort.

    Unset, no reasoning_effort parameter is sent at all — the model runs on its own server-side default. Set "none" (gpt-5.1 and later) or "minimal" (the original gpt-5/-mini/-nano) to turn reasoning off, e.g. when a voice turn's time-to-first-token matters more than thinking depth. Only GPT-5-family models accept the parameter.

    region?: "us" | "eu"

    Gateway region. "eu" routes through the EU endpoint for data residency — six models at time of writing, per the eu flag in ASSEMBLYAI_GATEWAY_MODELS. Defaults to "us".