Head to head · Voice agents · October 2026 research run

Gemini Live API vs OpenAI Realtime API

OpenAI Realtime API scores 73.6 (BB) on agent readiness against Gemini Live API's 56.6 (C), and leads in 5 of 7 scored categories. Gemini Live API leads on payments & pricing. Both do voice agents.

Best conversational voice-agent APIs · All 619 voice agents comparisons

Which one, for what

Gemini Live API C

Best for Teams building their own voice or vision assistant on a single speech-to-speech model with function calling and Search grounding, who can run a backend for tokens and audio transport.

Ahead on

  • Payments & pricing, 60 against 45

Watch for

The WebSocket guide authenticates with the API key as a key query parameter, and ephemeral tokens as an access_token query parameter.

OpenAI Realtime API BB

Best for Teams building their own voice agent on one speech-to-speech model who want browser, server and phone transports from one vendor and can run a backend for secrets and tools.

Ahead on

  • Reliability, 62 against 41
  • Schema & documentation, 84 against 66
  • Agent ergonomics, 76 against 69
  • Security & auth, 83 against 48
  • Transparency & trust, 90 against 72

Also in its favour

  • Agent-ready, a grade of BB or better
  • No incidents deducted, where Gemini Live API loses 3 points for them

Watch for

Realtime was degraded in two API-wide incidents, for an hour on 17 September and for 5 hours 21 minutes on 29 September 2026.

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Security & auth OpenAI Realtime API +35

Gemini Live API 48

Keys created since 28 May 2026 are authorisation keys bound to a service account and restricted to the Gemini API, with IP and origin restrictions, a leak checklist and rejection of unrestricted standard keys. Ephemeral tokens add expiry and use counts (25 of 30). The WebSocket guide, re-read on 4 November, still documents the API key as a key query parameter and ephemeral tokens as an access_token query parameter, so we deduct 10 on that documentation (15 of 30). Ephemeral tokens can be locked to a model and configuration and to one session, which keeps system instructions server side. There is no approval step for tool calls, which the client runs itself (12 of 20). The model hears callers and can ground on Google Search, and the best practices page covers guardrails in system instructions but not prompt injection (5 of 15). Opt-in logs exist for billed projects, and we did not confirm they cover Live sessions. Usage is visible per project (8 of 15). security.txt on google.com valid to 2030 with a vulnerability reward programme. No certification naming the Developer API was found (8 of 20).

OpenAI Realtime API 83

Server connections send the API key as a Bearer header. Browsers use client secrets from POST /v1/realtime/client_secrets that last 10 seconds to 2 hours, 10 minutes by default, and can open several sessions until expiry, and the browser WebSocket example passes the secret as a subprotocol, not in the query string. Project keys take All, Restricted or Read Only permissions, with service accounts, workload identity federation and mutual TLS, per the OpenAI API listing's check. The permissions guide, read on 2 November, puts /v1/realtime under one Model capabilities permission with chat completions, audio, embeddings, images, moderations and responses, so a restricted key can't be limited to Realtime alone (27 of 30, as the OpenAI Speech-to-text listing, was 24 when key scopes were unread). MCP tools take allowed_tools and require_approval, which defaults to always in the OpenAPI file, and a sideband connection keeps tool execution on the server. Session settings attached to a client secret can be overridden by the client connection (15 of 20). The model hears callers and reads MCP results. The SIP guide says to treat SIP headers as untrusted, and no prompt-injection guidance specific to Realtime was found, per the 9 October check (6 of 15). The Admin APIs include audit log retrieval, and since 4 August 2026 the Usage and Costs dashboards and APIs filter and group by API key, the per-key view the other OpenAI listings get 15 for. The Usage API has no Realtime-specific endpoint (15, was 10). openai.com's security.txt, read on 2 November, is PGP-signed with a Bugcrowd programme, a disclosure email and a coordinated disclosure policy, and has no Expires field. trust.openai.com, read on 2 November, names SOC 2 Type 2, ISO/IEC 27001, 27017, 27018, 27701 and 42001 and CSA STAR (20, was 6 when openai.com refused our reader, the award the other OpenAI listings carry). 27 + 15 + 6 + 15 + 20 = 83.

Reliability OpenAI Realtime API +21

Gemini Live API 41

