OpenRouter
OpenRouter provides unified access to multiple AI models through an OpenAI API compatible RESTful endpoint, including models from OpenAI, Anthropic, Google, and Meta.
Chat Modelβ
OpenRouter provides an OpenAI-compatible chat API interface.
~/.tabby/config.toml
[model.chat.http]
kind = "openai/chat"
model_name = "openai/gpt-4" # Can be any model from https://openrouter.ai/models
api_endpoint = "https://openrouter.ai/api/v1"
api_key = "your-api-key"
Completion Modelβ
OpenRouter does not offer completion models (FIM) through their API.
Embeddings Modelβ
OpenRouter does not offer embeddings models through their API.
Supported Modelsβ
For a complete list of supported models, visit OpenRouter's Model List.