SIGNAL uses the Google Gemini Developer API through the official google-genai Python SDK.
The default is gemini-3.1-flash-lite, listed for free-tier standard inference. Configure
GEMINI_API_KEY, GEMINI_MODEL, LLM_PROVIDER=gemini and GEMINI_FREE_TIER_CONFIRMED=1
on Render. Set the confirmation flag only for a Google AI Studio project without billing
enabled. Check the project’s regional availability, data terms and active limits in AI Studio.
Model documentation ·
Pricing ·
Rate limits
The gateway accepts gemini-3.1-flash-lite, gemini-2.5-flash-lite and gemini-2.5-flash,
subject to Google’s availability. The Gemini route never falls back to a different provider.
The legacy Groq, OpenRouter, Cerebras and compatible routes remain available for deployments
that explicitly select and confirm eligible free configurations.
Each inference stage receives bounded excerpts as data, validates structured output and checks article identifiers against the supplied archive records. The Gemini SDK call has a 14-second per-attempt timeout, with up to one retry on transient server errors. A provider rate-limit response is not retried immediately. Interactive calls report unavailable capacity. IntelMap jobs back off through the existing durable job queue and can resume in a later cloud scheduler invocation. Repeated upstream failures temporarily open the provider circuit. An identical validated inference can reuse prior results, and an identical country and source set reuses its saved generation job.
GEMINI_DAILY_TOKEN_BUDGET is a conservative local reservation shared across workflows
and workers, counting prompt bytes and output caps. It is independent of Google’s limits.
SIGNAL_ASSISTANT_PER_HOUR, SIGNAL_FORECAST_PER_HOUR, SIGNAL_BRIEFING_PER_HOUR and
SIGNAL_AI_PER_CLIENT_HOUR can set additional limits. Optional cloud embeddings retain
their existing Gemini embedding credentials and release settings.