Skip to content
VibekollenBETAVibekollen

Source

OpenRouter

41 items in the feed. The texts are the sources' own descriptions — the content belongs to OpenRouter.

BlogOpenRouter

Server-Side Code Execution Tools for AI Agents, Compared

A server-side code execution tool runs the model's commands in the provider's sandbox during your API request, so you don't provision or secure a container. OpenAI, Anthropic, and Google run code for their own models. Our openrouter:shell tool runs commands for any model on the Responses and Messages APIs, and our openrouter:bash tool does the same on the Messages API. This article compares the four on runtime, isolation, persistence, and cost, shows a complete request against our sandbox with the output it returned, and describes the jobs that still need a sandbox platform of your own.

10 h ago openrouter.ai

BlogOpenRouter

Model Routing for Support Bots: Cheap-First FAQ Handling

Cheap-first routing sends routine support questions to a small, inexpensive model and escalates selected hard or uncertain requests to a stronger one. This guide compares the three application-side routing patterns, separates what your application owns from what OpenRouter's Auto Router and model fallbacks handle, walks through a support flow with a copyable request, and sets out how to measure escalation rate and cost per resolved ticket.

2 Oct openrouter.ai

BlogOpenRouter

LangChain vs CrewAI: Orchestration Compared to OpenRouter-Native Routing

Multi-model orchestration is three layers. Workflow orchestration is planning, state, memory, and delegation, and LangGraph and CrewAI are built for it. Model routing is choosing a model per call and falling back when it fails, and provider routing is choosing which provider serves that model. OpenRouter does the second two. This article separates the layers, shows the same two-step pipeline in direct OpenRouter calls and in LangChain, and describes when to add a framework, when to use our Agent SDK, and how to put OpenRouter underneath LangGraph or CrewAI.

2 Oct openrouter.ai

BlogOpenRouter

Agent Frameworks Compared: Tool-Calling Schema Handling

OpenAI, Anthropic, and Google each use a different request and response shape for the same tool. Agent frameworks handle that difference in different places. Some translate one definition into each provider's format, some are native to a single provider, and some hand the question to a connector underneath. This article compares six frameworks on schema definition, translation, and MCP support, then shows how OpenRouter normalizes tool calling at the API layer so a model swap is a change to one string.

2 Oct openrouter.ai

BlogOpenRouter

Image-to-Video AI Models Compared: Cost, Resolution, and Control

If you already have the image a video should start from, the model choice comes down to what has to happen after that frame. This post compares the Veo 3.1, Seedance, Kling, and Grok Imagine Video lines on duration, resolution, first-frame and last-frame control, generated audio, reference inputs, and current per-second price, then shows how to submit an image-to-video job with the TypeScript SDK.

29 Sept openrouter.ai

BlogOpenRouter

Two Hours of Work That Takes a Week

