Make open-weight models hosted on OpenRouter usable in Theia AI. OpenRouter exposes an
OpenAI-compatible API, so it works today through the existing OpenAI custom endpoint preference
(ai-features.openAiCustom.customOpenAiModels) with no code changes. This sub-issue verifies that
path, tests the candidate models, and documents the setup. Less urgent than Hugging Face, since we
do not have an OpenRouter account yet.
Setup
- Create an OpenRouter account (https://openrouter.ai/) and get an API key. Give it an expiration
date and use it only for testing. Do not use sensitive data in the test cases.
- Add an entry to the
ai-features.openAiCustom.customOpenAiModels preference:
- Configure an agent to use this model (by its
id), then start a chat.
What to test
Look up model ids on the OpenRouter models list (https://openrouter.ai/models). Test the candidate
models and record for each:
- Does a basic chat response work?
- Does tool calling work (try with Coder on a prompt that triggers a tool)?
- Does it need
supportsStructuredOutput: false?
Candidate models (confirm exact slugs):
- GLM (
z-ai/glm-5.2)
- Gemma 4 (
google/gemma-4-31b-it)
- A recent Qwen coding model (e.g.
qwen/qwen3-coder, confirm the latest)
- A Kimi model (
moonshotai/kimi-k2)
Deliverables
- A working OpenRouter configuration in Theia (the customOpenAiModels entry).
- An assessment of which models work for which agents, covering chat, tool calling, and structured
output.
- Setup documentation so users can reproduce it.
- Findings reported in the parent issue.
Make open-weight models hosted on OpenRouter usable in Theia AI. OpenRouter exposes an
OpenAI-compatible API, so it works today through the existing OpenAI custom endpoint preference
(
ai-features.openAiCustom.customOpenAiModels) with no code changes. This sub-issue verifies thatpath, tests the candidate models, and documents the setup. Less urgent than Hugging Face, since we
do not have an OpenRouter account yet.
Setup
date and use it only for testing. Do not use sensitive data in the test cases.
ai-features.openAiCustom.customOpenAiModelspreference:id), then start a chat.What to test
Look up model ids on the OpenRouter models list (https://openrouter.ai/models). Test the candidate
models and record for each:
supportsStructuredOutput: false?Candidate models (confirm exact slugs):
z-ai/glm-5.2)google/gemma-4-31b-it)qwen/qwen3-coder, confirm the latest)moonshotai/kimi-k2)Deliverables
output.