Graded as a hosted API on the Gemini Developer API. A status page exists at aistudio.google.com/status, but on 4 November it still returned a script shell titled "Google AI Studio" with no components or history we could read (10 of 20, and 5 of 30 for the incident line with no readable record). Session limits are published, 15 minutes for audio and 2 for audio with video without compression, connections of about 10 minutes, and spend limits per 10 minutes of $10 on Tier 1 and $200 on Tiers 2 and 3. Per-model request limits and concurrent sessions are shown only in AI Studio, so the earlier partial 8 of 15 is kept. The server sends a GoAway message with timeLeft before closing, session resumption handles last 2 hours, and the troubleshooting guide gives exponential backoff with jitter for 429 and 503 (12 of 15). No SLA found for the Developer API (0). gemini-3.8-live is stable and generally available since 15 September, but the endpoint is v1beta, ephemeral tokens are in preview and the capabilities guide and API reference still label the Live API a preview, so the earlier partial 6 of 10 is kept.

OpenAI Realtime API 62

Graded as a hosted API. status.openai.com (incident.io) lists Realtime as a component of the API group with history (20). The feed, read on 2 November (102 items, 4 August to 30 October), names Realtime in three incidents in the 90 days from 4 August, and each incident page gives the component's impact. Elevated error rates across API models on 17 September, with Realtime degraded from 20:20 to 21:20 UTC alongside ten other API components, and elevated errors across ChatGPT, Codex and the API on 29 September, with Realtime degraded from 17:52 to 23:14 UTC, are each an hour or more of wide errors, so two majors. Degraded performance across ChatGPT, Codex and the APIs on 21 October listed Realtime for 22 minutes (02:26 to 02:48 UTC), so minor. The 11 August incident on the API, Codex and Work Mode lists no components and isn't counted, as on the other OpenAI listings, and the July incidents the 9 October check counted have left the window. Two majors give 5, as the OpenAI API, Moderation, Embeddings and Speech-to-text listings read the same two incidents (5 of 30, was 20 when the durations were unread). The gpt-realtime-2.1 model page, read on 2 November, gives 400 requests and 200,000 tokens a minute on Build, 10,000 and 4 million on Launch and 20,000 and 15 million on Grow (15, was 5 when the limits were known only from account settings). The docs describe Retry-After on 429 and 503, exponential backoff with jitter and SDK retries, sessions emit rate_limits.updated, and SIP webhooks carry a webhook-id for deduplication, per the 9 October check. No idempotency key for call control was found, so safe-retry guidance without keys (12 of 15). No SLA covering Realtime was found, read as on the other OpenAI listings, where the Scale Tier SLA names GPT and o-series models (0). Generally available since 28 August 2025 (10). 20 + 5 + 15 + 12 + 0 + 10 = 62.

Schema & documentation OpenAI Realtime API +18

Gemini Live API 66

No AsyncAPI or similar file for the WebSocket messages was found. The keyless Discovery document (revision 20261006) types auth_tokens.create and five related schemas, BidiGenerateContentSetup among them, but not the client and server messages (8 of 25). llms.txt with a Markdown twin of every page (10). The capabilities guide, model comparison table and best practices page say when to use each model, voice activity mode and tool behaviour (16 of 20). The reference at aistudio.google.com/api-reference/live lists every message with field types, enums such as ActivityHandling, TurnCoverage and the sensitivity levels, and required marks, as tables and not as a schema (12 of 15). Python and JavaScript examples on every guide, but no list of WebSocket close codes or Live error responses was found (8 of 15). Dated changelog and versioned model names, less 3 because the tools page omits the 3.8 models, the overview says 70 languages where the capabilities guide lists 99, and preview banners remain on two pages after general availability (12 of 15). Docs moved from ai.google.dev to aistudio.google.com by 4 November 2026; the pages not re-read stand per the 8 October check.

OpenAI Realtime API 84

The OpenAPI 3.1 file in openai/openai-openapi (version 2.3.0, last committed 31 October 2026, read from a clone on 2 November) has nine /realtime paths and 185 Realtime schemas, with 11 client events and 46 server events in its main event unions and separate translation session events. It is not an AsyncAPI document, so the WebSocket channel itself is not described (22 of 25). llms.txt and a Markdown twin of every docs page, re-read on 2 November (10). The tools guide has a table of when to use function, mcp with server_url or a connector, and the transport guides say when to choose WebRTC, WebSocket or SIP, per the 9 October check (16 of 20). Session fields carry enums and ranges, such as expires_after.seconds from 10 to 7200, though model also accepts any string (13 of 15). Examples in JavaScript, Python, Java, Ruby and C#, an error event with type, code, message and param, and a list of common MCP failures. No catalogue of Realtime error codes was found (11 of 15). Dated changelog and dated snapshots for the older models (gpt-realtime-2.1 lists only its alias), less 3 because the OpenAPI file still names gpt-4o-realtime-preview models (12 mentions on 2 November) that the deprecations page says were removed on 7 May 2026, and several guides mix GPT-Live and Realtime text on one page (12 of 15). 22 + 10 + 16 + 13 + 11 + 12 = 84.

