Skip to content
All releases
Added

Ollama models over Relay

Qwen 2.5 Coder 0.5B and Mistral 7B Instruct v0.3 join the catalog as on-device listings served by your own Ollama over AnyRouter Relay at $0 — and the existing Qwen 2.5 Coder 32B gains the same Ollama hop.

qwen/qwen2.5-coder-0.5b-instruct is Qwen2.5-Coder-0.5B-Instruct served from your own machine: run Ollama, start anyr relay, and the same POST /api/v1/chat/completions endpoint serves it at $0 in and out with a 32K-token context, tuned for code generation, reasoning and fixing with function calling. mistral/mistral-7b-instruct-v0.3 is Mistral-7B-Instruct-v0.3 the same way, also 32K and $0 with function calling. The existing qwen/qwen2.5-coder-32b-instruct keeps its BYOK routes and gains an Ollama relay hop, so a paired machine serving qwen2.5-coder:32b answers it too.

No server-side compute and no vendor key: your machine runs the weights and the request travels down the relay's outbound WebSocket. Callers without a paired device get the relay's 503, and devices that opt in can donate idle capacity through the shared pool.

Serve your local Ollama through Relay
anyr relay start --detach
anyr relay status
AI SDK (after anyr relay start)
import { createAnyRouter } from "@anyr/ai-sdk-provider"
import { generateText } from "ai"

const anyrouter = createAnyRouter()
const { text } = await generateText({
  model: anyrouter("qwen/qwen2.5-coder-0.5b-instruct"),
  prompt: "Write a quick sort function.",
})
console.log(text)
Run it in the terminal with your coding agent
anyr claude --model "qwen/qwen2.5-coder-0.5b-instruct"

Playbooks: AI SDK, coding agents, OpenAI SDK.

Looking for the full catalog? Browse all models.