Descript, an AI tool for video and audio editing, solved a slow problem in testing new AI models. Previously, testing a new model took a few hours of work plus a week of waiting, because an engineer had to manually add it. By using OpenRouter and automation with Claude Tag (Anthropic's Slack integration), testing now takes only one to two hours, and anyone can start an evaluation directly from Slack. This means Descript now tests models multiple times a week instead of choosing a model early and sticking with it. The team can now quickly integrate new models — for example, adding Grok 4.5 from xAI without building its own integration.

21 Sept openrouter.ai

BlogOpenRouter

Image Generation Models Compared: Cost, Edit, Quality

OpenRouter tested 20 image generation models through one API using the same prompt to compare pricing and features. Models charge in different ways—per megapixel, per token, or per image—so listed prices cannot be directly compared. By reading actual billing costs from API responses, they showed that the same image cost between $0.006 and $0.134 depending on the model, a 22-fold difference. OpenAI's gpt-image-2 was cheapest, while settings like image quality on OpenAI models could double the price. Not all models supported the same features: some could generate multiple images per request, some had no random seed support, and they returned different file formats.

18 Sept openrouter.ai

BlogOpenRouter

Build a Reliable Tool-Calling Agent Loop on OpenRouter

A tool-calling agent loop sends a conversation and tool definitions to an AI model, executes the tool calls the model requests, appends the results, and repeats until the model responds or a stop condition fires. The guide shows how to build this loop in TypeScript with the OpenRouter SDK and adds safety mechanisms: an iteration cap, detection of repeated calls, fallback to alternative models, and conversation history controls. Your application decides when to stop the loop and executes the tools the model requests.

17 Sept openrouter.ai

BlogOpenRouter

Case Study: How Descript Took New Models Off the Engineering Queue

Descript, an AI-powered video editing platform, previously maintained three separate integrations to different AI models. Testing and deploying a new model took over a week, largely because engineers were busy and each model had its own technical requirements. With OpenRouter as an intermediary, Descript now runs 13 models from Anthropic, Google, OpenAI, and xAI simultaneously. A new model can be tested and deployed in one to two hours, often several times a week—speed enabled by both simpler technical integration and automated testing through Slack.

15 Sept openrouter.ai

BlogOpenRouter

LLM-as-a-Judge: Score AI Agent Outputs Automatically

LLM-as-a-judge is a technique where a second AI model automatically scores another model's output against criteria you write in plain language. It fills a gap: an agent can pass all technical tests but still give a poor answer—for example, omitting a critical detail. The guide shows how to use LLM-as-a-judge with Ori Eval, calibrate thresholds against human-labeled examples, and control costs. It works best when the requirement is clear but not a single correct answer—such as verifying that an answer is grounded in actual data or follows a specific tone.

14 Sept openrouter.ai

BlogOpenRouter

Zero Data Retention (ZDR): What It Means for AI APIs

Zero Data Retention (ZDR) means an AI provider processes your query and returns an answer without storing either afterward. It is a storage guarantee, but it only covers the provider's storage — not what your own systems log, not data in transit, and not third-party tools connected to the request. On OpenRouter, you can enforce ZDR at the account level, through guardrails, or with a special field in each API call. ZDR differs from "no training" (the company does not train on your data) and from region pinning (where the request is processed) — these are separate controls.

11 Sept openrouter.ai

BlogOpenRouter

OpenRouter Text-to-Speech: API Tutorial in 5 Minutes

OpenRouter offers a text-to-speech service through an API that works consistently regardless of which provider you use — Mistral, xAI, Microsoft, and others. You send text, select a model and voice, and receive an audio file in return. The guide shows how to authenticate with an API key, make your first request using cURL or Python, verify that the response contains audio and not just error messages, and switch between different voices and providers by changing only a few lines of code.

11 Sept openrouter.ai

BlogOpenRouter

How to Use OpenRouter Presets: Config-as-Code Guide

OpenRouter Presets is a way to save all settings for an AI model in one place — which model you use, what instructions it should receive, and technical parameters like temperature. Instead of entering the same information throughout your code, you can give these settings a name and reference it. When you change the settings on OpenRouter's dashboard, all your apps automatically update without needing to rewrite code.

10 Sept openrouter.ai

BlogOpenRouter

OpenRouter Fusion: How It Works and When to Use It

OpenRouter Fusion is a system that sends a prompt to multiple AI models simultaneously, lets them respond in parallel, and a judge compares the responses before a final model writes its answer. It costs approximately four to five times more and takes two to three times longer than a regular call, but can provide better answers for complex questions. Fusion works best for research and analysis where multiple perspectives improve the response, but is not suitable for quick chat conversations or tasks that need to return exactly the same answer every time.

10 Sept openrouter.ai

BlogOpenRouter

In-Region Routing: Keep your data in the US or EU

OpenRouter launches US In-Region Routing, a way to guarantee that your data is handled entirely within the USA or EU. You send your requests to us.openrouter.ai or eu.openrouter.ai instead of the regular address, and everything is decrypted and processed within that region—even for models from Chinese companies like DeepSeek and GLM, as long as a US or European provider hosts them. If no local provider can serve the model you need, the request fails rather than being sent outside the region. The feature is available on Business and Enterprise plans.

9 Sept openrouter.ai

BlogOpenRouter

Seedance 2.5 Review: What It's Best At and When to Use It

Seedance 2.5 is ByteDance's video model that can generate up to 30 seconds of video in 480p or 720p resolution. It costs approximately $0.10 per second in 480p and $0.23 per second in 720p. The model excels at capturing long shots and editing or extending existing video — when you input an existing video clip, it costs roughly 40 percent less than generating from scratch. Compared to the earlier version Seedance 2.0, 2.5 can produce longer video clips (30 seconds instead of 15), but it only reaches up to 720p instead of 4K resolution.

9 Sept openrouter.ai

BlogOpenRouter

Nano Banana API: Edit Images with Gemini in Code

OpenRouter has enabled image editing with text instructions through its API. You send a source image and a text description of desired changes in a single request and receive the edited image back. The guide demonstrates how to do this in Python and TypeScript, and explains that you can easily switch to a different editing model by changing a field in the code. You can also make multiple edits in sequence by sending each result back as a new source image.

9 Sept openrouter.ai

BlogOpenRouter

Give any model a terminal and files

OpenRouter launches two new features: a shell tool that gives AI models access to an isolated Linux environment where they can run commands, and a Files API that allows models to upload files to work with and download results. Together, these enable models to execute entire workflows—such as web searches, script writing, and execution—completely on the server. The features are available from day one in beta version, costing $0.0001 per second for the sandbox.

8 Sept openrouter.ai

BlogOpenRouter

OpenRouter Video Generation API: A Code-First Guide

OpenRouter offers a unified API for video generation that abstracts the complexity of different video providers. Instead of integrating each provider separately — Seedance, Veo, Wan, and others — you use the same endpoint, authentication, and job queue logic for all. You send a prompt to POST /api/v1/videos, receive a job ID, poll until the video is ready, then retrieve the MP4. Because video generation takes several seconds to minutes, OpenRouter uses an asynchronous system where your app can continue while generation runs in the background, and the job is stored so you can retrieve it later even after restart.

25 Aug openrouter.ai

BlogOpenRouter

GPT 5.6 Discounts & Jevons Paradox

OpenAI offered substantial discounts on its new Terra and Luna models between July 27 and August 14. During this period, Terra token usage increased 5.6 times and Luna token usage 13.8 times, while the non-discounted Sol model increased only 1.1 times. Approximately one-third of users who tried the discounted models continued using them after the discount period ended. Most gains came from competitors rather than from other OpenAI models — OpenAI's total market share grew from 7.1 percent to 12.4 percent during the discount period.

25 Aug openrouter.ai

BlogOpenRouter

How to Choose the Best AI Model (Live, in Your Editor)

There is no universally best AI model — only the best one for your specific task, budget, and time. OpenRouter presents a six-step framework for choosing the right model: first define your task concretely, create a shortlist from benchmarks and live data, compare price and response time across providers, test the best candidates with your own instructions, evaluate them by cost per completed task (not per token), and expect the answer to change when new models launch. Through OpenRouter's MCP server, you can do all this directly in your code editor without leaving it.

25 Aug openrouter.ai