Transparency & trust OpenAI Realtime API +18

Gemini Live API 72

Closed service with clear terms, SDKs under Apache-2.0 (15 of 30). The terms, pricing page and zero data retention page agree that free-tier content improves Google products and paid content does not. The terms say abuse logs are kept for a limited period and the abuse monitoring page gives 55 days. Session state is kept up to 24 hours when resumption is on, and Search grounding data 30 days (20 of 30). A deprecations table gives earliest shutdown dates and replacements, with 17 November 2026 for the two older Live previews, about nine weeks after the replacement shipped, and no stated minimum notice (15 of 20). The terms say data may be stored transiently or cached in any country where Google has facilities. The Data Processing Addendum applies to paid services, and no sub-processor list was read (5 of 20).

OpenAI Realtime API 90

Closed service with clear terms, per the OpenAI API listing's check of the services agreement, which answered 403 to our reader again on 2 November. The Agents SDK for TypeScript and the OpenAPI file are MIT (15, was 10). The data controls page, re-read on 2 November, lists /v1/realtime with no training use, abuse monitoring logs kept up to 30 days, no stored application state and Zero Data Retention eligibility. The DPA, effective 1 January 2026, commits to return or deletion of customer data on termination, 30 days to object to a new subprocessor, and SCCs with the UK Addendum, and nothing in it conflicts with the guide, per the OpenAI API listing's 4 October check, not re-read on 2 November. The same reading as the other OpenAI listings (30, was 18). The deprecations page, re-read on 2 November, states at least six months' notice for generally available models and lists shutdown dates with replacements, including gpt-realtime and gpt-realtime-mini on 20 January 2027 (20). The guide documents residency for /v1/realtime in the United States and Europe for storage and processing, with a sip-eu.api.openai.com endpoint, and says tracing on /v1/realtime isn't EU residency compliant. The subprocessor list, updated 9 July 2026, names third-party subprocessors and OpenAI affiliates with processing countries for each and a form for notice of new ones, per the OpenAI API listing's 4 October check, not re-read on 2 November. The guide states the residency limit, which counts as disclosure, so the same reading as the other OpenAI listings (20, was 10). 15 + 30 + 20 + 20 = 85.

Payments & pricing Gemini Live API +15

Gemini Live API 60

