AIToday
Large Language ModelsSimon Willison's WeblogPublished: Apr 22, 2026, 01:00 JST1 min read

llm-openrouter library 0.6 adds multi-model support and streaming — developers can now switch between AI providers without rewriting code

3 Key Points

  1. Simon Willison released version 0.6 of llm-openrouter, a Python tool that lets developers access multiple AI language models (like Claude, GPT-4, Llama) through a single interface. The update adds the ability to stream responses in real-time, so outputs appear word-by-word instead of waiting for the entire answer.

  2. Previously, switching between different AI providers meant rewriting your code for each one because they use different request formats. Now a developer can use the same three lines of code to call Claude one day and switch to an open-source model the next, reducing the friction of trying different AI services.

  3. If you're a developer building AI applications, this means you can shop around for cheaper or faster models without lock-in — you could use an expensive model for quality-critical work and a cheaper one for routine tasks, all without refactoring. For AI hobbyists or small teams without dedicated DevOps, it removes a technical barrier to experimenting.

Ask the AI about this article →

Simon Willison's WeblogRead Original Article

Get the latest Large Language Models news every morning

For example, today's edition would include:

  • Anthropic resets Claude usage limits with Fable 5.1 launchITmedia AI+ · 2h ago
  • Salesforce and Anthropic unveil Claudeforce, integrating CRM into ClaudePublickey · 2h ago
  • Anthropic releases Claude Fable 5.1 and Mythos 5.1ITmedia AI+ · 5h ago

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · takes 30 seconds · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. Q&As are published on this page for other readers too.

Related Articles

Next articleSnowflake launches Cortex Agents — AI that can handle multi-step business tasks without human instruction