{"slug":"gemini-omni-1.2-flash","name":"Gemini Omni 1.2 Flash","family":"gemini","family_name":"Gemini","developer":"Google","color":"#4285f4","status":"active","released":"2026-11-05","snapshot_of":null,"open":false,"context":131072,"max_output":65536,"knowledge_cutoff":null,"modalities":["text","image","video"],"output_modalities":["text","video"],"reasoning":true,"tools":false,"structured_output":false,"huggingface":null,"speed":null,"latency":null,"short":"A closed, Google-made model from the Flash line, with a 131k context window, image and video input, and reasoning mode. It has no benchmark results in the registry.","strengths":["Accepts text, image and video input","Reasoning mode available","Largest response of 65k tokens"],"weaknesses":["No tool calling or structured output support","Blended price of $3.38 per million tokens, above the $1.01 median","Ranks 184 of 194 on popularity, served only by OpenRouter"],"best_for":"Multimodal tasks with text, image or video input where tool calling and structured output are not needed.","long":"Gemini Omni 1.2 Flash is a closed model from Google, released November 2026. It takes text, image and video input, has a 131k token context window and offers reasoning mode. The registry holds no benchmark results for it, so it can only be judged on specifications and price.\n\nThe main limits for agent work are the missing tool calling and structured output, so agents that need function calls or validated JSON will need workarounds. At $1.50 per million input tokens and $9 per million output tokens, it costs more than the registry median, and it is served only through OpenRouter.\n\nIt suits multimodal work that needs reasoning but no tool use, such as reviewing images or video alongside text.","described":true,"gateway":false,"byok":true,"string":"openrouter:google/gemini-omni-1.2-flash","input":1.5,"output":9,"cache_read":null,"blended":3.375,"efficiency":null,"bench":{},"offers":[{"provider":"openrouter","name":"OpenRouter","model_id":"google/gemini-omni-1.2-flash","api":["openai"],"input":1.5,"output":9,"cache_read":null,"cache_write":null,"input_tiers":[],"output_tiers":[],"context":131072,"deprecated":false,"gateway":false,"gateway_route":null,"byok":true,"string":"openrouter:google/gemini-omni-1.2-flash","gateway_string":null}],"ranks":{"intelligence":null,"popularity":184,"efficiency":null,"speed":null,"price":141},"top_score":0.0143,"about":["A closed, Google-made model from the Flash line, with a 131k context window, image and video input, and reasoning mode. It has no benchmark results in the registry.","Gemini Omni 1.2 Flash is a closed model from Google, released November 2026. It takes text, image and video input, has a 131k token context window and offers reasoning mode. The registry holds no benchmark results for it, so it can only be judged on specifications and price.","The main limits for agent work are the missing tool calling and structured output, so agents that need function calls or validated JSON will need workarounds. At $1.50 per million input tokens and $9 per million output tokens, it costs more than the registry median, and it is served only through OpenRouter.","It suits multimodal work that needs reasoning but no tool use, such as reviewing images or video alongside text."],"examples":[{"file":"hello.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\n\nfrom pydantic_ai import Agent\n\nos.environ['OPENROUTER_API_KEY'] = '...'\n\nagent = Agent('openrouter:google/gemini-omni-1.2-flash', instructions='Be concise, reply with one sentence.')\n\nresult = agent.run_sync('Where does \"hello world\" come from?')\nprint(result.output)","soon":false},{"file":"structured_output.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\n\nfrom pydantic import BaseModel\nfrom pydantic_ai import Agent\n\nos.environ['OPENROUTER_API_KEY'] = '...'\n\n\nclass CityLocation(BaseModel):\n    city: str\n    country: str\n\n\nagent = Agent('openrouter:google/gemini-omni-1.2-flash', output_type=CityLocation)\n\nresult = agent.run_sync('Where were the olympics held in 2012?')\nprint(result.output)\n#> city='London' country='United Kingdom'","soon":false},{"file":"tools.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\nimport random\n\nfrom pydantic_ai import Agent, RunContext\n\nos.environ['OPENROUTER_API_KEY'] = '...'\n\nagent = Agent(\n    'openrouter:google/gemini-omni-1.2-flash',\n    deps_type=str,\n    instructions=\"You're a dice game, roll the die and see if it matches the user's guess.\",\n)\n\n\n@agent.tool_plain\ndef roll_dice() -> str:\n    \"\"\"Roll a six-sided die and return the result.\"\"\"\n    return str(random.randint(1, 6))\n\n\n@agent.tool\ndef get_player_name(ctx: RunContext[str]) -> str:\n    \"\"\"Get the player's name.\"\"\"\n    return ctx.deps\n\n\nresult = agent.run_sync('My guess is 4', deps='Anne')\nprint(result.output)","soon":false},{"file":"streaming.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport asyncio\nimport os\n\nfrom pydantic_ai import Agent\n\nos.environ['OPENROUTER_API_KEY'] = '...'\n\nagent = Agent('openrouter:google/gemini-omni-1.2-flash')\n\n\nasync def main():\n    async with agent.run_stream('Explain prompt caching in three bullet points.') as response:\n        async for text in response.stream_text(delta=True):\n            print(text, end='', flush=True)\n\n\nasyncio.run(main())","soon":false},{"file":"pax.sh","lang":"sh","code":"export OPENROUTER_API_KEY='...'\n\nuvx pax --model 'openrouter:google/gemini-omni-1.2-flash'","soon":true},{"file":"pi.sh","lang":"sh","code":"# npm install -g @earendil-works/pi-coding-agent\nexport OPENROUTER_API_KEY='...'\n\npi --model 'openrouter/google/gemini-omni-1.2-flash'","soon":false},{"file":"codex.sh","lang":"sh","code":"# npm install -g @openai/codex\nexport OPENROUTER_API_KEY='...'\n\ncodex --model 'google/gemini-omni-1.2-flash' \\\n  -c model_provider='openrouter' \\\n  -c model_providers.openrouter.name='OpenRouter' \\\n  -c model_providers.openrouter.base_url='https://api.openrouter.example/v1' \\\n  -c model_providers.openrouter.env_key='OPENROUTER_API_KEY'","soon":false},{"file":"ai_sdk.ts","lang":"ts","code":"// npm install ai @ai-sdk/openai-compatible\nimport { createOpenAICompatible } from '@ai-sdk/openai-compatible'\nimport { generateText } from 'ai'\n\nprocess.env.OPENROUTER_API_KEY = '...'\n\nconst openrouter = createOpenAICompatible({\n  name: 'openrouter',\n  baseURL: 'https://api.openrouter.example/v1',\n  apiKey: process.env.OPENROUTER_API_KEY,\n})\n\nconst { text } = await generateText({\n  model: openrouter('google/gemini-omni-1.2-flash'),\n  system: 'Be concise, reply with one sentence.',\n  prompt: 'Where does \"hello world\" come from?',\n})\nconsole.log(text)","soon":false}],"benchmarks":[],"generated":"2026-11-25","gaps":{"speed":3,"index":80,"description":0}}