From cdd89411c2069d9f3bfd452a144bbbb6e3bd9551 Mon Sep 17 00:00:00 2001 From: Remi Lejeune Date: Tue, 28 Apr 2026 11:54:53 +0200 Subject: [PATCH] Remove model choice from summarization. Remove platform fee. --- chapters/audio-intelligence/audio-to-llm.mdx | 2 +- chapters/audio-intelligence/summarization.mdx | 26 +++---------------- 2 files changed, 4 insertions(+), 24 deletions(-) diff --git a/chapters/audio-intelligence/audio-to-llm.mdx b/chapters/audio-intelligence/audio-to-llm.mdx index 7c45644..6124879 100644 --- a/chapters/audio-intelligence/audio-to-llm.mdx +++ b/chapters/audio-intelligence/audio-to-llm.mdx @@ -134,7 +134,7 @@ With this configuration, your output might look like this: ## Pricing -The input provided to the LLM is the full transcription. All prices are per 1M tokens and include platform fees (30%). +The input provided to the LLM is the full transcription. All prices are per 1M tokens and include platform fees. | Model | `model` config | Context Window | Input | Output | |-------|----------------|----------------|----------------|-----------------| diff --git a/chapters/audio-intelligence/summarization.mdx b/chapters/audio-intelligence/summarization.mdx index fbab505..5d6f963 100644 --- a/chapters/audio-intelligence/summarization.mdx +++ b/chapters/audio-intelligence/summarization.mdx @@ -6,6 +6,7 @@ description: "Retrieve important information from your audio files" import PrerecordedBadge from "/snippets/badges/prerecorded.mdx" import LiveBadge from "/snippets/badges/live.mdx" + @@ -27,12 +28,6 @@ If no `summarization_config` is provided, `general` type will be used by default - **concise**: Shorter output for quick overviews or previews; fewer details. - **bullet_points**: Lists key takeaways; ideal for action items, meeting notes, or highlights. -## Model selection - -By default the model used for summarization is **[GPT 5.4 Nano](https://openrouter.ai/openai/gpt-5.4-nano)** (`openai/gpt-5.4-nano`), a fast option suited to high-volume summaries and extraction. Use the **`model`** field inside **`summarization_config`** to override the default when stronger reasoning, richer analysis, longer outputs, or another provider or model family is needed. - -You can use **any model listed on [OpenRouter](https://openrouter.ai/models)** by setting the `model` key. Prices reflect the public OpenRouter rate plus a platform fee added by Gladia. - ## Usage To enable summarization simply set the `"summarization"` parameter to true @@ -40,8 +35,7 @@ To enable summarization simply set the `"summarization"` parameter to true { "summarization": true, "summarization_config": { - "type": "concise", - "model": "openai/gpt-5.4", + "type": "concise" } } ``` @@ -50,8 +44,7 @@ To enable summarization simply set the `"summarization"` parameter to true "post_processing": { "summarization": true, "summarization_config": { - "type": "concise", - "model": "openai/gpt-5.4", + "type": "concise" } }, "messages_config": { @@ -80,16 +73,3 @@ The transcription result will contain a ```"summarization"``` key with the outpu You'll find the summarization of your audio under the `results` key. - -## Pricing - -The input provided to the LLM is the full transcription. All prices are per 1M tokens and include platform fees (30%). - -| Model | `model` config | Context Window | Input | Output | -|-------|----------------|----------------|----------------|-----------------| -| [OpenAI: GPT-5.4 Nano](https://openrouter.ai/openai/gpt-5.4-nano) | `openai/gpt-5.4-nano` | 400k | $0.26 | $1.76 | -| [OpenAI: GPT-5.4](https://openrouter.ai/openai/gpt-5.4) | `openai/gpt-5.4` | 1.1M | $3.25 | $19.50 | -| [Anthropic: Claude Opus 4.7](https://openrouter.ai/anthropic/claude-opus-4.7) | `anthropic/claude-opus-4.7` | 1M | $6.50 | $32.50 | -| [Google: Gemini 3.1 Pro Preview](https://openrouter.ai/google/gemini-3.1-pro-preview) | `google/gemini-3.1-pro-preview` | 1M | $2.60 | $15.60 | -| [xAI: Grok 4.20](https://openrouter.ai/x-ai/grok-4.20) | `x-ai/grok-4.20` | 2M | $2.60 | $7.80 | -| [Meta: Llama 4 Maverick](https://openrouter.ai/meta-llama/llama-4-maverick) | `meta-llama/llama-4-maverick` | 1M | $0.20 | $0.78 |