AINewsnow

Switch from OpenAI to open models in two lines (streaming, tools and JSON mode still work)

This story is from 2026-10-21. It is preserved in the archive; the latest stories are on the live feed.

Most LLM code I see calls the OpenAI SDK. That's fine, because the SDK doesn't care whose server is on the other end. If the server speaks the same API, you can move a whole app to open models by changing two lines, and keep everything else: streaming, tool calls, JSON mode, retries. This post show…

Read the full story at DEV Community — AI ↗

Timeline · 1 report

  1. 2026-10-21 00:33 · DEV Community — AI
    Switch from OpenAI to open models in two lines (streaming, tools and JSON mode still work)

More stories

  1. DeepSeek V4.1 Flash is now available in Token Pass — Vercel Blog
  2. OpenAI acquires Orchestra Bio to expand AI in drug development — OpenAI News
  3. DeepInfer: High-performance inference framework for DeepSeek models — Hacker News Front Page
  4. Ex-OpenAI worker accused of bugging offices planned to 'flee' to Saudi Arabia, prosecutors say — Sky News Technology
  5. Judge tosses sexual abuse lawsuit from Sam Altman's sister — Engadget
  6. Structured outputs for Anthropic Claude models on Amazon Bedrock — AWS Machine Learning Blog
  7. Build a Better Shopping Experience with OpenAI | Shopping Agent Demo — OpenAI YouTube
  8. ChatGPT now lets you lock your chats — TechCrunch AI

Get the daily brief of stories like this at 6:30 every morning →