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.

Bookmark: Jev Model Router Keep this in your collection.
Leave a noteWhat would you try with this? : Jev Model Router

Only you can see your notes.

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.

Your note

Only you can see this. Clear the text and save to remove it.

Keep what you save

Sign in to keep bookmarks and private notes on every device. We email you a link; there is no password, and the same link creates your account.