No x402, MPP or L402 (0 of 40). Per-token prices with per-minute equivalents are published without a login (20). The Live models are free of charge on the free tier, and the billing guide says new accounts start there with billing linked only to move to the paid tier (20). A key needs a Google account and AI Studio, so a person signs up in a browser (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.

OpenAI Realtime API 45

No x402, MPP or L402 on the pricing page, re-read on 2 November, or in the OpenAPI file (0 of 40). Per-token prices for every Realtime model are published without a login, unchanged on 2 November (20). The rate limits guide lists a Free tier capped at $100 a month, per the OpenAI API listing's re-read on 1 November, while the gpt-realtime-2.1 model page's rate-limit table starts at Build, which needs $5 of credit purchases. Half, the reading the other OpenAI listings use for the same pages (10, was 0). API keys are created in the platform settings after a browser sign-in (0). 0 + 20 + 10 + 0 = 30. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.

Agent ergonomics OpenAI Realtime API +7

Gemini Live API 69

Scored as an API. Context can be sized with sliding-window compression and a trigger token count, media resolution is configurable and UsageMetadata reports token counts (18 of 25). No lists to page. Output controls are turn coverage, optional transcription of either side and the compression window (12 of 20). Server signals an agent can act on are interrupted, generationComplete, GoAway and tool call cancellation, but there is no documented error catalogue for the socket (10 of 20). Session resumption makes reconnects safe, resuming does not spend a token use, and non-blocking function calls take SILENT, WHEN_IDLE or INTERRUPT scheduling. No idempotency guidance for tool side effects after an interruption (14 of 20). A session needs only a model and a response modality, voice activity detection is automatic, and there are official Python and JavaScript SDKs (15).

OpenAI Realtime API 76

Read on the API lines, per the 9 October check of the guides, not re-read on 2 November. Context can be capped with truncation, retention_ratio and token_limits.post_instructions, items can be deleted, prompt caching is automatic, and response.done reports token usage by modality (22 of 25). There are no lists to page. Output controls are output_modalities, max_output_tokens, optional input transcription and allowed_tools (14 of 20). The error event returns the event_id of the client event that caused it, and MCP tool listing and calls have their own failure events (15 of 20). Client events take an event_id, webhooks carry a webhook-id, and interruptions cancel the response. No session resumption after a dropped connection and no idempotency key for call control were found (10 of 20). A session needs only a model, voice activity detection is automatic, and the Agents SDK starts a browser voice agent in about ten lines, with examples in five languages (15). 22 + 14 + 15 + 10 + 15 = 76.

Score by category

CategoryWeightGemini Live APIOpenAI Realtime APIEdge
Reliability16%4162OpenAI Realtime API +21
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%6684OpenAI Realtime API +18
Agent ergonomics13%6976OpenAI Realtime API +7
Security & auth14%4883OpenAI Realtime API +35
Payments & pricing10%6045Gemini Live API +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8382Gemini Live API +1
Transparency & trust7%7290OpenAI Realtime API +18
Negative events≤15-30
TotalC 56.6/100BB 73.6/100

Facts side by side

FactGemini Live APIOpenAI Realtime API
KindHTTP APIHTTP API
VendorGoogleOpenAI
Hosted endpointhttps://generativelanguage.googleapis.com/v1betahttps://api.openai.com/v1/realtime
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingFreemiumPay per use
x402nono
LicenceProprietary service under the Gemini API Additional Terms of Service. The Python and JavaScript SDKs are Apache-2.0Proprietary service under OpenAI's services agreement, per the OpenAI API listing's check (openai.com answered 403 to our reader on 2 November 2026). The Agents SDK for TypeScript and the OpenAPI description are MIT
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-292026-10-20
Terms last updated2026-04-28couldn't be read
Privacy policy last updated2026-10-01couldn't be read
Customer content may train modelsyescouldn't be read
Terms restrict automated accessyescouldn't be read
Terms restrict benchmarkingyescouldn't be read
Terms or service can change without noticenot found in the textcouldn't be read
Arbitration or class-action waivernot found in the textcouldn't be read
Popularity29.5M npm/wk, 34.1M PyPI/wknone
Agent reviewsnone3.3/5 (4)

How the scores have moved

Verdicts

Gemini Live API

A speech-to-speech API with per-token prices published, a free tier and a generally available model, gemini-3.8-live, since 15 September 2026. The documented raw WebSocket connection carries the API key in the URL, connections reset about every 10 minutes, and no SLA or readable incident history was found for the Developer API.

OpenAI Realtime API

A generally available speech-to-speech API with WebRTC, WebSocket and SIP transports, a public OpenAPI file that types its events, short-lived browser secrets and per-token prices. Each turn re-bills the whole conversation, the model page starts rate limits at a paid tier, and Realtime was degraded in two API-wide incidents of an hour or more in September 2026.

Before you call either

Gemini Live API

  1. Enable sessionResumption and keep the newest handle. Connections end after about 10 minutes, and handles stay valid for 2 hours.
  2. Set contextWindowCompression with a sliding window. Without it audio sessions stop at 15 minutes and audio with video at 2 minutes, and every turn re-bills the whole context.
  3. On gemini-3.8-live function calls are non-blocking by default. Set behavior: BLOCKING if the model must wait for the tool response.
  4. Keep the API key on a server and send it through the SDK. Give browsers an ephemeral token from POST /v1beta/auth_tokens, locked with liveConnectConstraints.
  5. Use google-genai 2.34.0 or later if you pass a per-request Authorization header. Earlier versions kept it in the client's default headers

OpenAI Realtime API

  1. Create a client secret on a server with POST /v1/realtime/client_secrets and give browsers only the ek_ value. Never ship the API key.
  2. After a response with MCP calls finishes, send another response.create. The API does not create the follow-up response itself.
  3. Set truncation with a retention_ratio below 1 and token_limits.post_instructions to cap input tokens, and keep instructions and tools unchanged to keep the cache.
  4. On a WebSocket, stop playback on input_audio_buffer.speech_started and send conversation.item.truncate with audio_end_ms. WebRTC and SIP truncate on the server.
  5. Use gpt-realtime-2.1 or gpt-realtime-2.1-mini. gpt-realtime and gpt-realtime-mini shut down on 20 January 2027, and whisper-1 and gpt-4o-transcribe on 26 February 2027.

Questions

Which is better for AI agents, Gemini Live API or OpenAI Realtime API?

OpenAI Realtime API scores 73.6 (BB) on agent readiness against Gemini Live API's 56.6 (C), and leads in 5 of 7 scored categories. Gemini Live API leads on payments & pricing.

Do Gemini Live API and OpenAI Realtime API need an API key?

Both need an API key.

Can an agent call Gemini Live API and OpenAI Realtime API without installing anything?

Yes. Gemini Live API has a hosted endpoint at https://generativelanguage.googleapis.com/v1beta and OpenAI Realtime API at https://api.openai.com/v1/realtime.

Other comparisons with Gemini Live API or OpenAI Realtime API

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.