JevMade Sign in
← Back to experiments

Integrations

Jev Model Router

This WebAssembly sample asks Jev which model should answer a prompt, then forwards that prompt to Ollama.

Source screenshot of Jev Model Router
SOURCE SCREENSHOTFull screenshot ↗

What it does

Low confidence switches to a hard-coded “opus” model missing from the default list. The configured fallback handles missing Choice answers, not failed requests; the sample does not measure routing quality.

How you can use it

Borrow the two-step design when your app can choose between several AI models. Ask your developer to list the models, ask Jev which should answer the user’s prompt, then send it to that model. Try prompts from your own app and check whether the choices make sense.

OpenRouter sends prompts to Jev for the choice; Ollama runs the chosen model and answers. Your developer must connect both services using their access keys. Ollama may run elsewhere, not on your computer. The sample chooses “opus” when unsure, although its default list lacks that model. Failed choice requests return an error.

Keep this for later

Sign in to bookmark experiments, guides and videos, and keep notes only you can see.

Continue to sign in

We’ll bring you back to this listing.