Files
victor 6c4a0f7ac5 feat(opencode): add Gemini, Mistral, Qwen3, BGE-M3, Cohere and Voyage embedding models (#14148)
* feat(opencode): add Gemini, Mistral, Qwen3, BGE-M3, Cohere and Voyage embedding models

* fix(opencode): serve the Gemini embedding models through OpenRouter
2026-11-20 10:25:53 +01:00

17 lines
594 B
TOML

# Endpoint (OpenAI Embeddings): POST https://opencode.ai/inference/openai/v1/embeddings, served through Zen's
# mistral-embeddings endpoint by Mistral's codestral-embed.
# Pricing: what Zen bills for this model, the upstream's price (https://mistral.ai/pricing#api-pricing).
schema = 2
v2_only = true
base_model = "mistral/codestral-embed-2505"
[api.embeddings]
base_url = "https://opencode.ai/inference/openai/v1"
sdk = { aisdk = "@ai-sdk/openai-compatible", opencodeai = "@opencode/ai/providers/openai-compatible/embeddings" }
[cost.text.input]
price = 0.15
[cost.text.output]
price = 0